SHOW:
|
|
- or go back to the newest paste.
1 | ------------------- | |
2 | --Brutal Overlord-- | |
3 | --------------------------------- | |
4 | - | --By CKbackup (Sugarie Saffron)-- |
4 | + | --By CKbackup (Sugarie Saffron) by edit 5mzazatv -- |
5 | --------------------------------- | |
6 | ||
7 | wait(1/60) | |
8 | Effects = { } | |
9 | local Player = game:service'Players'.localPlayer | |
10 | local chara = Player.Character | |
11 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
12 | local Mouse = Player:GetMouse() | |
13 | local LeftArm = chara["Left Arm"] | |
14 | local RightArm = chara["Right Arm"] | |
15 | local LeftLeg = chara["Left Leg"] | |
16 | local RightLeg = chara["Right Leg"] | |
17 | local Head = chara.Head | |
18 | local Torso = chara.Torso | |
19 | local RootPart = chara.HumanoidRootPart | |
20 | local RootJoint = RootPart.RootJoint | |
21 | local attack = false | |
22 | local Anim = 'Idle' | |
23 | local attacktype = 1 | |
24 | local delays = false | |
25 | local play = true | |
26 | local targetted = nil | |
27 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
28 | local velocity = RootPart.Velocity.y | |
29 | local sine = 0 | |
30 | local change = 1 | |
31 | local doe = 0 | |
32 | local heddo = nil | |
33 | local grabhead = false | |
34 | local armo = nil | |
35 | local grabhand = false | |
36 | local Create = LoadLibrary("RbxUtility").Create | |
37 | Humanoid.WalkSpeed = 8 | |
38 | ||
39 | kkk = Instance.new("Sound",chara) | |
40 | kkk.Volume = 1 | |
41 | kkk.PlaybackSpeed = 1 | |
42 | kkk.Pitch = 1 | |
43 | kkk.SoundId = "rbxassetid://798464853" | |
44 | kkk:Play() | |
45 | kkk.Name = "a" | |
46 | kkk.Looped = true | |
47 | ||
48 | Humanoid.Animator.Parent = nil | |
49 | chara.Animate.Parent = nil | |
50 | ||
51 | local newMotor = function(part0, part1, c0, c1) | |
52 | local w = Create('Motor'){ | |
53 | Parent = part0, | |
54 | Part0 = part0, | |
55 | Part1 = part1, | |
56 | C0 = c0, | |
57 | C1 = c1, | |
58 | } | |
59 | return w | |
60 | end | |
61 | ||
62 | function clerp(a, b, t) | |
63 | return a:lerp(b, t) | |
64 | end | |
65 | ||
66 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
67 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
68 | ||
69 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
70 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
71 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
72 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
73 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
74 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
75 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
76 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
77 | ||
78 | ||
79 | local rarmc1 = RW.C1 | |
80 | local larmc1 = LW.C1 | |
81 | local rlegc1 = RH.C1 | |
82 | local llegc1 = LH.C1 | |
83 | ||
84 | local resetc1 = false | |
85 | ||
86 | function PlayAnimationFromTable(table, speed, bool) | |
87 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
88 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
89 | RW.C0 = clerp(RW.C0, table[3], speed) | |
90 | LW.C0 = clerp(LW.C0, table[4], speed) | |
91 | RH.C0 = clerp(RH.C0, table[5], speed) | |
92 | LH.C0 = clerp(LH.C0, table[6], speed) | |
93 | if bool == true then | |
94 | if resetc1 == false then | |
95 | resetc1 = true | |
96 | RootJoint.C1 = RootJoint.C1 | |
97 | Torso.Neck.C1 = Torso.Neck.C1 | |
98 | RW.C1 = rarmc1 | |
99 | LW.C1 = larmc1 | |
100 | RH.C1 = rlegc1 | |
101 | LH.C1 = llegc1 | |
102 | end | |
103 | end | |
104 | end | |
105 | ||
106 | ||
107 | ArtificialHB = Instance.new("BindableEvent", script) | |
108 | ArtificialHB.Name = "Heartbeat" | |
109 | script:WaitForChild("Heartbeat") | |
110 | frame = 0.03333333333333 | |
111 | tf = 0 | |
112 | allowframeloss = false | |
113 | tossremainder = false | |
114 | lastframe = tick() | |
115 | script.Heartbeat:Fire() | |
116 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
117 | tf = tf + s | |
118 | if tf >= frame then | |
119 | if allowframeloss then | |
120 | script.Heartbeat:Fire() | |
121 | lastframe = tick() | |
122 | else | |
123 | for i = 1, math.floor(tf / frame) do | |
124 | script.Heartbeat:Fire() | |
125 | end | |
126 | lastframe = tick() | |
127 | end | |
128 | if tossremainder then | |
129 | tf = 0 | |
130 | else | |
131 | tf = tf - frame * math.floor(tf / frame) | |
132 | end | |
133 | end | |
134 | end) | |
135 | function swait(num) | |
136 | if num == 0 or num == nil then | |
137 | ArtificialHB.Event:wait() | |
138 | else | |
139 | for i = 0, num do | |
140 | ArtificialHB.Event:wait() | |
141 | end | |
142 | end | |
143 | end | |
144 | ||
145 | function RemoveOutlines(part) | |
146 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
147 | end | |
148 | ||
149 | ||
150 | CFuncs = { | |
151 | ["Part"] = { | |
152 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
153 | local Part = Create("Part"){ | |
154 | Parent = Parent, | |
155 | Reflectance = Reflectance, | |
156 | Transparency = Transparency, | |
157 | CanCollide = false, | |
158 | Locked = true, | |
159 | BrickColor = BrickColor.new(tostring(BColor)), | |
160 | Name = Name, | |
161 | Size = Size, | |
162 | Material = Material, | |
163 | } | |
164 | RemoveOutlines(Part) | |
165 | return Part | |
166 | end; | |
167 | }; | |
168 | ||
169 | ["Mesh"] = { | |
170 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
171 | local Msh = Create(Mesh){ | |
172 | Parent = Part, | |
173 | Offset = OffSet, | |
174 | Scale = Scale, | |
175 | } | |
176 | if Mesh == "SpecialMesh" then | |
177 | Msh.MeshType = MeshType | |
178 | Msh.MeshId = MeshId | |
179 | end | |
180 | return Msh | |
181 | end; | |
182 | }; | |
183 | ||
184 | ["Mesh"] = { | |
185 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
186 | local Msh = Create(Mesh){ | |
187 | Parent = Part, | |
188 | Offset = OffSet, | |
189 | Scale = Scale, | |
190 | } | |
191 | if Mesh == "SpecialMesh" then | |
192 | Msh.MeshType = MeshType | |
193 | Msh.MeshId = MeshId | |
194 | end | |
195 | return Msh | |
196 | end; | |
197 | }; | |
198 | ||
199 | ["Weld"] = { | |
200 | Create = function(Parent, Part0, Part1, C0, C1) | |
201 | local Weld = Create("Weld"){ | |
202 | Parent = Parent, | |
203 | Part0 = Part0, | |
204 | Part1 = Part1, | |
205 | C0 = C0, | |
206 | C1 = C1, | |
207 | } | |
208 | return Weld | |
209 | end; | |
210 | }; | |
211 | ||
212 | ["ParticleEmitter"] = { | |
213 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
214 | local fp = Create("ParticleEmitter"){ | |
215 | Parent = Parent, | |
216 | Color = ColorSequence.new(Color1, Color2), | |
217 | LightEmission = LightEmission, | |
218 | Size = Size, | |
219 | Texture = Texture, | |
220 | Transparency = Transparency, | |
221 | ZOffset = ZOffset, | |
222 | Acceleration = Accel, | |
223 | Drag = Drag, | |
224 | LockedToPart = LockedToPart, | |
225 | VelocityInheritance = VelocityInheritance, | |
226 | EmissionDirection = EmissionDirection, | |
227 | Enabled = Enabled, | |
228 | Lifetime = LifeTime, | |
229 | Rate = Rate, | |
230 | Rotation = Rotation, | |
231 | RotSpeed = RotSpeed, | |
232 | Speed = Speed, | |
233 | VelocitySpread = VelocitySpread, | |
234 | } | |
235 | return fp | |
236 | end; | |
237 | }; | |
238 | ||
239 | CreateTemplate = { | |
240 | ||
241 | }; | |
242 | } | |
243 | ||
244 | ||
245 | function so(id,par,pit,vol) | |
246 | local sou = Instance.new("Sound", par or workspace) | |
247 | if par == chara then | |
248 | sou.Parent = chara.Torso | |
249 | end | |
250 | sou.Volume = vol | |
251 | sou.Pitch = pit or 1 | |
252 | sou.SoundId = "rbxassetid://" .. id | |
253 | sou.PlayOnRemove = true | |
254 | sou:Destroy() | |
255 | end | |
256 | ||
257 | New = function(Object, Parent, Name, Data) | |
258 | local Object = Instance.new(Object) | |
259 | for Index, Value in pairs(Data or {}) do | |
260 | Object[Index] = Value | |
261 | end | |
262 | Object.Parent = Parent | |
263 | Object.Name = Name | |
264 | return Object | |
265 | end | |
266 | ||
267 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
268 | local fira = Instance.new("ParticleEmitter",part) | |
269 | fira.Name = name | |
270 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
271 | fira.Size = size | |
272 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
273 | fira.Transparency = trans | |
274 | fira.Lifetime = life | |
275 | fira.EmissionDirection = face | |
276 | fira.Rate = 10000 | |
277 | fira.RotSpeed = NumberRange.new(100) | |
278 | fira.Rotation = NumberRange.new(0,360) | |
279 | fira.Speed = speed | |
280 | fira.VelocitySpread = velsp | |
281 | fira.Acceleration = accel | |
282 | fira.LockedToPart = lock | |
283 | return fira | |
284 | end | |
285 | ||
286 | Wings = New("Model",chara,"Wings",{}) | |
287 | MainPart = New("Part",Wings,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
288 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,}) | |
289 | Wing1Part = New("Part",Wings,"Wing1Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943),}) | |
290 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
291 | Weld = New("ManualWeld",Wing1Part,"Weld",{Part0 = Wing1Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
292 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093),}) | |
293 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
294 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
295 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695),}) | |
296 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
297 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
298 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462e-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332),}) | |
299 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
300 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462e-12, -0.707109571, 0.707109332),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
301 | ||
302 | Halo = New("Model",chara,"Halo",{}) | |
303 | AHaloPart = New("Part",Halo,"AHaloPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999973, 5.50001764, -16.4999981, 1.00000644, 0, 1.25170106e-06, 0, 1, 0, 1.22189874e-06, 0, 1.00000715),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
304 | HaWeld = New("ManualWeld",AHaloPart,"HaWeld",{Part0 = AHaloPart,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),C1 = CFrame.new(-1.90734863e-06, 1.00000906, 1.33514404e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
305 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071625, 5.50001764, -16.0999889, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
306 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(0.692829132, 0, 0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
307 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.285759, 5.50001764, -15.8871527, 0.76605016, 0, 0.642795265, 0, 1, 0, -0.642793238, 0, 0.766053021),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
308 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.766044378, 0, -0.642788231, 0, 1, 0, 0.642788351, 0, 0.766044497),C1 = CFrame.new(0.514234543, 0, 0.612840652, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
309 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736217, 5.50001764, -17.2517643, 0.939700842, 0, 0.342024595, 0, 1, 0, -0.342021763, 0, 0.939702868),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
310 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.939693093, 0, -0.342019916, 0, 1, 0, 0.342020094, 0, 0.939693153),C1 = CFrame.new(-0.273622513, 0, -0.751760483, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
311 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928379, 5.50001764, -16.9000072, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
312 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(-0.692834854, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
313 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928265, 5.50001764, -16.0999737, -0.500008047, 0, 0.866034508, 0, 1, 0, -0.866037786, 0, -0.500004828),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
314 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000477, 0, -0.866025746, 0, 1, 0, 0.866025627, 0, -0.500000358),C1 = CFrame.new(-0.692825317, 0, 0.400022507, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
315 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.5878544, 5.50001764, -16.6389122, 0.173646897, 0, 0.984815121, 0, 1, 0, -0.984815359, 0, 0.173649639),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
316 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808564, 0, 1, 0, 0.984808564, 0, 0.173647195),C1 = CFrame.new(-0.787851334, 0, -0.138912201, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
317 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.5263824, 5.50001764, -17.2517605, -0.939701259, 0, 0.342020363, 0, 1, 0, -0.342023492, 0, -0.93970114),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
318 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.93969363, 0, -0.34201926, 0, 1, 0, 0.342019081, 0, -0.93969363),C1 = CFrame.new(0.273614883, 0, -0.751756668, 1.00000119, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000131),}) | |
319 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121346, 5.50001764, -16.6389122, -0.173651725, 0, 0.984817922, 0, 1, 0, -0.984819889, 0, -0.173648074),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
320 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648179, 0, -0.984808624, 0, 1, 0, 0.984808445, 0, -0.17364794),C1 = CFrame.new(0.787857056, 0, -0.138914108, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
321 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121384, 5.50001764, -16.3610725, 0.173646957, 0, 0.984817505, 0, 1, 0, -0.984817922, 0, 0.173650518),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
322 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808624, 0, 1, 0, 0.984808564, 0, 0.173647255),C1 = CFrame.new(0.787853241, 0, 0.138923645, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
323 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.2857647, 5.50001764, -17.1128464, -0.766056955, 0, 0.642793596, 0, 1, 0, -0.642798543, 0, -0.766054869),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
324 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(0.514230728, 0, -0.612844467, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
325 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071663, 5.50001764, -16.9000053, -0.500009298, 0, 0.866035819, 0, 1, 0, -0.866039753, 0, -0.500005484),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
326 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000715, 0, -0.866026103, 0, 1, 0, 0.866025865, 0, -0.500000477),C1 = CFrame.new(0.692827225, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
327 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.3142319, 5.50001764, -15.8871336, -0.766055584, 0, 0.642793, 0, 1, 0, -0.642797172, 0, -0.766053736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
328 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(-0.514232635, 0, 0.61286068, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
329 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736103, 5.50001764, -15.7482185, -0.939703703, 0, 0.34202081, 0, 1, 0, -0.342024893, 0, -0.939703524),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
330 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.939693749, 0, -0.342019379, 0, 1, 0, 0.342019081, 0, -0.939693689),C1 = CFrame.new(-0.273612976, 0, 0.751774788, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
331 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.587862, 5.50001764, -16.3610744, -0.173652977, 0, 0.984820604, 0, 1, 0, -0.984823227, 0, -0.17364794),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
332 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648298, 0, -0.984808683, 0, 1, 0, 0.984808445, 0, -0.17364791),C1 = CFrame.new(-0.787858963, 0, 0.138923645, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
333 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999992, 5.50001764, -17.3000011, 1.00001216, 0, 2.29479861e-06, 0, 1, 0, 2.29479883e-06, 0, 1.00001347),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
334 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 1.00000072, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000083),C1 = CFrame.new(0, 0, -0.79999733, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
335 | Horns = New("Part",Halo,"Horns",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-18.7999992, 5.72899342, -16.4698296, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
336 | Mesh = New("SpecialMesh",Horns,"Mesh",{Scale = Vector3.new(1.08000004, 1, 1),VertexColor = Vector3.new(-1, -1, -1),MeshId = "http://www.roblox.com/asset/?id=71494804",TextureId = "http://www.roblox.com/asset/?id=71494779",MeshType = Enum.MeshType.FileMesh,}) | |
337 | Weld = New("ManualWeld",Horns,"Weld",{Part0 = Horns,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.22898483, -0.0301551819, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
338 | for i,v in pairs(Halo:children()) do | |
339 | if v:IsA("BasePart") then | |
340 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
341 | end | |
342 | end | |
343 | coroutine.wrap(function() | |
344 | while true do | |
345 | swait() | |
346 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
347 | end | |
348 | end)() | |
349 | ||
350 | ||
351 | ||
352 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
353 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
354 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
355 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001,LightEmission = 1}) | |
356 | return TEff | |
357 | end | |
358 | ||
359 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
360 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
361 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
362 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
363 | ||
364 | function rayCast(Position, Direction, Range, Ignore) | |
365 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
366 | end | |
367 | ||
368 | function killmortal(dude,faws) | |
369 | local hah = dude:FindFirstChildOfClass("Humanoid") | |
370 | if hah and dude:FindFirstChild("Debawns")==nil and dude.Name ~= "Salvo_Starly" and dude.Name ~= "NoobyGames12" and dude.Name ~= "CKbackup" and dude.Name ~= "Nebula_Zorua" then | |
371 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
372 | if torsy then | |
373 | local val = Instance.new("BoolValue",dude) | |
374 | val.Name = "Debawns" | |
375 | game:service'Debris':AddItem(val,2) | |
376 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
377 | coroutine.wrap(function() | |
378 | for nn=1,math.random(4,6) do | |
379 | local bl = Instance.new("Part",dude) | |
380 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
381 | local randd = math.random(6,20)/10 | |
382 | bl.Size = Vector3.new(randd,.2,randd) | |
383 | bl.BrickColor = BrickColor.new("Maroon") | |
384 | bl.Material = "Granite" | |
385 | local clm = Instance.new("CylinderMesh",bl) | |
386 | coroutine.wrap(function() | |
387 | swait(120) | |
388 | for i=0,1,.01 do | |
389 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
390 | swait() | |
391 | end | |
392 | bl:Destroy() | |
393 | end)() | |
394 | end | |
395 | end)() | |
396 | end | |
397 | hah:TakeDamage(math.random(30,35)) | |
398 | end | |
399 | end | |
400 | ||
401 | function mdmg(Part, Magnitude, HitType) | |
402 | for _, c in pairs(workspace:GetDescendants()) do | |
403 | local hum = c:FindFirstChildOfClass("Humanoid") | |
404 | if hum ~= nil then | |
405 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
406 | if head ~= nil then | |
407 | local targ = head.Position - Part.Position | |
408 | local mag = targ.magnitude | |
409 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
410 | if c.Name ~= chara then | |
411 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
412 | local val = Instance.new("BoolValue",c) | |
413 | val.Name = "MagDmgd" | |
414 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
415 | if HitType == "Blunt" then | |
416 | so(386946017,head,.95,3) | |
417 | elseif HitType == "Scream" then | |
418 | coroutine.wrap(function() | |
419 | local haed = c:FindFirstChild("Head") | |
420 | swait(3) | |
421 | so(206082327,haed,1,5) | |
422 | local passa = haed.Position | |
423 | haed:Destroy() | |
424 | createSplatter(passa) | |
425 | for i=1,15 do | |
426 | local bl = Instance.new("Part",head) | |
427 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
428 | local rand = math.random(2,7)/10 | |
429 | bl.Size = Vector3.new(rand,rand,rand) | |
430 | bl.BrickColor = BrickColor.new("Maroon") | |
431 | bl.Material = "Granite" | |
432 | end | |
433 | end)() | |
434 | elseif HitType == "Arm" then | |
435 | grabhand = false | |
436 | so(386946017,head,.95,3) | |
437 | armo:BreakJoints() | |
438 | local ar = armo | |
439 | coroutine.wrap(function() | |
440 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
441 | swait(2) | |
442 | ar.CanCollide = true | |
443 | swait(60) | |
444 | for i=0,1,.05 do | |
445 | swait() | |
446 | ar.Transparency = i | |
447 | end | |
448 | ar.Parent:Destroy() | |
449 | end)() | |
450 | armo = nil | |
451 | elseif HitType == "Shot" then | |
452 | so(144884872,head,.9,3) | |
453 | game:service'Debris':AddItem(val,.05) | |
454 | end | |
455 | killmortal(c,10) | |
456 | else | |
457 | end | |
458 | end | |
459 | end | |
460 | end | |
461 | end | |
462 | end | |
463 | end | |
464 | ||
465 | --[[FindNearestTorso = function(pos) | |
466 | local list = (game.workspace:GetDescendants()) | |
467 | local torso = nil | |
468 | local dist = 1000 | |
469 | local temp, human, temp2 = nil, nil, nil | |
470 | for x = 1, #list do | |
471 | temp2 = list[x] | |
472 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
473 | temp = temp2:findFirstChild("Torso") | |
474 | human = temp2:FindFirstChildOfClass("Humanoid") | |
475 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
476 | local dohit = true | |
477 | if dohit == true then | |
478 | torso = temp | |
479 | dist = (temp.Position - pos).magnitude | |
480 | end | |
481 | end | |
482 | end | |
483 | end | |
484 | return torso, dist | |
485 | end]] | |
486 | ||
487 | ||
488 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
489 | if SinglePlayer then | |
490 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
491 | end | |
492 | local List = {} | |
493 | for i, v in pairs(workspace:GetDescendants()) do | |
494 | if v:IsA("Model") then | |
495 | if v:findFirstChild("Head") then | |
496 | if v ~= chara then | |
497 | if (v.Head.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 | ||
507 | ||
508 | --Chat Function-- | |
509 | function chatfunc(text) | |
510 | coroutine.wrap(function() | |
511 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
512 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
513 | end | |
514 | local naeeym2 = Instance.new("BillboardGui",chara) | |
515 | naeeym2.Size = UDim2.new(0,100,0,40) | |
516 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
517 | naeeym2.Adornee = chara.Head | |
518 | naeeym2.Name = "TalkingBillBoard" | |
519 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
520 | tecks2.BackgroundTransparency = 1 | |
521 | tecks2.BorderSizePixel = 0 | |
522 | tecks2.Text = "" | |
523 | tecks2.Font = "Fantasy" | |
524 | tecks2.FontSize = "Size24" | |
525 | tecks2.TextStrokeTransparency = 0 | |
526 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
527 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
528 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
529 | local shk = coroutine.wrap(function() | |
530 | while tecks2 ~= nil do | |
531 | swait(.05) | |
532 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
533 | end | |
534 | end) | |
535 | shk() | |
536 | for i = 1,string.len(text),1 do | |
537 | tecks2.Text = string.sub(text,1,i) | |
538 | swait(0.01) | |
539 | end | |
540 | swait(30) | |
541 | for i = 1, 5 do | |
542 | swait() | |
543 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
544 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
545 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
546 | end | |
547 | naeeym2:Destroy() | |
548 | end)() | |
549 | end | |
550 | ||
551 | ||
552 | ||
553 | ||
554 | EffectModel = Create("Model"){ | |
555 | Parent = chara, | |
556 | Name = "Effects", | |
557 | } | |
558 | ||
559 | ||
560 | Effects = { | |
561 | Block = { | |
562 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
563 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
564 | prt.Anchored = true | |
565 | prt.CFrame = cframe | |
566 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
567 | game:GetService("Debris"):AddItem(prt, 10) | |
568 | if Type == 1 or Type == nil then | |
569 | table.insert(Effects, { | |
570 | prt, | |
571 | "Block1", | |
572 | delay, | |
573 | x3, | |
574 | y3, | |
575 | z3, | |
576 | msh | |
577 | }) | |
578 | elseif Type == 2 then | |
579 | table.insert(Effects, { | |
580 | prt, | |
581 | "Block2", | |
582 | delay, | |
583 | x3, | |
584 | y3, | |
585 | z3, | |
586 | msh | |
587 | }) | |
588 | end | |
589 | end; | |
590 | }; | |
591 | ||
592 | Cylinder = { | |
593 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
594 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
595 | prt.Anchored = true | |
596 | prt.CFrame = cframe | |
597 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
598 | game:GetService("Debris"):AddItem(prt, 10) | |
599 | table.insert(Effects, { | |
600 | prt, | |
601 | "Cylinder", | |
602 | delay, | |
603 | x3, | |
604 | y3, | |
605 | z3, | |
606 | msh | |
607 | }) | |
608 | end; | |
609 | }; | |
610 | Head = { | |
611 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
612 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
613 | prt.Anchored = true | |
614 | prt.CFrame = cframe | |
615 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
616 | game:GetService("Debris"):AddItem(prt, 10) | |
617 | table.insert(Effects, { | |
618 | prt, | |
619 | "Cylinder", | |
620 | delay, | |
621 | x3, | |
622 | y3, | |
623 | z3, | |
624 | msh | |
625 | }) | |
626 | end; | |
627 | }; | |
628 | ||
629 | Sphere = { | |
630 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
631 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
632 | prt.Anchored = true | |
633 | prt.CFrame = cframe | |
634 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
635 | game:GetService("Debris"):AddItem(prt, 10) | |
636 | table.insert(Effects, { | |
637 | prt, | |
638 | "Cylinder", | |
639 | delay, | |
640 | x3, | |
641 | y3, | |
642 | z3, | |
643 | msh | |
644 | }) | |
645 | end; | |
646 | }; | |
647 | ||
648 | Elect = { | |
649 | Create = function(cff, x, y, z) | |
650 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
651 | prt.Anchored = true | |
652 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
653 | prt.CFrame = CFrame.new(prt.Position) | |
654 | game:GetService("Debris"):AddItem(prt, 2) | |
655 | local xval = math.random() / 2 | |
656 | local yval = math.random() / 2 | |
657 | local zval = math.random() / 2 | |
658 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
659 | table.insert(Effects, { | |
660 | prt, | |
661 | "Elec", | |
662 | 0.1, | |
663 | x, | |
664 | y, | |
665 | z, | |
666 | xval, | |
667 | yval, | |
668 | zval | |
669 | }) | |
670 | end; | |
671 | ||
672 | }; | |
673 | ||
674 | Ring = { | |
675 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
676 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
677 | prt.Anchored = true | |
678 | prt.CFrame = cframe | |
679 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
680 | game:GetService("Debris"):AddItem(prt, 10) | |
681 | table.insert(Effects, { | |
682 | prt, | |
683 | "Cylinder", | |
684 | delay, | |
685 | x3, | |
686 | y3, | |
687 | z3, | |
688 | msh | |
689 | }) | |
690 | end; | |
691 | }; | |
692 | ||
693 | ||
694 | Wave = { | |
695 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
696 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
697 | prt.Anchored = true | |
698 | prt.CFrame = cframe | |
699 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
700 | game:GetService("Debris"):AddItem(prt, 10) | |
701 | table.insert(Effects, { | |
702 | prt, | |
703 | "Cylinder", | |
704 | delay, | |
705 | x3, | |
706 | y3, | |
707 | z3, | |
708 | msh | |
709 | }) | |
710 | end; | |
711 | }; | |
712 | ||
713 | Break = { | |
714 | Create = function(brickcolor, cframe, x1, y1, z1) | |
715 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
716 | prt.Anchored = true | |
717 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
718 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
719 | local num = math.random(10, 50) / 1000 | |
720 | game:GetService("Debris"):AddItem(prt, 10) | |
721 | table.insert(Effects, { | |
722 | prt, | |
723 | "Shatter", | |
724 | num, | |
725 | prt.CFrame, | |
726 | math.random() - math.random(), | |
727 | 0, | |
728 | math.random(50, 100) / 100 | |
729 | }) | |
730 | end; | |
731 | }; | |
732 | ||
733 | Fire = { | |
734 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
735 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
736 | prt.Anchored = true | |
737 | prt.CFrame = cframe | |
738 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
739 | game:GetService("Debris"):AddItem(prt, 10) | |
740 | table.insert(Effects, { | |
741 | prt, | |
742 | "Fire", | |
743 | delay, | |
744 | 1, | |
745 | 1, | |
746 | 1, | |
747 | msh | |
748 | }) | |
749 | end; | |
750 | }; | |
751 | ||
752 | FireWave = { | |
753 | Create = function(brickcolor, cframe, x1, y1, z1) | |
754 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
755 | prt.Anchored = true | |
756 | prt.CFrame = cframe | |
757 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
758 | local d = Create("Decal"){ | |
759 | Parent = prt, | |
760 | Texture = "rbxassetid://26356434", | |
761 | Face = "Top", | |
762 | } | |
763 | local d = Create("Decal"){ | |
764 | Parent = prt, | |
765 | Texture = "rbxassetid://26356434", | |
766 | Face = "Bottom", | |
767 | } | |
768 | game:GetService("Debris"):AddItem(prt, 10) | |
769 | table.insert(Effects, { | |
770 | prt, | |
771 | "FireWave", | |
772 | 1, | |
773 | 30, | |
774 | math.random(400, 600) / 100, | |
775 | msh | |
776 | }) | |
777 | end; | |
778 | }; | |
779 | ||
780 | Lightning = { | |
781 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
782 | local magz = (p0 - p1).magnitude | |
783 | local curpos = p0 | |
784 | local trz = { | |
785 | -ofs, | |
786 | ofs | |
787 | } | |
788 | for i = 1, tym do | |
789 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
790 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
791 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
792 | li.Material = "Neon" | |
793 | if tym == i then | |
794 | local magz2 = (curpos - p1).magnitude | |
795 | li.Size = Vector3.new(th, th, magz2) | |
796 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
797 | table.insert(Effects, { | |
798 | li, | |
799 | "Disappear", | |
800 | last | |
801 | }) | |
802 | else | |
803 | do | |
804 | do | |
805 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
806 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
807 | game.Debris:AddItem(li, 10) | |
808 | table.insert(Effects, { | |
809 | li, | |
810 | "Disappear", | |
811 | last | |
812 | }) | |
813 | end | |
814 | end | |
815 | end | |
816 | end | |
817 | end | |
818 | }; | |
819 | ||
820 | EffectTemplate = { | |
821 | ||
822 | }; | |
823 | } | |
824 | ||
825 | ||
826 | local blpemit = Instance.new("ParticleEmitter") | |
827 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
828 | blpemit.Texture = "rbxassetid://233069772" | |
829 | blpemit.Transparency = NumberSequence.new(0,1) | |
830 | blpemit.Lifetime = NumberRange.new(1,3) | |
831 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
832 | blpemit.Enabled = true | |
833 | blpemit.EmissionDirection = "Front" | |
834 | blpemit.Speed = NumberRange.new(1,3) | |
835 | blpemit.Size = NumberSequence.new(.5) | |
836 | blpemit.Rate = 1000 | |
837 | blpemit.RotSpeed = NumberRange.new(50) | |
838 | blpemit.Rotation = NumberRange.new(0,360) | |
839 | ||
840 | function createSplatter(pos) | |
841 | local emit = Instance.new("Part",chara) | |
842 | emit.Anchored = true | |
843 | emit.CanCollide = false | |
844 | emit.Size = Vector3.new() | |
845 | emit.Transparency = 1 | |
846 | emit.CFrame = CFrame.new(pos) | |
847 | local blp = blpemit:Clone() | |
848 | blp.Parent = emit | |
849 | blp.Enabled = false | |
850 | blp.EmissionDirection = "Top" | |
851 | blp.VelocitySpread = 60 | |
852 | blp.Size = NumberSequence.new(2,0) | |
853 | blp.Lifetime = NumberRange.new(3) | |
854 | blp.Speed = NumberRange.new(10) | |
855 | blp.Acceleration = Vector3.new(0,-10,0) | |
856 | blp:Emit(math.random(35,40)) | |
857 | game:service'Debris':AddItem(emit,4) | |
858 | end | |
859 | ||
860 | function thenatsuki() | |
861 | attack = true | |
862 | Humanoid.WalkSpeed = 2 | |
863 | local grab = nil | |
864 | local torsy = nil | |
865 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
866 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
867 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
868 | grab = v | |
869 | end | |
870 | end | |
871 | if grab ~= nil and torsy ~= nil then | |
872 | Instance.new("BoolValue",grab).Name = "NATSUKID" | |
873 | so(200632136, RootPart, .8, 1) | |
874 | for i = 0,2,0.1 do | |
875 | swait() | |
876 | PlayAnimationFromTable({ | |
877 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
878 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
879 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
880 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
881 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
882 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
883 | }, .3, false) | |
884 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
885 | torsy.Velocity = Vector3.new() | |
886 | end | |
887 | local wel = Instance.new("Weld",grab.Head) | |
888 | wel.Part0 = torsy | |
889 | wel.Part1 = grab.Head | |
890 | wel.C0 = CFrame.new(0,1.5,0) | |
891 | local bledp = Instance.new("Part",grab) | |
892 | bledp.Size = Vector3.new(0,0,0) | |
893 | bledp.Transparency = 1 | |
894 | bledp.CanCollide = false | |
895 | local blpe = blpemit:Clone() | |
896 | blpe.Parent = bledp | |
897 | blpe.EmissionDirection = "Top" | |
898 | blpe.VelocitySpread = 5 | |
899 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
900 | local bledw = Instance.new("Weld",bledp) | |
901 | bledw.Part0 = grab.Head | |
902 | bledw.Part1 = bledp | |
903 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
904 | so(314390675,torsy,.7,5) | |
905 | for i = 0, 1, 0.25 do | |
906 | swait() | |
907 | PlayAnimationFromTable({ | |
908 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
909 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
910 | CFrame.new(1.14925241, 0.936202288, -0.560600817, 0.834721982, 0.490812272, 0.249685481, 0.39564395, -0.219157442, -0.891872227, -0.383021295, 0.843251646, -0.377122372), | |
911 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
912 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
913 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
914 | }, .3, false) | |
915 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
916 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
917 | torsy.Velocity = Vector3.new() | |
918 | end | |
919 | for i=1,30 do | |
920 | swait() | |
921 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
922 | torsy.Velocity = Vector3.new() | |
923 | end | |
924 | killmortal(grab,20) | |
925 | end | |
926 | attack = false | |
927 | Humanoid.WalkSpeed = 8 | |
928 | end | |
929 | ||
930 | xhold = false | |
931 | function thesurou() | |
932 | attack = true | |
933 | Humanoid.WalkSpeed = 2 | |
934 | local grab = nil | |
935 | local torsy = nil | |
936 | local hum = nil | |
937 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
938 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
939 | hum = v:FindFirstChildOfClass("Humanoid") | |
940 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
941 | grab = v | |
942 | end | |
943 | end | |
944 | if grab ~= nil and torsy ~= nil then | |
945 | so(200632136, RootPart, .8, 1) | |
946 | for i = 0,1.5,0.1 do | |
947 | swait() | |
948 | PlayAnimationFromTable({ | |
949 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
950 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
951 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
952 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
953 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
954 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
955 | }, .3, false) | |
956 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
957 | torsy.Velocity = Vector3.new() | |
958 | end | |
959 | so(240429615, torsy, 1, 1) | |
960 | for i = 0, 1.5, 0.1 do | |
961 | swait() | |
962 | PlayAnimationFromTable({ | |
963 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
964 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
965 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
966 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
967 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
968 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
969 | }, .3, false) | |
970 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
971 | torsy.Velocity = Vector3.new() | |
972 | end | |
973 | repeat | |
974 | --for i = 0, 2, 0.1 do | |
975 | swait() | |
976 | PlayAnimationFromTable({ | |
977 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
978 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
979 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
980 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
981 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
982 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
983 | }, .3, false) | |
984 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
985 | hum.PlatformStand = true | |
986 | torsy.Velocity = Vector3.new() | |
987 | --end | |
988 | until xhold == false | |
989 | so(200632136, RootPart, .9, 1) | |
990 | local pato = Instance.new("Part",torsy) | |
991 | pato.CFrame = torsy.CFrame | |
992 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
993 | pato.Transparency = 1 | |
994 | pato.CanCollide = false | |
995 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
996 | local werudo = Instance.new("Weld",pato) | |
997 | werudo.Part0 = pato | |
998 | werudo.Part1 = torsy | |
999 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
1000 | torsy.RotVelocity = Vector3.new(10,10,10) | |
1001 | coroutine.wrap(function() | |
1002 | while true do | |
1003 | swait() | |
1004 | hum.PlatformStand = true | |
1005 | end | |
1006 | end) | |
1007 | pato.Touched:connect(function(hit) | |
1008 | if hit:IsDescendantOf(chara)==false then | |
1009 | pato:Destroy() | |
1010 | killmortal(grab,5) | |
1011 | so(260430079,torsy,1,5) | |
1012 | createSplatter(torsy.Position) | |
1013 | mdmg(torsy,3,"Blunt") | |
1014 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1015 | end | |
1016 | end) | |
1017 | end | |
1018 | for i = 0, 1, 0.1 do | |
1019 | swait() | |
1020 | PlayAnimationFromTable({ | |
1021 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1022 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1023 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1024 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1025 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1026 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1027 | }, .3, false) | |
1028 | end | |
1029 | attack = false | |
1030 | Humanoid.WalkSpeed = 8 | |
1031 | end | |
1032 | ||
1033 | function thehead() | |
1034 | attack = true | |
1035 | Humanoid.WalkSpeed = 2 | |
1036 | local grab = nil | |
1037 | local torsy = nil | |
1038 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1039 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1040 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1041 | grab = v | |
1042 | end | |
1043 | end | |
1044 | if grab ~= nil and torsy ~= nil then | |
1045 | so(200632136, RootPart, .8, 1) | |
1046 | for i = 0,2,0.1 do | |
1047 | swait() | |
1048 | PlayAnimationFromTable({ | |
1049 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1050 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1051 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
1052 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
1053 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
1054 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
1055 | }, .3, false) | |
1056 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1057 | torsy.Velocity = Vector3.new() | |
1058 | end | |
1059 | local armmod = Instance.new("Model",chara) | |
1060 | armmod.Name = grab.Name | |
1061 | Instance.new("Humanoid",armmod).Health = 0 | |
1062 | for i, v in pairs(grab:GetChildren()) do | |
1063 | if v:IsA("Accoutrement") then | |
1064 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1065 | v.Handle.AccessoryWeld.Part1 = nil | |
1066 | end | |
1067 | end | |
1068 | end | |
1069 | local armp = grab:FindFirstChild("Head") | |
1070 | createSplatter(armp.Position) | |
1071 | killmortal(grab,5) | |
1072 | armp.Parent = armmod | |
1073 | for i, v in pairs(grab:GetChildren()) do | |
1074 | if v:IsA("Accoutrement") then | |
1075 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1076 | v.Handle.AccessoryWeld.Part1 = armp | |
1077 | v.Parent = armmod | |
1078 | end | |
1079 | end | |
1080 | end | |
1081 | so(206082327,armp,1,5) | |
1082 | local bledp = Instance.new("Part",grab) | |
1083 | bledp.Size = Vector3.new(0,0,0) | |
1084 | bledp.Transparency = 1 | |
1085 | bledp.CanCollide = false | |
1086 | local blpe = blpemit:Clone() | |
1087 | blpe.Parent = bledp | |
1088 | blpe.EmissionDirection = "Top" | |
1089 | blpe.VelocitySpread = 20 | |
1090 | local wel = Instance.new("Weld",armp) | |
1091 | wel.Part0 = RightArm | |
1092 | wel.Part1 = armp | |
1093 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
1094 | local blape = bledp:Clone() | |
1095 | blape.Parent = armmod | |
1096 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1097 | local bledw = Instance.new("Weld",bledp) | |
1098 | bledw.Part0 = torsy | |
1099 | bledw.Part1 = bledp | |
1100 | bledw.C0 = CFrame.new(0,1,0) | |
1101 | local bledw2 = Instance.new("Weld",blape) | |
1102 | bledw2.Part0 = armp | |
1103 | bledw2.Part1 = blape | |
1104 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1105 | grabhead = true | |
1106 | heddo = armp | |
1107 | for i = 0, 1, 0.25 do | |
1108 | swait() | |
1109 | PlayAnimationFromTable({ | |
1110 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
1111 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
1112 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1113 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
1114 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
1115 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
1116 | }, .3, false) | |
1117 | end | |
1118 | swait(30) | |
1119 | end | |
1120 | attack = false | |
1121 | Humanoid.WalkSpeed = 8 | |
1122 | end | |
1123 | ||
1124 | function headthrow() | |
1125 | attack = true | |
1126 | Humanoid.WalkSpeed = 2 | |
1127 | for i = 0, 2, 0.1 do | |
1128 | swait() | |
1129 | PlayAnimationFromTable({ | |
1130 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1131 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1132 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1133 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1134 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1135 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1136 | }, .3, false) | |
1137 | end | |
1138 | so(200632136, RootPart, .8, 1) | |
1139 | local haea = heddo | |
1140 | haea.Weld:Destroy() | |
1141 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1142 | haea.RotVelocity = Vector3.new(10,10,10) | |
1143 | haea.Touched:connect(function(hit) | |
1144 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1145 | print("BOOBIES") | |
1146 | Instance.new("BoolValue",haea).Name = "HITA" | |
1147 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1148 | killmortal(hit.Parent,50) | |
1149 | so(386946017,haea,.95,5) | |
1150 | swait(120) | |
1151 | for i=0,1,.05 do | |
1152 | haea.Transparency = i | |
1153 | swait() | |
1154 | end | |
1155 | haea.Parent:Destroy() | |
1156 | end | |
1157 | end) | |
1158 | heddo = nil | |
1159 | grabhead = false | |
1160 | for i = 0, 1, 0.1 do | |
1161 | swait() | |
1162 | PlayAnimationFromTable({ | |
1163 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1164 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1165 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1166 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1167 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1168 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1169 | }, .3, false) | |
1170 | end | |
1171 | attack = false | |
1172 | Humanoid.WalkSpeed = 8 | |
1173 | end | |
1174 | ||
1175 | function therip() | |
1176 | attack = true | |
1177 | Humanoid.WalkSpeed = 2 | |
1178 | local grab = nil | |
1179 | local torsy = nil | |
1180 | local hum = nil | |
1181 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1182 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1183 | hum = v:FindFirstChildOfClass("Humanoid") | |
1184 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1185 | grab = v | |
1186 | end | |
1187 | end | |
1188 | if grab ~= nil and torsy ~= nil then | |
1189 | so(200632136, RootPart, .8, 1) | |
1190 | for i = 0,1.5,0.1 do | |
1191 | swait() | |
1192 | PlayAnimationFromTable({ | |
1193 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1194 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1195 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1196 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1197 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1198 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1199 | }, .3, false) | |
1200 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1201 | torsy.Velocity = Vector3.new() | |
1202 | end | |
1203 | so(240429615, torsy, 1, 1) | |
1204 | for i = 0, 1.5, 0.1 do | |
1205 | swait() | |
1206 | PlayAnimationFromTable({ | |
1207 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1208 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1209 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1210 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1211 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1212 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1213 | }, .3, false) | |
1214 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1215 | torsy.Velocity = Vector3.new() | |
1216 | end | |
1217 | for i = 0, 3, 0.1 do | |
1218 | swait() | |
1219 | PlayAnimationFromTable({ | |
1220 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1221 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1222 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1223 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1224 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1225 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1226 | }, .3, false) | |
1227 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
1228 | hum.PlatformStand = true | |
1229 | torsy.Velocity = Vector3.new() | |
1230 | end | |
1231 | so(206082327,torsy,1,5) | |
1232 | createSplatter(torsy.Position) | |
1233 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
1234 | local lleg = grab:FindFirstChild("Left Leg") | |
1235 | local rleg = grab:FindFirstChild("Right Leg") | |
1236 | local mad = Instance.new("Model",workspace) | |
1237 | Instance.new("Humanoid",mad).Health = 0 | |
1238 | mad.Humanoid.MaxHealth = 0 | |
1239 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end | |
1240 | killmortal(grab,0) | |
1241 | coroutine.wrap(function() | |
1242 | swait(4) | |
1243 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
1244 | lleg.Parent = mad | |
1245 | rleg.Parent = mad | |
1246 | lleg.CanCollide = true | |
1247 | rleg.CanCollide = true | |
1248 | lleg:BreakJoints() | |
1249 | rleg:BreakJoints() | |
1250 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
1251 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
1252 | local bledp = Instance.new("Part",mad) | |
1253 | bledp.Size = Vector3.new(0,0,0) | |
1254 | bledp.Transparency = 1 | |
1255 | bledp.CanCollide = false | |
1256 | local blpe = blpemit:Clone() | |
1257 | blpe.Parent = bledp | |
1258 | blpe.EmissionDirection = "Top" | |
1259 | blpe.VelocitySpread = 20 | |
1260 | local bledp2 = bledp:Clone() | |
1261 | bledp2.Parent = mad | |
1262 | local blape = bledp:Clone() | |
1263 | blape.Parent = mad | |
1264 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1265 | blape.Size = Vector3.new(1.5,0,0) | |
1266 | local bledw = Instance.new("Weld",bledp) | |
1267 | bledw.Part0 = lleg | |
1268 | bledw.Part1 = bledp | |
1269 | bledw.C0 = CFrame.new(0,1,0) | |
1270 | local bledw2 = Instance.new("Weld",blape) | |
1271 | bledw2.Part0 = torsy | |
1272 | bledw2.Part1 = blape | |
1273 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1274 | local bledw3 = Instance.new("Weld",bledp2) | |
1275 | bledw.Part0 = rleg | |
1276 | bledw.Part1 = bledp2 | |
1277 | bledw.C0 = CFrame.new(0,1,0) | |
1278 | game:service'Debris':AddItem(mad,15) | |
1279 | end)() | |
1280 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
1281 | local hip = grab:FindFirstChild("LowerTorso") | |
1282 | local lleg = grab:FindFirstChild("LeftUpperLeg") | |
1283 | local rleg = grab:FindFirstChild("RightUpperLeg") | |
1284 | --for i,v in pairs(grab:children()) do | |
1285 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end | |
1286 | --end | |
1287 | killmortal(grab,0) | |
1288 | coroutine.wrap(function() | |
1289 | swait(2) | |
1290 | hip:Destroy() | |
1291 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
1292 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
1293 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
1294 | local bledp = Instance.new("Part",torsy.Parent) | |
1295 | bledp.Size = Vector3.new(0,0,0) | |
1296 | bledp.Transparency = 1 | |
1297 | bledp.CanCollide = false | |
1298 | local blpe = blpemit:Clone() | |
1299 | blpe.Parent = bledp | |
1300 | blpe.EmissionDirection = "Top" | |
1301 | blpe.VelocitySpread = 20 | |
1302 | local bledp2 = bledp:Clone() | |
1303 | bledp2.Parent = torsy.Parent | |
1304 | local blape = bledp:Clone() | |
1305 | blape.Parent = torsy.Parent | |
1306 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1307 | blape.Size = Vector3.new(1.5,0,0) | |
1308 | local bledw = Instance.new("Weld",bledp) | |
1309 | bledw.Part0 = lleg | |
1310 | bledw.Part1 = bledp | |
1311 | bledw.C0 = CFrame.new(0,1,0) | |
1312 | local bledw2 = Instance.new("Weld",blape) | |
1313 | bledw2.Part0 = torsy | |
1314 | bledw2.Part1 = blape | |
1315 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1316 | local bledw3 = Instance.new("Weld",bledp2) | |
1317 | bledw.Part0 = rleg | |
1318 | bledw.Part1 = bledp2 | |
1319 | bledw.C0 = CFrame.new(0,1,0) | |
1320 | end)() | |
1321 | --hip:BreakJoints() | |
1322 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
1323 | end | |
1324 | for i = 0, 2, 0.1 do | |
1325 | swait() | |
1326 | PlayAnimationFromTable({ | |
1327 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1328 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1329 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
1330 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
1331 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1332 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1333 | }, .3, false) | |
1334 | end | |
1335 | end | |
1336 | attack = false | |
1337 | Humanoid.WalkSpeed = 8 | |
1338 | end | |
1339 | ||
1340 | function thecrush() | |
1341 | attack = true | |
1342 | Humanoid.WalkSpeed = 0 | |
1343 | local grab = nil | |
1344 | local torsy = nil | |
1345 | local heddo = nil | |
1346 | local hum = nil | |
1347 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1348 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1349 | hum = v:FindFirstChildOfClass("Humanoid") | |
1350 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1351 | heddo = v:FindFirstChild("Head") | |
1352 | grab = v | |
1353 | end | |
1354 | end | |
1355 | if grab ~= nil and torsy ~= nil then | |
1356 | so(200632136, RootPart, .8, 1) | |
1357 | for i = 0,1.5,0.1 do | |
1358 | swait() | |
1359 | PlayAnimationFromTable({ | |
1360 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1361 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1362 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1363 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1364 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1365 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1366 | }, .3, false) | |
1367 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1368 | torsy.Velocity = Vector3.new() | |
1369 | end | |
1370 | so(240429615, torsy, 1, 1) | |
1371 | if torsy.Name == "UpperTorso" then | |
1372 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1373 | else | |
1374 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1375 | end | |
1376 | heddo.Anchored = true | |
1377 | for i = 0, 1.5, 0.1 do | |
1378 | swait() | |
1379 | PlayAnimationFromTable({ | |
1380 | CFrame.new(0, 0, 0, 0.866025567, 3.5521316e-07, 0.500010252, 4.93042535e-06, 1.00000048, -7.94596781e-06, -0.50000006, -9.23901825e-06, 0.866042376), | |
1381 | CFrame.new(0.021950826, 1.50780511, -0.243860856, 0.852867603, 0.029702425, -0.521282434, 0.173647955, 0.925416946, 0.336825043, 0.492411494, -0.377797663, 0.784104764), | |
1382 | CFrame.new(0.956388712, -0.0409758762, -0.674532533, 0.766045928, 0.604021251, 0.219847187, -0.219834015, 0.567593455, -0.793417811, -0.604028642, 0.559465349, 0.567598879), | |
1383 | CFrame.new(-1.50000024, -1.14488239e-05, 8.18094031e-06, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1384 | CFrame.new(0.499976635, -1.99998999, 3.24696302e-05, 0.866025567, 4.93042535e-06, -0.50000006, 3.5521316e-07, 1.00000048, -9.23901825e-06, 0.500010252, -7.94596781e-06, 0.866042376), | |
1385 | CFrame.new(-0.500013709, -2.00000167, 3.48316753e-05, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1386 | }, .3, false) | |
1387 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1388 | --heddo.Velocity = Vector3.new() | |
1389 | --hum.PlatformStand = true | |
1390 | end | |
1391 | for i = 0, 3, 0.1 do | |
1392 | swait() | |
1393 | PlayAnimationFromTable({ | |
1394 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1395 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1396 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
1397 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1398 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1399 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1400 | }, .3, false) | |
1401 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1402 | --heddo.Velocity = Vector3.new() | |
1403 | --hum.PlatformStand = true | |
1404 | end | |
1405 | so(206082327,torsy,1,5) | |
1406 | killmortal(grab,0) | |
1407 | createSplatter(heddo.Position) | |
1408 | coroutine.wrap(function() | |
1409 | swait(3) | |
1410 | local passa = heddo.Position | |
1411 | heddo:Destroy() | |
1412 | for i=1,15 do | |
1413 | local bl = Instance.new("Part",torsy) | |
1414 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
1415 | local rand = math.random(2,7)/10 | |
1416 | bl.Size = Vector3.new(rand,rand,rand) | |
1417 | bl.BrickColor = BrickColor.new("Maroon") | |
1418 | bl.Material = "Granite" | |
1419 | end | |
1420 | end)() | |
1421 | for i = 0, 3, 0.1 do | |
1422 | swait() | |
1423 | PlayAnimationFromTable({ | |
1424 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1425 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
1426 | CFrame.new(1.52320361, 0.359808356, 2.34974073e-06, 0.86602509, -0.500000656, -3.33671437e-07, 0.500000715, 0.86602509, 2.08616257e-07, 1.78813934e-07, -3.87430191e-07, 1), | |
1427 | CFrame.new(-1.5232048, 0.359810114, 2.34974073e-06, 0.86602509, 0.500000656, 3.33671437e-07, -0.500000715, 0.86602509, 2.08616257e-07, -1.78813934e-07, -3.87430191e-07, 1), | |
1428 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1429 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1430 | }, .4, false) | |
1431 | end | |
1432 | end | |
1433 | attack = false | |
1434 | Humanoid.WalkSpeed = 8 | |
1435 | end | |
1436 | ||
1437 | function thehand() | |
1438 | attack = true | |
1439 | Humanoid.WalkSpeed = 2 | |
1440 | local grab = nil | |
1441 | local torsy = nil | |
1442 | local totear = nil | |
1443 | local hum = nil | |
1444 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1445 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1446 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1447 | grab = v | |
1448 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm") | |
1449 | hum = v:FindFirstChildOfClass("Humanoid") | |
1450 | end | |
1451 | end | |
1452 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
1453 | so(200632136, RootPart, .8, 1) | |
1454 | for i = 0,2,0.1 do | |
1455 | swait() | |
1456 | PlayAnimationFromTable({ | |
1457 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1458 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1459 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
1460 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
1461 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1462 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1463 | }, .3, false) | |
1464 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1465 | torsy.Velocity = Vector3.new() | |
1466 | end | |
1467 | so(206082327,totear,1,5) | |
1468 | local bledp = Instance.new("Part",grab) | |
1469 | bledp.Size = Vector3.new(0,0,0) | |
1470 | bledp.Transparency = 1 | |
1471 | bledp.CanCollide = false | |
1472 | local blpe = blpemit:Clone() | |
1473 | blpe.Parent = bledp | |
1474 | blpe.EmissionDirection = "Left" | |
1475 | local armmod = Instance.new("Model",chara) | |
1476 | armmod.Name = "TornArmdd" | |
1477 | Instance.new("Humanoid",armmod).MaxHealth = 0 | |
1478 | for _, v in pairs(grab:GetChildren()) do | |
1479 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then | |
1480 | v:Clone().Parent = armmod | |
1481 | end | |
1482 | end | |
1483 | local armp = totear | |
1484 | createSplatter(totear.Position) | |
1485 | armp:BreakJoints() | |
1486 | armp.Parent = armmod | |
1487 | so("206082327",armp,1,1) | |
1488 | local wel = Instance.new("Weld",armp) | |
1489 | wel.Part0 = RightArm | |
1490 | wel.Part1 = armp | |
1491 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1492 | local blape = bledp:Clone() | |
1493 | blape.Parent = armmod | |
1494 | local bledw = Instance.new("Weld",bledp) | |
1495 | bledw.Part0 = torsy | |
1496 | bledw.Part1 = bledp | |
1497 | local bledw2 = Instance.new("Weld",blape) | |
1498 | bledw2.Part0 = armp | |
1499 | bledw2.Part1 = blape | |
1500 | bledw.C0 = CFrame.new(1,.5,0) | |
1501 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
1502 | blpe.EmissionDirection = "Right" | |
1503 | grabhand = true | |
1504 | armo = armp | |
1505 | coroutine.wrap(function() | |
1506 | local currhp = hum.Health | |
1507 | for i=1,currhp do | |
1508 | if hum.Health > 0 then | |
1509 | hum.Health = currhp - (i-1) | |
1510 | swait(3) | |
1511 | end | |
1512 | end | |
1513 | if hum.Health > 0 then | |
1514 | killmortal(grab,0) | |
1515 | end | |
1516 | end)() | |
1517 | for i = 0, 1, 0.25 do | |
1518 | swait() | |
1519 | PlayAnimationFromTable({ | |
1520 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
1521 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
1522 | CFrame.new(1.50001729, 0.492406696, 0.0868175104, 0.642792583, -0.766034186, -7.97212124e-07, -0.133019835, -0.111618251, -0.984808207, 0.754396439, 0.633027494, -0.173645109), | |
1523 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
1524 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
1525 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
1526 | }, .3, false) | |
1527 | end | |
1528 | swait(30) | |
1529 | end | |
1530 | attack = false | |
1531 | Humanoid.WalkSpeed = 8 | |
1532 | end | |
1533 | ||
1534 | function armthrow() | |
1535 | attack = true | |
1536 | Humanoid.WalkSpeed = 2 | |
1537 | for i = 0, 2, 0.1 do | |
1538 | swait() | |
1539 | PlayAnimationFromTable({ | |
1540 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1541 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1542 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1543 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1544 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1545 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1546 | }, .3, false) | |
1547 | end | |
1548 | so(200632136, RootPart, .8, 1) | |
1549 | local haea = armo | |
1550 | haea.Weld:Destroy() | |
1551 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1552 | haea.RotVelocity = Vector3.new(10,10,10) | |
1553 | haea.Touched:connect(function(hit) | |
1554 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1555 | print("BOOBIES") | |
1556 | Instance.new("BoolValue",haea).Name = "HITA" | |
1557 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1558 | killmortal(hit.Parent,50) | |
1559 | so(386946017,haea,.95,5) | |
1560 | swait(120) | |
1561 | for i=0,1,.05 do | |
1562 | haea.Transparency = i | |
1563 | swait() | |
1564 | end | |
1565 | haea.Parent:Destroy() | |
1566 | end | |
1567 | end) | |
1568 | armo = nil | |
1569 | grabhand = false | |
1570 | for i = 0, 1, 0.1 do | |
1571 | swait() | |
1572 | PlayAnimationFromTable({ | |
1573 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1574 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1575 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1576 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1577 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1578 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1579 | }, .3, false) | |
1580 | end | |
1581 | attack = false | |
1582 | Humanoid.WalkSpeed = 8 | |
1583 | end | |
1584 | ||
1585 | function smek() | |
1586 | attack = true | |
1587 | for i=0,1,.2 do | |
1588 | swait() | |
1589 | PlayAnimationFromTable({ | |
1590 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
1591 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
1592 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
1593 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
1594 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
1595 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
1596 | }, .3, false) | |
1597 | end | |
1598 | Humanoid.WalkSpeed = 2 | |
1599 | so(536642316,armo,1,1) | |
1600 | for i=0,1,.1 do | |
1601 | swait() | |
1602 | PlayAnimationFromTable({ | |
1603 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1604 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1605 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
1606 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
1607 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
1608 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
1609 | }, .3, false) | |
1610 | if armo ~= nil then | |
1611 | mdmg(armo,3,"Arm") | |
1612 | end | |
1613 | end | |
1614 | swait(5) | |
1615 | Humanoid.WalkSpeed = 8 | |
1616 | attack = false | |
1617 | end | |
1618 | ||
1619 | function dash() | |
1620 | attack = true | |
1621 | so("235097614",Torso,3,1) | |
1622 | so("75356820",Torso,2,1) | |
1623 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05) | |
1624 | PlayAnimationFromTable({ | |
1625 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999998331, 0, 0, 0, 0.999998331) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-35), 0, 0), | |
1626 | CFrame.new(0, 1.49999368, 8.34463322E-7, 1, 0, 0, 0, 0.999998033, -2.38418579E-7, 0, 2.38418579E-7, 0.999998033) * CFrame.Angles(math.rad(15), 0, 0), | |
1627 | CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--CFrame.new(1.52564752, 0.0095030535, 0.16884166, 0.786316156, -0.464979529, -0.406817913, 0.489593357, 0.87058723, -0.0487444215, 0.376835734, -0.160846859, 0.912207723) * CFrame.new(0, 0.05 * math.cos(sine / 16), 0) * CFrame.Angles(0, 0, math.rad(3.5 * math.cos(sine / 16))), | |
1628 | CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1629 | CFrame.new(0.49999693, -1.99999774, -8.94069672E-8, 0.965925872, 3.7422879E-7, -0.258818924, 0.0449429974, 0.984807849, 0.167731062, 0.254886955, -0.173647881, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1630 | CFrame.new(-0.486001939, -1.31615341, 0.112926364, 1.00000167, 1.25169754E-6, -1.87754631E-6, 8.64267349E-7, 0.573579729, 0.819149494, -4.61935997E-7, -0.819151759, 0.573578417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1631 | },1,false) | |
1632 | for i = 1, 5 do | |
1633 | for _, v in pairs(chara:children()) do | |
1634 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1635 | do | |
1636 | local p = v:clone() | |
1637 | p.Name = "trail" | |
1638 | p.Parent = EffectModel | |
1639 | p.Transparency = 0.5 | |
1640 | p.Anchored = true | |
1641 | p.BrickColor = BrickColor.new("Really red") | |
1642 | p.Material = "Neon" | |
1643 | p:BreakJoints() | |
1644 | p.CanCollide = false | |
1645 | if v == Head then | |
1646 | for a, b in pairs(p:children()) do | |
1647 | if b:IsA("Sound") then | |
1648 | b:Destroy() | |
1649 | end | |
1650 | end | |
1651 | end | |
1652 | coroutine.resume(coroutine.create(function() | |
1653 | for i = 1, 50 do | |
1654 | swait() | |
1655 | p.Transparency = i / 50 | |
1656 | end | |
1657 | p:Destroy() | |
1658 | end)) | |
1659 | end | |
1660 | end | |
1661 | if v.className == "Accessory" then | |
1662 | end | |
1663 | end | |
1664 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
1665 | swait() | |
1666 | end | |
1667 | attack = false | |
1668 | end | |
1669 | ||
1670 | function scream() | |
1671 | attack = true | |
1672 | Humanoid.WalkSpeed = 0 | |
1673 | for i=0,1,.1 do | |
1674 | swait() | |
1675 | PlayAnimationFromTable({ | |
1676 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
1677 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
1678 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
1679 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
1680 | CFrame.new(0.696960211, -2.04165077, 0.395629227, 0.984807849, -0.173647985, 0, 0.163175747, 0.925416768, 0.342019916, -0.0593910627, -0.336823881, 0.939692736), | |
1681 | CFrame.new(-0.696963668, -2.04164839, 0.395628393, 0.984807849, 0.173647985, 0, -0.163175747, 0.925416768, 0.342019916, 0.0593910627, -0.336823881, 0.939692736), | |
1682 | }, .3, false) | |
1683 | end | |
1684 | so(51322486,Torso,.5,5) | |
1685 | so(90696602,Torso,.5,5) | |
1686 | for i=1,120 do | |
1687 | mdmg(Torso,20,"Scream") | |
1688 | Effects.Ring.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 1, 1, 0, 2, 2, .2, 0.05) | |
1689 | Effects.Wave.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.random(-50,50),0), 1, 0, 1, 2, .1, 2, 0.05) | |
1690 | swait() | |
1691 | end | |
1692 | Humanoid.WalkSpeed = 8 | |
1693 | attack = false | |
1694 | end | |
1695 | ||
1696 | function handcrack() | |
1697 | attack = true | |
1698 | Humanoid.WalkSpeed = 0 | |
1699 | for i=0,1,.1 do | |
1700 | swait() | |
1701 | PlayAnimationFromTable({ | |
1702 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1703 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1704 | CFrame.new(0.849929154, 0.669377863, -0.285191476, 0.133021966, 0.754403889, 0.642790735, 0.989228785, -0.0610861331, -0.133022368, -0.0610869862, 0.65356195, -0.754403949), | |
1705 | CFrame.new(-0.949649334, 0.569002092, -0.378571123, -0, -0.866025269, -0.500000298, -0.984807849, 0.0868240297, -0.150383547, 0.173647985, 0.492404163, -0.852868497), | |
1706 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1707 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1708 | }, .3, false) | |
1709 | end | |
1710 | so(240428955,Head,1,5) | |
1711 | swait(10) | |
1712 | Humanoid.WalkSpeed = 8 | |
1713 | attack = false | |
1714 | end | |
1715 | ||
1716 | function getoverhere() | |
1717 | attack = true | |
1718 | local dude = Mouse.Target.Parent | |
1719 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
1720 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then | |
1721 | Humanoid.WalkSpeed = 0 | |
1722 | for i=0,1,.1 do | |
1723 | swait() | |
1724 | PlayAnimationFromTable({ | |
1725 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
1726 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1727 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
1728 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1729 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
1730 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1731 | }, .3, false) | |
1732 | end | |
1733 | so(743521497,RightArm,1,1) | |
1734 | coroutine.wrap(function() | |
1735 | for i=0,1,.1 do | |
1736 | swait() | |
1737 | PlayAnimationFromTable({ | |
1738 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
1739 | CFrame.new(1.78813934e-06, 1.52555692, -0.222144455, 0.342020005, -1.01929949e-08, -0.939692736, 0.321392, 0.939693451, 0.116977029, 0.883023024, -0.342018187, 0.321393877), | |
1740 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
1741 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
1742 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
1743 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
1744 | }, .4, false) | |
1745 | end | |
1746 | end)() | |
1747 | so(138092011,Head,1,1) | |
1748 | local spikeh = Instance.new("Part",chara) | |
1749 | spikeh.CFrame = Torso.CFrame | |
1750 | spikeh.Size = Vector3.new(.5,.5,1) | |
1751 | spikeh.Material = "Metal" | |
1752 | spikeh.CanCollide = false | |
1753 | spikeh.Anchored = true | |
1754 | spikeh.BrickColor = BrickColor.new("Crimson") | |
1755 | local blast = Instance.new("Part",EffectModel) | |
1756 | blast.Size = Vector3.new(0,1,1) | |
1757 | blast.Transparency = 1 | |
1758 | blast.Anchored = true | |
1759 | blast.CanCollide = false | |
1760 | blast.CFrame = Torso.CFrame | |
1761 | local meh = Instance.new("SpecialMesh",spikeh) | |
1762 | meh.MeshType = "Wedge" | |
1763 | meh.Offset = Vector3.new(0,0,-1) | |
1764 | meh.Scale = Vector3.new(1,2,2) | |
1765 | local tex1 = Instance.new("Texture",blast) | |
1766 | tex1.Face = "Right" | |
1767 | tex1.Texture = "rbxassetid://187946416" | |
1768 | tex1.Color3 = Color3.new(1,0,0) | |
1769 | local tex2 = tex1:Clone() | |
1770 | tex2.Parent = blast | |
1771 | tex2.Face = "Left" | |
1772 | local origpos = Vector3.new() | |
1773 | for i=0,1,.1 do | |
1774 | swait() | |
1775 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1776 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
1777 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
1778 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1779 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1780 | end | |
1781 | local staypos = torsy.CFrame | |
1782 | so(154965973,spikeh,.7,2) | |
1783 | createSplatter(torsy.Position) | |
1784 | for i=1,30 do | |
1785 | swait() | |
1786 | torsy.CFrame = staypos | |
1787 | end | |
1788 | coroutine.wrap(function() | |
1789 | for i=0,1,.1 do | |
1790 | swait() | |
1791 | PlayAnimationFromTable({ | |
1792 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1793 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1794 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1795 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1796 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1797 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1798 | }, .4, false) | |
1799 | end | |
1800 | end)() | |
1801 | so(28144425,RightArm,.265,2) | |
1802 | for i=0,3,.1 do | |
1803 | swait() | |
1804 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1805 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
1806 | torsy.Velocity = Vector3.new(0,0,0) | |
1807 | spikeh.CFrame = torsy.CFrame | |
1808 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1809 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
1810 | end | |
1811 | spikeh:Destroy() | |
1812 | blast:Destroy() | |
1813 | Humanoid.WalkSpeed = 8 | |
1814 | end | |
1815 | attack = false | |
1816 | end | |
1817 | ||
1818 | local notallowed={ | |
1819 | "Right Arm", | |
1820 | "Left Arm", | |
1821 | "Right Leg", | |
1822 | "Left Leg", | |
1823 | "Head", | |
1824 | "HumanoidRootPart", | |
1825 | "Torso", | |
1826 | "LeftFoot", | |
1827 | "LeftHand", | |
1828 | "LeftLowerArm", | |
1829 | "LeftUpperArm", | |
1830 | "LeftUpperLeg", | |
1831 | "LeftLowerLeg", | |
1832 | "RightFoot", | |
1833 | "RightHand", | |
1834 | "RightLowerArm", | |
1835 | "RightUpperArm", | |
1836 | "RightUpperLeg", | |
1837 | "RightLowerLeg", | |
1838 | "LowerTorso", | |
1839 | "UpperTorso", | |
1840 | } | |
1841 | ||
1842 | function grabobj() | |
1843 | attack = true | |
1844 | Humanoid.WalkSpeed = 2 | |
1845 | local grab = nil | |
1846 | local torsy = nil | |
1847 | local totear = nil | |
1848 | local hum = nil | |
1849 | local targ = Mouse.Target | |
1850 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then | |
1851 | for i,v in pairs(notallowed) do | |
1852 | if targ.Name == v then | |
1853 | Humanoid.WalkSpeed = 8 | |
1854 | attack = false | |
1855 | return | |
1856 | end | |
1857 | end | |
1858 | totear = targ | |
1859 | end | |
1860 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
1861 | --if totear ~= nil then | |
1862 | --totear = v | |
1863 | --end | |
1864 | --end | |
1865 | if totear ~= nil then | |
1866 | so(200632136, RootPart, .8, 1) | |
1867 | for i = 0,1,.1 do | |
1868 | swait() | |
1869 | PlayAnimationFromTable({ | |
1870 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1871 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1872 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1873 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1874 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1875 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1876 | }, .3, false) | |
1877 | end | |
1878 | so(200632136, RootPart, .8, 1) | |
1879 | for i = 0,1,.1 do | |
1880 | swait() | |
1881 | PlayAnimationFromTable({ | |
1882 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1883 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1884 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1885 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1886 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1887 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1888 | }, .3, false) | |
1889 | end | |
1890 | so(200632136, RootPart, .8, 1) | |
1891 | local armmod = Instance.new("Model",chara) | |
1892 | armmod.Name = "PickedUp" | |
1893 | local armp = totear | |
1894 | armp:BreakJoints() | |
1895 | armp.Parent = armmod | |
1896 | local wel = Instance.new("Weld",armp) | |
1897 | wel.Part0 = RightArm | |
1898 | wel.Part1 = armp | |
1899 | wel.C0 = CFrame.new(0,-1.5,0) | |
1900 | grabhand = true | |
1901 | armo = armp | |
1902 | end | |
1903 | attack = false | |
1904 | Humanoid.WalkSpeed = 8 | |
1905 | end | |
1906 | ||
1907 | ||
1908 | ||
1909 | Mouse.Button1Down:connect(function() | |
1910 | if attack == false then | |
1911 | if grabhead == true then | |
1912 | headthrow() | |
1913 | elseif grabhand == true then | |
1914 | smek() | |
1915 | -- else | |
1916 | -- if Anim == "Jump" or Anim == "Fall" then | |
1917 | -- --asmek() | |
1918 | -- else | |
1919 | -- --smek() | |
1920 | -- end | |
1921 | end | |
1922 | end | |
1923 | end) | |
1924 | ||
1925 | local sprintt = 0 | |
1926 | ||
1927 | ||
1928 | Mouse.KeyDown:connect(function(k) | |
1929 | k = k:lower() | |
1930 | if attack == false then | |
1931 | if k == 'z' and grabhead == false and grabhand == false then | |
1932 | thenatsuki() | |
1933 | elseif k == 'x' and grabhead == false and grabhand == false then | |
1934 | xhold = true | |
1935 | thesurou() | |
1936 | elseif k == 'c' and grabhead == false and grabhand == false then | |
1937 | therip() | |
1938 | elseif k == 'v' and grabhead == false and grabhand == false then | |
1939 | thecrush() | |
1940 | elseif k == 'b' then | |
1941 | if grabhead == true then | |
1942 | headthrow() | |
1943 | else | |
1944 | thehead() | |
1945 | end | |
1946 | elseif k == 'n' then | |
1947 | if grabhand == true then | |
1948 | armthrow() | |
1949 | else | |
1950 | thehand() | |
1951 | end | |
1952 | elseif k == 'e' then | |
1953 | dash() | |
1954 | elseif k == 'q' then | |
1955 | getoverhere() | |
1956 | elseif k == 'g' then | |
1957 | handcrack() | |
1958 | elseif k == 'h' then | |
1959 | scream() | |
1960 | elseif k == 'r' then | |
1961 | if grabhand == true then | |
1962 | armthrow() | |
1963 | else | |
1964 | grabobj() | |
1965 | end | |
1966 | end | |
1967 | end | |
1968 | end) | |
1969 | ||
1970 | Mouse.KeyUp:connect(function(k) | |
1971 | k = k:lower() | |
1972 | if k == 'x' then | |
1973 | xhold = false | |
1974 | end | |
1975 | end) | |
1976 | ||
1977 | ||
1978 | coroutine.wrap(function() | |
1979 | while 1 do | |
1980 | swait() | |
1981 | if doe <= 360 then | |
1982 | doe = doe + 2 | |
1983 | else | |
1984 | doe = 0 | |
1985 | end | |
1986 | end | |
1987 | end)() | |
1988 | while true do | |
1989 | swait() | |
1990 | for i, v in pairs(chara:GetChildren()) do | |
1991 | if v:IsA("Part") then | |
1992 | v.Material = "SmoothPlastic" | |
1993 | elseif v:IsA("Accessory") then | |
1994 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1995 | end | |
1996 | end | |
1997 | while true do | |
1998 | swait() | |
1999 | if sprintt >= 1 then | |
2000 | sprintt = sprintt - 1 | |
2001 | end | |
2002 | ||
2003 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2004 | velocity = RootPart.Velocity.y | |
2005 | sine = sine + change | |
2006 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
2007 | if RootPart.Velocity.y > 1 and hit == nil then | |
2008 | Anim = "Jump" | |
2009 | if attack == false then | |
2010 | PlayAnimationFromTable({ | |
2011 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2012 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
2013 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2014 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2015 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2016 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
2017 | }, .3, false) | |
2018 | end | |
2019 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2020 | Anim = "Fall" | |
2021 | if attack == false then | |
2022 | PlayAnimationFromTable({ | |
2023 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
2024 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2025 | CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2026 | CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2027 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2028 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2029 | }, .3, false) | |
2030 | end | |
2031 | elseif Torsovelocity < 1 and hit ~= nil then | |
2032 | Anim = "Idle" | |
2033 | if attack == false then | |
2034 | change = 1 | |
2035 | PlayAnimationFromTable({ | |
2036 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
2037 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
2038 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
2039 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
2040 | CFrame.new(0.499998242, -1.99999988, 3.12924385e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2041 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2042 | }, .3, false) | |
2043 | end | |
2044 | elseif Torsovelocity > 2 and hit ~= nil then | |
2045 | Anim = "Walk" | |
2046 | if attack == false then | |
2047 | PlayAnimationFromTable({ | |
2048 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
2049 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2050 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2051 | CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2052 | 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), | |
2053 | 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), | |
2054 | }, .3, false) | |
2055 | end | |
2056 | end | |
2057 | if 0 < #Effects then | |
2058 | for e = 1, #Effects do | |
2059 | if Effects[e] ~= nil then | |
2060 | local Thing = Effects[e] | |
2061 | if Thing ~= nil then | |
2062 | local Part = Thing[1] | |
2063 | local Mode = Thing[2] | |
2064 | local Delay = Thing[3] | |
2065 | local IncX = Thing[4] | |
2066 | local IncY = Thing[5] | |
2067 | local IncZ = Thing[6] | |
2068 | if Thing[2] == "Shoot" then | |
2069 | local Look = Thing[1] | |
2070 | local move = 30 | |
2071 | if Thing[8] == 3 then | |
2072 | move = 10 | |
2073 | end | |
2074 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2075 | if Thing[10] ~= nil then | |
2076 | da = pos | |
2077 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2078 | cfa = CFrame.new(Thing[4], pos) | |
2079 | tehCF = cfa:lerp(cf2, 0.2) | |
2080 | Thing[1] = tehCF.lookVector | |
2081 | end | |
2082 | local mag = (Thing[4] - pos).magnitude | |
2083 | 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) | |
2084 | if Thing[8] == 2 then | |
2085 | 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) | |
2086 | end | |
2087 | Thing[4] = Thing[4] + Look * move | |
2088 | Thing[3] = Thing[3] - 1 | |
2089 | if 2 < Thing[5] then | |
2090 | Thing[5] = Thing[5] - 0.3 | |
2091 | Thing[6] = Thing[6] - 0.3 | |
2092 | end | |
2093 | if hit ~= nil then | |
2094 | Thing[3] = 0 | |
2095 | if Thing[8] == 1 or Thing[8] == 3 then | |
2096 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2097 | else | |
2098 | if Thing[8] == 2 then | |
2099 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2100 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
2101 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2102 | ref.Anchored = true | |
2103 | ref.CFrame = CFrame.new(pos) | |
2104 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2105 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2106 | 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) | |
2107 | 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) | |
2108 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2109 | end | |
2110 | end | |
2111 | end | |
2112 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2113 | ref.Anchored = true | |
2114 | ref.CFrame = CFrame.new(pos) | |
2115 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2116 | game:GetService("Debris"):AddItem(ref, 1) | |
2117 | end | |
2118 | if Thing[3] <= 0 then | |
2119 | table.remove(Effects, e) | |
2120 | end | |
2121 | end | |
2122 | do | |
2123 | do | |
2124 | if Thing[2] == "FireWave" then | |
2125 | if Thing[3] <= Thing[4] then | |
2126 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2127 | Thing[3] = Thing[3] + 1 | |
2128 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2129 | else | |
2130 | Part.Parent = nil | |
2131 | table.remove(Effects, e) | |
2132 | end | |
2133 | end | |
2134 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2135 | if Thing[1].Transparency <= 1 then | |
2136 | if Thing[2] == "Block1" then | |
2137 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2138 | Mesh = Thing[7] | |
2139 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2140 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2141 | else | |
2142 | if Thing[2] == "Block2" then | |
2143 | Thing[1].CFrame = Thing[1].CFrame | |
2144 | Mesh = Thing[7] | |
2145 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2146 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2147 | else | |
2148 | if Thing[2] == "Fire" then | |
2149 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2150 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2151 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2152 | else | |
2153 | if Thing[2] == "Cylinder" then | |
2154 | Mesh = Thing[7] | |
2155 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2156 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2157 | else | |
2158 | if Thing[2] == "Blood" then | |
2159 | Mesh = Thing[7] | |
2160 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2161 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2162 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2163 | else | |
2164 | if Thing[2] == "Elec" then | |
2165 | Mesh = Thing[10] | |
2166 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2167 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2168 | else | |
2169 | if Thing[2] == "Disappear" then | |
2170 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2171 | else | |
2172 | if Thing[2] == "Shatter" then | |
2173 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2174 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2175 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2176 | Thing[6] = Thing[6] + Thing[5] | |
2177 | end | |
2178 | end | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | end | |
2183 | end | |
2184 | end | |
2185 | else | |
2186 | Part.Parent = nil | |
2187 | table.remove(Effects, e) | |
2188 | end | |
2189 | end | |
2190 | end | |
2191 | end | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | end | |
2196 | end | |
2197 | end |