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