SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | - | --Fixed By basstracker1970-------- |
6 | + | local rp = RealPlayer |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | - | local Player = game:service'Players'.localPlayer |
11 | + | Event.Name = "UserInput_Event" |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | ||
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ||
145 | ||
146 | ----------------------- | |
147 | --Psychotic Genocider-- | |
148 | ------------------------------------------------------- | |
149 | --Psycho, and this edit by CKbackup (Sugarie Saffron)-- | |
150 | --Genocider, an edit of Psycho by Salvo_Starly--------- | |
151 | --Fixed By AxeuerAlt-------- | |
152 | ------------------------------------------------------- | |
153 | ||
154 | wait(1/60) | |
155 | Effects = { } | |
156 | local Player = owner | |
157 | local chara = Player.Character | |
158 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
159 | local Mouse = Player:GetMouse() | |
160 | local LeftArm = chara["Left Arm"] | |
161 | local RightArm = chara["Right Arm"] | |
162 | local LeftLeg = chara["Left Leg"] | |
163 | local RightLeg = chara["Right Leg"] | |
164 | local Head = chara.Head | |
165 | local Torso = chara.Torso | |
166 | local Camera = game.Workspace.CurrentCamera | |
167 | local RootPart = chara.HumanoidRootPart | |
168 | local RootJoint = RootPart.RootJoint | |
169 | local attack = false | |
170 | local Anim = 'Idle' | |
171 | local attacktype = 1 | |
172 | local delays = false | |
173 | local play = true | |
174 | local targetted = nil | |
175 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
176 | local velocity = RootPart.Velocity.y | |
177 | local sine = 0 | |
178 | local change = 1 | |
179 | local doe = 0 | |
180 | local Create = LoadLibrary("RbxUtility").Create | |
181 | Humanoid.WalkSpeed = 8 | |
182 | local m = Create("Model"){ | |
183 | Parent = chara, | |
184 | Name = "ThePistol", | |
185 | } | |
186 | ||
187 | --- | |
188 | ||
189 | Humanoid.Animator.Parent = nil | |
190 | chara.Animate.Parent = nil | |
191 | ||
192 | local newMotor = function(part0, part1, c0, c1) | |
193 | local w = Create('Motor'){ | |
194 | Parent = part0, | |
195 | Part0 = part0, | |
196 | Part1 = part1, | |
197 | C0 = c0, | |
198 | C1 = c1, | |
199 | } | |
200 | return w | |
201 | end | |
202 | ||
203 | function clerp(a, b, t) | |
204 | return a:lerp(b, t) | |
205 | end | |
206 | ||
207 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
208 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
209 | ||
210 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
211 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
212 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
213 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
214 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
215 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
216 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
217 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
218 | ||
219 | local rarmc1 = RW.C1 | |
220 | local larmc1 = LW.C1 | |
221 | local rlegc1 = RH.C1 | |
222 | local llegc1 = LH.C1 | |
223 | ||
224 | local resetc1 = false | |
225 | ||
226 | function PlayAnimationFromTable(table, speed, bool) | |
227 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
228 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
229 | RW.C0 = clerp(RW.C0, table[3], speed) | |
230 | LW.C0 = clerp(LW.C0, table[4], speed) | |
231 | RH.C0 = clerp(RH.C0, table[5], speed) | |
232 | LH.C0 = clerp(LH.C0, table[6], speed) | |
233 | if bool == true then | |
234 | if resetc1 == false then | |
235 | resetc1 = true | |
236 | RootJoint.C1 = RootJoint.C1 | |
237 | Torso.Neck.C1 = Torso.Neck.C1 | |
238 | RW.C1 = rarmc1 | |
239 | LW.C1 = larmc1 | |
240 | RH.C1 = rlegc1 | |
241 | LH.C1 = llegc1 | |
242 | end | |
243 | end | |
244 | end | |
245 | ||
246 | ArtificialHB = Instance.new("BindableEvent", script) | |
247 | ArtificialHB.Name = "Heartbeat" | |
248 | script:WaitForChild("Heartbeat") | |
249 | frame = 0.03333333333333 | |
250 | tf = 0 | |
251 | allowframeloss = false | |
252 | tossremainder = false | |
253 | lastframe = tick() | |
254 | script.Heartbeat:Fire() | |
255 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
256 | tf = tf + s | |
257 | if tf >= frame then | |
258 | if allowframeloss then | |
259 | script.Heartbeat:Fire() | |
260 | lastframe = tick() | |
261 | else | |
262 | for i = 1, math.floor(tf / frame) do | |
263 | script.Heartbeat:Fire() | |
264 | end | |
265 | lastframe = tick() | |
266 | end | |
267 | if tossremainder then | |
268 | tf = 0 | |
269 | else | |
270 | tf = tf - frame * math.floor(tf / frame) | |
271 | end | |
272 | end | |
273 | end) | |
274 | function swait(num) | |
275 | if num == 0 or num == nil then | |
276 | ArtificialHB.Event:wait() | |
277 | else | |
278 | for i = 0, num do | |
279 | ArtificialHB.Event:wait() | |
280 | end | |
281 | end | |
282 | end | |
283 | ||
284 | function RemoveOutlines(part) | |
285 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
286 | end | |
287 | ||
288 | --- | |
289 | CFuncs = { | |
290 | ["Part"] = { | |
291 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
292 | local Part = Create("Part"){ | |
293 | Parent = Parent, | |
294 | Reflectance = Reflectance, | |
295 | Transparency = Transparency, | |
296 | CanCollide = false, | |
297 | Locked = true, | |
298 | BrickColor = BrickColor.new(tostring(BColor)), | |
299 | Name = Name, | |
300 | Size = Size, | |
301 | Material = Material, | |
302 | } | |
303 | RemoveOutlines(Part) | |
304 | return Part | |
305 | end; | |
306 | }; | |
307 | ||
308 | ["Mesh"] = { | |
309 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
310 | local Msh = Create(Mesh){ | |
311 | Parent = Part, | |
312 | Offset = OffSet, | |
313 | Scale = Scale, | |
314 | } | |
315 | if Mesh == "SpecialMesh" then | |
316 | Msh.MeshType = MeshType | |
317 | Msh.MeshId = MeshId | |
318 | end | |
319 | return Msh | |
320 | end; | |
321 | }; | |
322 | ||
323 | ["Mesh"] = { | |
324 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
325 | local Msh = Create(Mesh){ | |
326 | Parent = Part, | |
327 | Offset = OffSet, | |
328 | Scale = Scale, | |
329 | } | |
330 | if Mesh == "SpecialMesh" then | |
331 | Msh.MeshType = MeshType | |
332 | Msh.MeshId = MeshId | |
333 | end | |
334 | return Msh | |
335 | end; | |
336 | }; | |
337 | ||
338 | ["Weld"] = { | |
339 | Create = function(Parent, Part0, Part1, C0, C1) | |
340 | local Weld = Create("Weld"){ | |
341 | Parent = Parent, | |
342 | Part0 = Part0, | |
343 | Part1 = Part1, | |
344 | C0 = C0, | |
345 | C1 = C1, | |
346 | } | |
347 | return Weld | |
348 | end; | |
349 | }; | |
350 | ||
351 | ["Sound"] = { | |
352 | Create = function(id, par, vol, pit) | |
353 | coroutine.resume(coroutine.create(function() | |
354 | local S = Create("Sound"){ | |
355 | Volume = vol, | |
356 | Pitch = pit or 1, | |
357 | SoundId = id, | |
358 | Parent = par or workspace, | |
359 | } | |
360 | swait() | |
361 | S:play() | |
362 | game:GetService("Debris"):AddItem(S, 6) | |
363 | end)) | |
364 | end; | |
365 | }; | |
366 | ||
367 | ["ParticleEmitter"] = { | |
368 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
369 | local fp = Create("ParticleEmitter"){ | |
370 | Parent = Parent, | |
371 | Color = ColorSequence.new(Color1, Color2), | |
372 | LightEmission = LightEmission, | |
373 | Size = Size, | |
374 | Texture = Texture, | |
375 | Transparency = Transparency, | |
376 | ZOffset = ZOffset, | |
377 | Acceleration = Accel, | |
378 | Drag = Drag, | |
379 | LockedToPart = LockedToPart, | |
380 | VelocityInheritance = VelocityInheritance, | |
381 | EmissionDirection = EmissionDirection, | |
382 | Enabled = Enabled, | |
383 | Lifetime = LifeTime, | |
384 | Rate = Rate, | |
385 | Rotation = Rotation, | |
386 | RotSpeed = RotSpeed, | |
387 | Speed = Speed, | |
388 | VelocitySpread = VelocitySpread, | |
389 | } | |
390 | return fp | |
391 | end; | |
392 | }; | |
393 | ||
394 | CreateTemplate = { | |
395 | ||
396 | }; | |
397 | } | |
398 | ||
399 | ||
400 | ||
401 | New = function(Object, Parent, Name, Data) | |
402 | local Object = Instance.new(Object) | |
403 | for Index, Value in pairs(Data or {}) do | |
404 | Object[Index] = Value | |
405 | end | |
406 | Object.Parent = Parent | |
407 | Object.Name = Name | |
408 | return Object | |
409 | end | |
410 | ||
411 | ||
412 | --ShadowHead = New("Part",chara,"ShadowHeadss",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
413 | --Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
414 | --Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
415 | ||
416 | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
417 | --- | |
418 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
419 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
420 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
421 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
422 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
423 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
424 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
425 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
426 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
427 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
428 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
429 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
430 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
431 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
432 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
433 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
434 | ||
435 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
436 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
437 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
438 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
439 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
440 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
441 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
442 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
443 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
444 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
445 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "rbxassetid://3270017",MeshType = Enum.MeshType.FileMesh,}) | |
446 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
447 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
448 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
449 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
450 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
451 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
452 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
453 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
454 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
455 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
456 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
457 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
458 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
459 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
460 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
461 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
462 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
463 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
464 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
465 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
466 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
467 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
468 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
469 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
470 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
471 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
472 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
473 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
474 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
475 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
476 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
477 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
478 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
479 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
480 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
481 | ||
482 | Knifu = New("Model",chara,"TheKnife",{}) | |
483 | Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(44.9000015, 1.0999999, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
484 | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
485 | Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
486 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 1.89999986, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
487 | ||
488 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
489 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
490 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(44.9000015, 2.90000057, 22.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
491 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
492 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.80000067, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
493 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 1.69999981, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
494 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
495 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
496 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 1.69999981, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
497 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
498 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
499 | BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 1.19999993, 0.600000024),CFrame = CFrame.new(44.9000015, 3.99999976, 22.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
500 | Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
501 | Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 2.89999986, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
502 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(44.9000015, 2.20000029, 22.1000004, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
503 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
504 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.10000038, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
505 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.600000083),CFrame = CFrame.new(44.9000015, 1.5, 21.8999977, -1, 0, 0, 0, -1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
506 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
507 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.300003052, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
508 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(44.9000015, 1.5, 22.3999996, 1, 0, 0, 0, -1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
509 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
510 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
511 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 1.89999986, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
512 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
513 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
514 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 2.0999999, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
515 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
516 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
517 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 2.0999999, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
518 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
519 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
520 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 2.29999995, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
521 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
522 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
523 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 2.29999995, 22.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
524 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
525 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
526 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(44.9000015, 2.10000038, 22.3000011, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
527 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
528 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
529 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 1.30000019, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
530 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
531 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
532 | Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000083, 0.200000003),CFrame = CFrame.new(44.9000015, 3.10000038, 22.1000004, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
533 | Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
534 | Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 2.00000048, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
535 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 1.10000014, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
536 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
537 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
538 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 1.50000024, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
539 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
540 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
541 | Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 3.00000024, 0.600000024),CFrame = CFrame.new(44.9000015, 3.0999999, 22.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
542 | Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 2, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
543 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 0.900000095, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
544 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
545 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
546 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(44.9000015, 2.70000029, 22.1000004, 1, 0, 0, 0, -1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
547 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
548 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.60000038, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
549 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(44.9000015, 3.30000019, 22.4000034, 1, 0, 0, 0, -1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
550 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
551 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 2.20000029, 0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
552 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(44.9000015, 3.30000067, 22.5000019, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
553 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
554 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.20000076, 0.300001144, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
555 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000006, 0.200000077),CFrame = CFrame.new(44.9000015, 1.80000007, 21.6999969, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
556 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
557 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.700000167, -0.500003815, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
558 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 2.30000043, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.666667, 0, 0.666667),}) | |
559 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.200000003, 0.5, 0.200000003),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
560 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
561 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(44.9000015, 0.700000286, 22.2000008, 1, 0, 0, 0, 1, 0, 0, 0, 1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.666667, 0, 0.666667),}) | |
562 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.5, 0.200000003),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
563 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.399999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
564 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(44.9000015, 2.9000001, 22.5000038, 1, 0, 0, 0, -1, 0, 0, 0, -1),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
565 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
566 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.80000019, 0.300003052, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
567 | ||
568 | local att1 = Instance.new("Attachment",Hitbox) | |
569 | att1.Position = Vector3.new(0,Hitbox.Size.Y/2,Hitbox.Size.Z/2) | |
570 | local att2 = Instance.new("Attachment",Hitbox) | |
571 | att2.Position = Vector3.new(0,-Hitbox.Size.Y/2,-Hitbox.Size.Z/2) | |
572 | local tr1 = Instance.new("Trail",Hitbox) | |
573 | tr1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
574 | tr1.Transparency = NumberSequence.new(0,1) | |
575 | tr1.Lifetime = .5 | |
576 | tr1.Enabled = false | |
577 | tr1.LightEmission = 1 | |
578 | tr1.Attachment0 = att1 | |
579 | tr1.Attachment1 = att2 | |
580 | ||
581 | for _,v in pairs(m:children()) do | |
582 | if v:IsA("Part") then | |
583 | v.CanCollide = false | |
584 | end | |
585 | end | |
586 | if chara.Name == "grgrgry21" or chara.Name == "Player1" then | |
587 | for _,v in pairs(chara:children()) do | |
588 | if v:IsA("Accessory") then | |
589 | v:Remove() | |
590 | end | |
591 | end | |
592 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
593 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "rbxassetid://62246019",MeshType = Enum.MeshType.FileMesh,}) | |
594 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "rbxassetid://146022204",}) | |
595 | mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
596 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),}) | |
597 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "rbxassetid://62246019",MeshType = Enum.MeshType.FileMesh,}) | |
598 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
599 | ||
600 | chara.Shirta.ShirtTemplate = "rbxassetid://1049388163" | |
601 | chara.Pantsa.PantsTemplate = "rbxassetid://1269870713" | |
602 | for i,v in pairs(chara:GetDescendants()) do | |
603 | if v:IsA("BasePart") and (v.BrickColor == BrickColor.new("Alder") or v.BrickColor == BrickColor.new("Royal purple")) then | |
604 | v.BrickColor = BrickColor.new("Crimson") | |
605 | elseif v:IsA("BasePart") and v.BrickColor == BrickColor.new("Institutional white") then | |
606 | v.BrickColor = BrickColor.new("Really black") | |
607 | elseif v.Name == "SpecPart" or v.Name == "Ears1Part" then | |
608 | v:Destroy() | |
609 | elseif v.Name == "Ears2Part" then | |
610 | v.Transparency = 0 | |
611 | end | |
612 | end | |
613 | end | |
614 | ||
615 | ||
616 | function rayCast(Position, Direction, Range, Ignore) | |
617 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
618 | end | |
619 | ||
620 | --[[FindNearestTorso = function(pos) | |
621 | local list = (game.workspace:GetDescendants()) | |
622 | local torso = nil | |
623 | local dist = 1000 | |
624 | local temp, human, temp2 = nil, nil, nil | |
625 | for x = 1, #list do | |
626 | temp2 = list[x] | |
627 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
628 | temp = temp2:findFirstChild("Torso") | |
629 | human = temp2:FindFirstChildOfClass("Humanoid") | |
630 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
631 | local dohit = true | |
632 | if dohit == true then | |
633 | torso = temp | |
634 | dist = (temp.Position - pos).magnitude | |
635 | end | |
636 | end | |
637 | end | |
638 | end | |
639 | return torso, dist | |
640 | end]] | |
641 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
642 | if SinglePlayer then | |
643 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
644 | end | |
645 | local List = {} | |
646 | for i, v in pairs(workspace:GetDescendants()) do | |
647 | if v:IsA("Model") then | |
648 | if v:findFirstChild("Head") then | |
649 | if v ~= chara then | |
650 | if (v.Head.Position - Position).magnitude <= Distance then | |
651 | table.insert(List, v) | |
652 | end | |
653 | end | |
654 | end | |
655 | end | |
656 | end | |
657 | return List | |
658 | end | |
659 | ||
660 | local p1mit = Instance.new("ParticleEmitter") | |
661 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
662 | p1mit.LightEmission = 1 | |
663 | p1mit.Color = ColorSequence.new(Color3.new(1,0,0)) | |
664 | p1mit.Size = NumberSequence.new(1,0) | |
665 | p1mit.Lifetime = NumberRange.new(2) | |
666 | p1mit.Rate = 1000 | |
667 | p1mit.Rotation = NumberRange.new(0,359) | |
668 | p1mit.Speed = NumberRange.new(0) | |
669 | ||
670 | function dmg(dude) | |
671 | if dude.Name ~= chara then | |
672 | dude:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
673 | local bgf = Instance.new("BodyGyro",dude.Head) | |
674 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
675 | local val = Instance.new("BoolValue",dude) | |
676 | val.Name = "IsHit" | |
677 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
678 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
679 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
680 | partasdeff.LightEmission = .1 | |
681 | partasdeff.Size = NumberSequence.new(0.2) | |
682 | partasdeff.Texture = "rbxassetid://771221224" | |
683 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
684 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
685 | partasdeff.Transparency = bbb | |
686 | partasdeff.Size = aaa | |
687 | partasdeff.ZOffset = .9 | |
688 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
689 | partasdeff.LockedToPart = false | |
690 | partasdeff.EmissionDirection = "Back" | |
691 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
692 | partasdeff.Rate = 1000 | |
693 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
694 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
695 | partasdeff.Speed = NumberRange.new(6) | |
696 | partasdeff.VelocitySpread = 10000 | |
697 | partasdeff.Enabled=false | |
698 | partasdeff:Emit(30) | |
699 | coroutine.wrap(function() | |
700 | targetted = nil | |
701 | swait(30) | |
702 | dude:BreakJoints() | |
703 | swait(5) | |
704 | CFuncs["Sound"].Create("rbxassetid://426803840", dude, 3, .3) | |
705 | dude:FindFirstChildOfClass("Humanoid"):Destroy() | |
706 | for i,v in pairs(dude:GetChildren()) do | |
707 | if v:IsA("BasePart") then | |
708 | local bodpos = Instance.new("BodyPosition",v) | |
709 | bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
710 | p1mit:Clone().Parent = v | |
711 | v.BrickColor = BrickColor.new("Really black") | |
712 | end | |
713 | end | |
714 | for i=0,1,.05 do | |
715 | for a,v in pairs(dude:GetChildren()) do | |
716 | if v:IsA("BasePart") then | |
717 | v.Transparency = i | |
718 | end | |
719 | end | |
720 | swait() | |
721 | end | |
722 | for a,v in pairs(dude:GetChildren()) do | |
723 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then | |
724 | v.ParticleEmitter.Enabled = false | |
725 | end | |
726 | game:service'Debris':AddItem(v,2) | |
727 | end | |
728 | end)() | |
729 | end | |
730 | end | |
731 | ||
732 | ---if Player.Name == "basstracker1970" then chara:BreakJoints() end | |
733 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
734 | --local buddy | |
735 | for _, c in pairs(workspace:GetDescendants()) do | |
736 | local hum = c:FindFirstChildOfClass("Humanoid") | |
737 | if hum ~= nil then | |
738 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
739 | if head ~= nil then | |
740 | local targ = head.Position - Part.Position | |
741 | local mag = targ.magnitude | |
742 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
743 | if c.Name ~= chara then | |
744 | if c.Name ~= "basstracker1970" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
745 | local val = Instance.new("BoolValue",c) | |
746 | val.Name = "MagDmgd" | |
747 | local asd = Instance.new("ParticleEmitter",head) | |
748 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
749 | asd.LightEmission = .1 | |
750 | asd.Size = NumberSequence.new(0.2) | |
751 | asd.Texture = "rbxassetid://771221224" | |
752 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
753 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
754 | asd.Transparency = bbb | |
755 | asd.Size = aaa | |
756 | asd.ZOffset = .9 | |
757 | asd.Acceleration = Vector3.new(0, -5, 0) | |
758 | asd.LockedToPart = false | |
759 | asd.EmissionDirection = "Back" | |
760 | asd.Lifetime = NumberRange.new(1, 2) | |
761 | asd.Rate = 1000 | |
762 | asd.Rotation = NumberRange.new(-100, 100) | |
763 | asd.RotSpeed = NumberRange.new(-100, 100) | |
764 | asd.Speed = NumberRange.new(6) | |
765 | asd.VelocitySpread = 10000 | |
766 | asd.Enabled=true | |
767 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
768 | dmg(c) | |
769 | CFuncs["Sound"].Create("rbxassetid://426803840", c.Head, 1.2, .8) | |
770 | coroutine.wrap(function() | |
771 | swait(.2) | |
772 | asd.Enabled = false | |
773 | wait(2) | |
774 | asd:Remove() | |
775 | end)() | |
776 | else | |
777 | CFuncs["Sound"].Create("rbxassetid://240429289", head, 1.5, math.random(1,1.3)) | |
778 | Effects.Sphere.Create(BrickColor.new("Bright red"), head.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
779 | ||
780 | end | |
781 | end | |
782 | end | |
783 | end | |
784 | end | |
785 | end | |
786 | end | |
787 | EffectModel = Create("Model"){ | |
788 | Parent = chara, | |
789 | Name = "Effects", | |
790 | } | |
791 | ||
792 | Effects = { | |
793 | Block = { | |
794 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
795 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
796 | prt.Anchored = true | |
797 | prt.CFrame = cframe | |
798 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
799 | game:GetService("Debris"):AddItem(prt, 10) | |
800 | if Type == 1 or Type == nil then | |
801 | table.insert(Effects, { | |
802 | prt, | |
803 | "Block1", | |
804 | delay, | |
805 | x3, | |
806 | y3, | |
807 | z3, | |
808 | msh | |
809 | }) | |
810 | elseif Type == 2 then | |
811 | table.insert(Effects, { | |
812 | prt, | |
813 | "Block2", | |
814 | delay, | |
815 | x3, | |
816 | y3, | |
817 | z3, | |
818 | msh | |
819 | }) | |
820 | end | |
821 | end; | |
822 | }; | |
823 | ||
824 | Cylinder = { | |
825 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
826 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
827 | prt.Anchored = true | |
828 | prt.CFrame = cframe | |
829 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
830 | game:GetService("Debris"):AddItem(prt, 10) | |
831 | table.insert(Effects, { | |
832 | prt, | |
833 | "Cylinder", | |
834 | delay, | |
835 | x3, | |
836 | y3, | |
837 | z3, | |
838 | msh | |
839 | }) | |
840 | end; | |
841 | }; | |
842 | Head = { | |
843 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
844 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
845 | prt.Anchored = true | |
846 | prt.CFrame = cframe | |
847 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
848 | game:GetService("Debris"):AddItem(prt, 10) | |
849 | table.insert(Effects, { | |
850 | prt, | |
851 | "Cylinder", | |
852 | delay, | |
853 | x3, | |
854 | y3, | |
855 | z3, | |
856 | msh | |
857 | }) | |
858 | end; | |
859 | }; | |
860 | ||
861 | Sphere = { | |
862 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
863 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
864 | prt.Anchored = true | |
865 | prt.CFrame = cframe | |
866 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
867 | game:GetService("Debris"):AddItem(prt, 10) | |
868 | table.insert(Effects, { | |
869 | prt, | |
870 | "Cylinder", | |
871 | delay, | |
872 | x3, | |
873 | y3, | |
874 | z3, | |
875 | msh | |
876 | }) | |
877 | end; | |
878 | }; | |
879 | ||
880 | Elect = { | |
881 | Create = function(cff, x, y, z) | |
882 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
883 | prt.Anchored = true | |
884 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
885 | prt.CFrame = CFrame.new(prt.Position) | |
886 | game:GetService("Debris"):AddItem(prt, 2) | |
887 | local xval = math.random() / 2 | |
888 | local yval = math.random() / 2 | |
889 | local zval = math.random() / 2 | |
890 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
891 | table.insert(Effects, { | |
892 | prt, | |
893 | "Elec", | |
894 | 0.1, | |
895 | x, | |
896 | y, | |
897 | z, | |
898 | xval, | |
899 | yval, | |
900 | zval | |
901 | }) | |
902 | end; | |
903 | ||
904 | }; | |
905 | ||
906 | Ring = { | |
907 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
908 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
909 | prt.Anchored = true | |
910 | prt.CFrame = cframe | |
911 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
912 | game:GetService("Debris"):AddItem(prt, 10) | |
913 | table.insert(Effects, { | |
914 | prt, | |
915 | "Cylinder", | |
916 | delay, | |
917 | x3, | |
918 | y3, | |
919 | z3, | |
920 | msh | |
921 | }) | |
922 | end; | |
923 | }; | |
924 | ||
925 | ||
926 | Wave = { | |
927 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
928 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
929 | prt.Anchored = true | |
930 | prt.CFrame = cframe | |
931 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
932 | game:GetService("Debris"):AddItem(prt, 10) | |
933 | table.insert(Effects, { | |
934 | prt, | |
935 | "Cylinder", | |
936 | delay, | |
937 | x3, | |
938 | y3, | |
939 | z3, | |
940 | msh | |
941 | }) | |
942 | end; | |
943 | }; | |
944 | ||
945 | Break = { | |
946 | Create = function(brickcolor, cframe, x1, y1, z1) | |
947 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
948 | prt.Anchored = true | |
949 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
950 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
951 | local num = math.random(10, 50) / 1000 | |
952 | game:GetService("Debris"):AddItem(prt, 10) | |
953 | table.insert(Effects, { | |
954 | prt, | |
955 | "Shatter", | |
956 | num, | |
957 | prt.CFrame, | |
958 | math.random() - math.random(), | |
959 | 0, | |
960 | math.random(50, 100) / 100 | |
961 | }) | |
962 | end; | |
963 | }; | |
964 | ||
965 | Fire = { | |
966 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
967 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
968 | prt.Anchored = true | |
969 | prt.CFrame = cframe | |
970 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
971 | game:GetService("Debris"):AddItem(prt, 10) | |
972 | table.insert(Effects, { | |
973 | prt, | |
974 | "Fire", | |
975 | delay, | |
976 | 1, | |
977 | 1, | |
978 | 1, | |
979 | msh | |
980 | }) | |
981 | end; | |
982 | }; | |
983 | ||
984 | FireWave = { | |
985 | Create = function(brickcolor, cframe, x1, y1, z1) | |
986 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
987 | prt.Anchored = true | |
988 | prt.CFrame = cframe | |
989 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
990 | local d = Create("Decal"){ | |
991 | Parent = prt, | |
992 | Texture = "rbxassetid://26356434", | |
993 | Face = "Top", | |
994 | } | |
995 | local d = Create("Decal"){ | |
996 | Parent = prt, | |
997 | Texture = "rbxassetid://26356434", | |
998 | Face = "Bottom", | |
999 | } | |
1000 | game:GetService("Debris"):AddItem(prt, 10) | |
1001 | table.insert(Effects, { | |
1002 | prt, | |
1003 | "FireWave", | |
1004 | 1, | |
1005 | 30, | |
1006 | math.random(400, 600) / 100, | |
1007 | msh | |
1008 | }) | |
1009 | end; | |
1010 | }; | |
1011 | ||
1012 | Lightning = { | |
1013 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1014 | local magz = (p0 - p1).magnitude | |
1015 | local curpos = p0 | |
1016 | local trz = { | |
1017 | -ofs, | |
1018 | ofs | |
1019 | } | |
1020 | for i = 1, tym do | |
1021 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1022 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1023 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1024 | li.Material = "Neon" | |
1025 | if tym == i then | |
1026 | local magz2 = (curpos - p1).magnitude | |
1027 | li.Size = Vector3.new(th, th, magz2) | |
1028 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1029 | table.insert(Effects, { | |
1030 | li, | |
1031 | "Disappear", | |
1032 | last | |
1033 | }) | |
1034 | else | |
1035 | do | |
1036 | do | |
1037 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1038 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1039 | game.Debris:AddItem(li, 10) | |
1040 | table.insert(Effects, { | |
1041 | li, | |
1042 | "Disappear", | |
1043 | last | |
1044 | }) | |
1045 | end | |
1046 | end | |
1047 | end | |
1048 | end | |
1049 | end | |
1050 | }; | |
1051 | ||
1052 | EffectTemplate = { | |
1053 | ||
1054 | }; | |
1055 | } | |
1056 | ||
1057 | --Chat Function-- | |
1058 | function chatfunc(text) | |
1059 | coroutine.wrap(function() | |
1060 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
1061 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
1062 | end | |
1063 | local naeeym2 = Instance.new("BillboardGui",chara) | |
1064 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1065 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1066 | naeeym2.Adornee = chara.Head | |
1067 | naeeym2.Name = "TalkingBillBoard" | |
1068 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1069 | tecks2.BackgroundTransparency = 1 | |
1070 | tecks2.BorderSizePixel = 0 | |
1071 | tecks2.Text = "" | |
1072 | tecks2.Font = "Fantasy" | |
1073 | tecks2.FontSize = "Size24" | |
1074 | tecks2.TextStrokeTransparency = 0 | |
1075 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
1076 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1077 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1078 | local shk = coroutine.wrap(function() | |
1079 | while tecks2 ~= nil do | |
1080 | swait(.05) | |
1081 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
1082 | end | |
1083 | end) | |
1084 | shk() | |
1085 | for i = 1,string.len(text),1 do | |
1086 | tecks2.Text = string.sub(text,1,i) | |
1087 | swait(0.01) | |
1088 | end | |
1089 | swait(30) | |
1090 | for i = 1, 5 do | |
1091 | swait() | |
1092 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
1093 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
1094 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
1095 | end | |
1096 | naeeym2:Destroy() | |
1097 | end)() | |
1098 | end | |
1099 | ||
1100 | crosshair = Instance.new("BillboardGui",chara) | |
1101 | crosshair.Size = UDim2.new(10,0,10,0) | |
1102 | crosshair.Enabled = false | |
1103 | ||
1104 | imgl = Instance.new("ImageLabel",crosshair) | |
1105 | imgl.Position = UDim2.new(0,0,0,0) | |
1106 | imgl.Size = UDim2.new(1,0,1,0) | |
1107 | imgl.Image = "rbxassetid://711463989" | |
1108 | imgl.BackgroundTransparency = 1 | |
1109 | imgl.ImageColor3 = Color3.new(.8,0,0) | |
1110 | imgl2 = Instance.new("ImageLabel",crosshair) | |
1111 | imgl2.Position = UDim2.new(-.25,0,-.25,0) | |
1112 | imgl2.Size = UDim2.new(1.5,0,1.5,0) | |
1113 | imgl2.Image = "rbxassetid://233522684" | |
1114 | imgl2.BackgroundTransparency = 1 | |
1115 | imgl2.ImageColor3 = Color3.new(.8,0,0) | |
1116 | ||
1117 | function attackone() | |
1118 | attack = true | |
1119 | Humanoid.WalkSpeed = 0 | |
1120 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1121 | if targetted.Name ~= "CKbackup" or targetted.Name ~= "Nebula_Zorua" or targetted.Name ~= "Salvo_Starly" then | |
1122 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
1123 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1124 | partasdeff.LightEmission = .1 | |
1125 | partasdeff.Size = NumberSequence.new(0.2) | |
1126 | partasdeff.Texture = "rbxassetid://771221224" | |
1127 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1128 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1129 | partasdeff.Transparency = bbb | |
1130 | partasdeff.Size = aaa | |
1131 | partasdeff.ZOffset = .9 | |
1132 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1133 | partasdeff.LockedToPart = false | |
1134 | partasdeff.EmissionDirection = "Back" | |
1135 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1136 | partasdeff.Rate = 1000 | |
1137 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1138 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1139 | partasdeff.Speed = NumberRange.new(6) | |
1140 | partasdeff.VelocitySpread = 10000 | |
1141 | partasdeff.Enabled=false | |
1142 | for i = 0, 1, 0.2 do | |
1143 | swait() | |
1144 | PlayAnimationFromTable({ | |
1145 | CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1146 | CFrame.new(0, 1.49999809, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1147 | CFrame.new(1.39999962, 0.500000238, 0.600002289, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
1148 | CFrame.new(-1.52556908, 0.222140431, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1149 | CFrame.new(0.596984804, -1.98263633, 0.0171013549, 0.969846368, -0.171009913, -0.173648238, 0.173648059, 0.984807849, 3.13053391e-07, 0.171010062, -0.0301539823, 0.984807789), | |
1150 | CFrame.new(-0.592542052, -1.98263681, 0.0336810946, 0.925416648, 0.163176075, 0.342019767, -0.17364794, 0.984807849, -1.08010261e-06, -0.336823881, -0.0593900271, 0.939692795), | |
1151 | }, .1, false) | |
1152 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1153 | end | |
1154 | for a = 1,5 do | |
1155 | Effects.Block.Create(BrickColor.new("Really red"), Partss.CFrame, 2, 2, 2, 2, 2, 2, 0.05) | |
1156 | Effects.Block.Create(BrickColor.new("Persimmon"), Partss.CFrame, 2, 2, 2, 1, 1, 1, 0.05) | |
1157 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .8) | |
1158 | partasdeff:Emit(10) | |
1159 | targetted.Head.Velocity = RootPart.CFrame.lookVector*50 | |
1160 | for i = 0, 1, 0.25 do | |
1161 | swait() | |
1162 | PlayAnimationFromTable({ | |
1163 | CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1164 | CFrame.new(0, 1.49999809, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1165 | CFrame.new(1.39999962, 0.500000238, 0.600002289, 0, -1, 0, 0, 0, -1, 1, 0, 0), | |
1166 | CFrame.new(-1.52556908, 0.222140431, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1167 | CFrame.new(0.596984804, -1.98263633, 0.0171013549, 0.969846368, -0.171009913, -0.173648238, 0.173648059, 0.984807849, 3.13053391e-07, 0.171010062, -0.0301539823, 0.984807789), | |
1168 | CFrame.new(-0.592542052, -1.98263681, 0.0336810946, 0.925416648, 0.163176075, 0.342019767, -0.17364794, 0.984807849, -1.08010261e-06, -0.336823881, -0.0593900271, 0.939692795), | |
1169 | }, .4, false) | |
1170 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1171 | end | |
1172 | for i = 0, 1, 0.25 do | |
1173 | swait() | |
1174 | PlayAnimationFromTable({ | |
1175 | CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1176 | CFrame.new(0, 1.49999809, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1177 | CFrame.new(1.47320819, 0.773207605, 0.600002289, 0, -0.866025388, 0.500000238, 0, -0.500000238, -0.866025388, 1, 0, 0), | |
1178 | CFrame.new(-1.52556896, 0.22214067, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1179 | CFrame.new(0.596984804, -1.98263633, 0.0171013549, 0.969846368, -0.171009913, -0.173648238, 0.173648059, 0.984807849, 3.13053391e-07, 0.171010062, -0.0301539823, 0.984807789), | |
1180 | CFrame.new(-0.592541993, -1.98263633, 0.0336810648, 0.925416648, 0.163176075, 0.342019767, -0.17364794, 0.984807849, -1.08010261e-06, -0.336823881, -0.0593900271, 0.939692795), | |
1181 | }, .4, false) | |
1182 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1183 | end | |
1184 | end | |
1185 | dmg(targetted) | |
1186 | game:service'Debris':AddItem(partasdeff,3) | |
1187 | else | |
1188 | sel = math.random(1,3) | |
1189 | if sel == 1 then | |
1190 | chatfunc("...") | |
1191 | elseif sel == 2 then | |
1192 | chatfunc("No...") | |
1193 | elseif sel == 3 then | |
1194 | chatfunc("I can't do that...") | |
1195 | end | |
1196 | for i = 0, 5, 0.1 do | |
1197 | swait() | |
1198 | PlayAnimationFromTable({ | |
1199 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1200 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1201 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1202 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1203 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1204 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1205 | }, .3, false) | |
1206 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1207 | end | |
1208 | end | |
1209 | Humanoid.WalkSpeed = 8 | |
1210 | attack = false | |
1211 | end | |
1212 | function attack2one() | |
1213 | attack = true | |
1214 | Humanoid.WalkSpeed = 0 | |
1215 | local totrans = {} | |
1216 | for i, v in pairs(chara:GetDescendants()) do | |
1217 | if v:IsA("BasePart") and v.Transparency~=1 and v.Parent.Name == "TheKnife" then | |
1218 | table.insert(totrans,v) | |
1219 | end | |
1220 | end | |
1221 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1222 | if targetted.Name ~= "CKbackup" or targetted.Name ~= "Nebula_Zorua" or targetted.Name ~= "Salvo_Starly" then | |
1223 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
1224 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1225 | partasdeff.LightEmission = .1 | |
1226 | partasdeff.Size = NumberSequence.new(0.2) | |
1227 | partasdeff.Texture = "rbxassetid://771221224" | |
1228 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1229 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1230 | partasdeff.Transparency = bbb | |
1231 | partasdeff.Size = aaa | |
1232 | partasdeff.ZOffset = .9 | |
1233 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1234 | partasdeff.LockedToPart = false | |
1235 | partasdeff.EmissionDirection = "Back" | |
1236 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1237 | partasdeff.Rate = 1000 | |
1238 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1239 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1240 | partasdeff.Speed = NumberRange.new(6) | |
1241 | partasdeff.VelocitySpread = 10000 | |
1242 | partasdeff.Enabled=false | |
1243 | for i = 0, 1.5, 0.1 do | |
1244 | swait() | |
1245 | PlayAnimationFromTable({ | |
1246 | CFrame.new(-0.013760807, 0, 0.00454730028, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238), | |
1247 | CFrame.new(0.010819382, 1.49999833, 0.00964166038, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238), | |
1248 | CFrame.new(1.54018927, 0.669616818, -3.72918021e-06, 0.499999791, -0.866025686, 1.75833702e-06, 0.866025567, 0.499999732, -1.27693363e-06, 2.38418579e-07, 2.14576721e-06, 1.00000012), | |
1249 | CFrame.new(-1.52901936, 0.888710737, 2.4381518e-06, 0.984807968, 0.173648, 4.17232513e-07, 0.173648, -0.984807789, 3.45977355e-06, 1.01327896e-06, -3.33786011e-06, -1.00000012), | |
1250 | CFrame.new(0.500000119, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1251 | CFrame.new(-0.68507731, -1.96527267, 0.0673612207, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676), | |
1252 | }, .2, false) | |
1253 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1254 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,3,0), 0.3) | |
1255 | end | |
1256 | for i = 0, 1, 0.25 do | |
1257 | swait() | |
1258 | PlayAnimationFromTable({ | |
1259 | CFrame.new(0.033490371, -4.76837158e-07, -0.0274436511, -0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, -0.500000238), | |
1260 | CFrame.new(-0.0390504077, 1.52660453, -0.19198662, 0.934456527, -0.171009883, 0.312324822, 0.0593909845, 0.939692736, 0.336823851, -0.351089597, -0.296197981, 0.888258457), | |
1261 | CFrame.new(1.54018593, 0.669616103, -3.75895024e-06, 0.499999344, -0.866025925, 1.75833702e-06, 0.866025805, 0.499999285, -1.27693352e-06, 2.38418579e-07, 2.17556953e-06, 1.00000012), | |
1262 | CFrame.new(-0.661082923, 0.549146414, -0.783065915, 0.264424562, -0.610265017, -0.746764064, -0.609933972, 0.493972659, -0.619654536, 0.74703449, 0.619328618, -0.241602808), | |
1263 | CFrame.new(0.500003934, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1264 | CFrame.new(-0.685080409, -1.96527231, 0.0673582703, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676), | |
1265 | }, .4, false) | |
1266 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1267 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,3,0), 0.3) | |
1268 | end | |
1269 | for a=1,#totrans do | |
1270 | totrans[a].Transparency = 1 | |
1271 | end | |
1272 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, 1) | |
1273 | partasdeff:Emit(30) | |
1274 | game:service'Debris':AddItem(partasdeff,3) | |
1275 | KnifuHit = New("Model",workspace,"KnifuHit",{}) | |
1276 | HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.629982, 1.83662391, 15.8509817, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1277 | Mesh = New("CylinderMesh",HWeldPart,"Mesh",{}) | |
1278 | Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = targetted.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),C1 = CFrame.new(0.0299835205, 1.33661091, -2.04901791, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1279 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.52322841, 16.5938034, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1280 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1281 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1282 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.629982, 1.0232265, 17.4598274, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1283 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1284 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.80000067, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1285 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.62322855, 16.4205971, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1286 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1287 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1288 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.62322855, 16.4205971, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1289 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1290 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1291 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 1.19999993, 0.600000024),CFrame = CFrame.new(68.629982, 0.473228455, 18.4124565, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
1292 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1293 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.89999986, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1294 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(68.629982, 1.20002079, 16.7536106, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1295 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1296 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.10000038, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1297 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.600000083),CFrame = CFrame.new(68.629982, 1.37681365, 16.04739, 1, 0, 0, 0, 0.5, 0.866025448, 0, -0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1298 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1299 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.300003052, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1300 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.629982, 1.80982792, 16.2973919, -1, 0, 0, 0, 0.5, -0.866025448, 0, -0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1301 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1302 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1303 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.52322841, 16.5938034, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1304 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1305 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1306 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.4232285, 16.7670078, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1307 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1308 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1309 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.4232285, 16.7670078, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1310 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1311 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1312 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.32322836, 16.9402142, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1313 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1314 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1315 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 1.32322836, 16.9402142, 1, 0, 0, 0, -0.5, -0.866025448, 0, 0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1316 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
1317 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1318 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.629982, 1.42322659, 16.7670078, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1319 | Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
1320 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1321 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 1.73662376, 16.0241871, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1322 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1323 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1324 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000083, 0.200000003),CFrame = CFrame.new(68.629982, 0.750020742, 17.5330334, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
1325 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
1326 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.00000048, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1327 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 1.83662379, 15.8509817, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1328 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1329 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1330 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 1.63662374, 16.1973915, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1331 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
1332 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1333 | HPart = New("Part",KnifuHit,"HPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 3.00000024, 0.600000024),CFrame = CFrame.new(68.629982, 0.923228443, 17.6330338, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1334 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1335 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 1.93662381, 15.6777763, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1336 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
1337 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1338 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.629982, 0.95002085, 17.1866226, -1, 0, 0, 0, 0.5, -0.866025448, 0, -0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
1339 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1340 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.60000038, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1341 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.629982, 0.909831166, 17.8562393, -1, 0, 0, 0, 0.5, -0.866025448, 0, -0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
1342 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
1343 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 2.20000029, 0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1344 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.629982, 0.996432185, 17.9062386, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1345 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
1346 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.20000076, 0.300001144, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1347 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000006, 0.200000077),CFrame = CFrame.new(68.629982, 1.05360782, 16.2071972, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1348 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
1349 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.700000167, -0.500003815, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1350 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 1.23662364, 16.890213, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.666667, 0, 0.666667),}) | |
1351 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.200000003, 0.5, 0.200000003),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,}) | |
1352 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1353 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.629982, 2.03662372, 15.5045719, -1, 0, 0, 0, -0.5, 0.866025448, 0, 0.866025448, 0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.666667, 0, 0.666667),}) | |
1354 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.200000003, 0.5, 0.200000003),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,}) | |
1355 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.399999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1356 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.629982, 1.19643402, 17.5598297, -1, 0, 0, 0, 0.5, -0.866025448, 0, -0.866025448, -0.5),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
1357 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),MeshType = Enum.MeshType.Wedge,}) | |
1358 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.80000019, 0.300003052, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
1359 | game:service'Debris':AddItem(KnifuHit,10) | |
1360 | dmg(targetted) | |
1361 | swait(30) | |
1362 | for i = 0,1,.05 do | |
1363 | swait() | |
1364 | for a=1,#totrans do | |
1365 | totrans[a].Transparency = 1-i | |
1366 | end | |
1367 | end | |
1368 | for a=1,#totrans do | |
1369 | totrans[a].Transparency = 0 | |
1370 | end | |
1371 | else | |
1372 | sel = math.random(1,3) | |
1373 | if sel == 1 then | |
1374 | chatfunc("...") | |
1375 | elseif sel == 2 then | |
1376 | chatfunc("No...") | |
1377 | elseif sel == 3 then | |
1378 | chatfunc("I can't do that...") | |
1379 | end | |
1380 | for i = 0, 5, 0.1 do | |
1381 | swait() | |
1382 | PlayAnimationFromTable({ | |
1383 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1384 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1385 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1386 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1387 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1388 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1389 | }, .3, false) | |
1390 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1391 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,1,0), 0.3) | |
1392 | end | |
1393 | end | |
1394 | Humanoid.WalkSpeed = 8 | |
1395 | attack = false | |
1396 | end | |
1397 | ||
1398 | function attacktwo() | |
1399 | attack = true | |
1400 | Humanoid.WalkSpeed = 8 | |
1401 | for i = 0, 1, 0.1 do | |
1402 | swait() | |
1403 | PlayAnimationFromTable({ | |
1404 | CFrame.new(-0.224620387, 0.00182679901, 0.355692446, 0.422617137, -0.0789889544, 0.902859628, 0, 0.99619478, 0.0871546194, -0.906308293, -0.0368330367, 0.421009034), | |
1405 | CFrame.new(-0.0279945955, 1.50454211, 0.0181391276, 0.342018783, 0, -0.939693093, -0.0818985924, 0.99619478, -0.0298085138, 0.936117411, 0.0871546194, 0.340717345), | |
1406 | CFrame.new(1.61931372, 0.398556918, -0.0915643871, 0.834718168, -0.50676024, 0.21549882, 0.395640552, 0.824083865, 0.405406326, -0.383032948, -0.253139973, 0.88837254), | |
1407 | CFrame.new(-1.64381778, 0.290096372, -0.0866609737, 0.940106511, 0.338986784, 0.0358846784, -0.330018938, 0.931456149, -0.153222129, -0.0853652954, 0.132202506, 0.987540126), | |
1408 | CFrame.new(0.54622674, -2.08882928, -0.297503173, 0.965925395, -0.0449437164, -0.254888713, -0.0225574225, 0.96644187, -0.255893201, 0.257835865, 0.252923369, 0.932496965), | |
1409 | CFrame.new(-0.444928914, -2.02823257, 0.194471419, 0.984807789, -0.0449433886, 0.167731091, 0.0151342247, 0.984464884, 0.174928144, -0.172987282, -0.169732109, 0.970188916), | |
1410 | }, .3, false) | |
1411 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1412 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1413 | end | |
1414 | tr1.Enabled = true | |
1415 | CFuncs["Sound"].Create("rbxasset://sounds/swordlunge.wav", chara, 3, .7) | |
1416 | for i = 0, 1, 0.1 do | |
1417 | swait() | |
1418 | PlayAnimationFromTable({ | |
1419 | CFrame.new(-0.350145102, 0.00182692707, -0.224671245, 0.342019022, 0.0818999559, -0.936117291, 0, 0.996194661, 0.0871560797, 0.939693093, -0.0298090316, 0.340717524), | |
1420 | CFrame.new(-0.0356696025, 1.4968617, 0.105928369, 0.422617376, 0, 0.906308234, 0.0789902657, 0.996194661, -0.0368336663, -0.902859449, 0.0871560797, 0.421009183), | |
1421 | CFrame.new(1.61931276, 0.398557454, -0.0915763676, 0.834717989, -0.506760418, 0.215499386, 0.395641148, 0.824084282, 0.405404925, -0.383032799, -0.253138334, 0.888373256), | |
1422 | CFrame.new(-0.841956139, 1.08718979, -0.194648504, 0.451776862, -0.675602078, -0.582631707, -0.841145873, -0.540190697, -0.02584197, -0.297273308, 0.501753032, -0.812325478), | |
1423 | CFrame.new(0.384299219, -2.04907751, 0.312563866, 0.965925992, 0.109381422, -0.234569386, -0.0225576125, 0.93843776, 0.344711155, 0.257833749, -0.327674121, 0.908928871), | |
1424 | CFrame.new(-0.55455792, -1.93629444, -0.421594352, 0.984807789, 0.0733868033, 0.157378852, 0.0151345003, 0.866585255, -0.498799652, -0.172987461, 0.493603587, 0.852309287), | |
1425 | }, .3, false) | |
1426 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1427 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1428 | mdmg(Hitbox, 3) | |
1429 | end | |
1430 | swait(5) | |
1431 | Humanoid.WalkSpeed = 8 | |
1432 | tr1.Enabled = false | |
1433 | attack = false | |
1434 | end | |
1435 | function attack2two() | |
1436 | attack = true | |
1437 | Humanoid.WalkSpeed = 8 | |
1438 | for i = 0, 1, 0.1 do | |
1439 | swait() | |
1440 | PlayAnimationFromTable({ | |
1441 | CFrame.new(-0.118413232, -0.0999996662, -0.0162695143, 0.342019916, 0, 0.939692736, 0, 1, 0, -0.939692736, 0, 0.342019886), | |
1442 | CFrame.new(-0.0974596441, 1.42617989, -0.153679788, 0.698022485, 0.0783720315, -0.71177417, 0.241093084, 0.910238683, 0.33665964, 0.67426914, -0.406599849, 0.616472006), | |
1443 | CFrame.new(1.56614149, 0.675835967, -0.176545516, 0.635042489, -0.737752557, 0.229002833, 0.764718115, 0.558491647, -0.321392745, 0.109212175, 0.379220605, 0.91883868), | |
1444 | CFrame.new(-0.894028425, 0.449107349, -0.694228411, 0.777676225, -0.60256654, -0.179258019, -0.0868209973, 0.179467112, -0.979925394, 0.622641146, 0.777628005, 0.0872518644), | |
1445 | CFrame.new(0.732766688, -1.80342793, 0.0847177207, 0.88302201, -0.321393669, -0.34202078, 0.342020035, 0.939692736, 3.31529257e-08, 0.321394414, -0.116978005, 0.939692497), | |
1446 | CFrame.new(-0.534722447, -1.9000001, -0.196958184, 0.984807849, 0, 0.173648164, 0, 1, 0, -0.173648134, 0, 0.984807849), | |
1447 | }, .3, false) | |
1448 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(180),0,0), 0.3) | |
1449 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1450 | end | |
1451 | tr1.Enabled = true | |
1452 | CFuncs["Sound"].Create("rbxasset://sounds/swordlunge.wav", chara, 3, .7) | |
1453 | for i = 0, 1, 0.1 do | |
1454 | swait() | |
1455 | PlayAnimationFromTable({ | |
1456 | CFrame.new(-0.08830598, -0.0999999046, -0.0618330762, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1457 | CFrame.new(6.13927841e-06, 1.43159294, -0.187939167, 0.49999994, 3.87430191e-07, 0.866025567, -0.296198189, 0.939692616, 0.171009645, -0.813797832, -0.342019975, 0.469846368), | |
1458 | CFrame.new(1.52318263, 0.334726363, -0.285165101, 0.918839276, -0.321389288, 0.229005635, 0.38301909, 0.866026044, -0.321395814, -0.0950317085, 0.383024603, 0.918836951), | |
1459 | CFrame.new(-1.56829596, 0.236604273, 0.118294179, 0.433012068, 0.866026044, 0.2499993, 0.499999821, -1.78813863e-07, -0.866025567, -0.750000656, 0.499999046, -0.433012933), | |
1460 | CFrame.new(0.732768059, -1.80342686, 0.0847166926, 0.883022785, -0.321393728, -0.342019022, 0.342019916, 0.939692736, 0, 0.321392775, -0.116977297, 0.939693093), | |
1461 | CFrame.new(-0.534724653, -1.90000021, -0.196965426, 0.984807789, 0, 0.173648238, 0, 1, 0, -0.173648268, 0, 0.98480773), | |
1462 | }, .3, false) | |
1463 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(180),0,0), 0.3) | |
1464 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1465 | mdmg(Hitbox, 3) | |
1466 | end | |
1467 | swait(5) | |
1468 | Humanoid.WalkSpeed = 8 | |
1469 | tr1.Enabled = false | |
1470 | attack = false | |
1471 | end | |
1472 | local Grabbed = false | |
1473 | ||
1474 | function hedshoot() | |
1475 | attack = true | |
1476 | --local GGyro = Instance.new("BodyPosition") | |
1477 | local grab = nil | |
1478 | local torsy | |
1479 | local partasdeff | |
1480 | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
1481 | CFuncs["Sound"].Create("rbxassetid://426803840", RootPart, 1.5, .5) | |
1482 | for i = 0, 1, 0.1 do | |
1483 | swait() | |
1484 | if Grabbed == true then | |
1485 | grab:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
1486 | --GGyro.position = Partss.Position | |
1487 | --GGyro.Parent = grab.Head | |
1488 | torsy.CFrame = Hitbox.CFrame * CFrame.Angles(math.rad(90),0,0) | |
1489 | end | |
1490 | PlayAnimationFromTable({ | |
1491 | CFrame.new(0, 0.014960058, -0.00263785874, 0, 0, -1, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, 0), | |
1492 | CFrame.new(0.0756459087, 1.47367561, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0), | |
1493 | CFrame.new(1.61953926, 0.256342351, 0, 0.939692676, -0.342020601, 0, 0.342020601, 0.939692676, 0, 0, 0, 1), | |
1494 | CFrame.new(-1.41317761, 0.492402643, 0.500001907, 0, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, 0, 0), | |
1495 | CFrame.new(0.696965218, -2.03472972, 1.90734863e-06, 0.984807849, -0.173648134, 0, 0.173648164, 0.984807849, 0, 0, 0, 1), | |
1496 | CFrame.new(-0.303041309, -2.03472829, -1.90734863e-06, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813, 0, 0, 0, 1), | |
1497 | }, .3, false) | |
1498 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
1499 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1500 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(180),0,0), 0.3) | |
1501 | if grab == nil then | |
1502 | for i, v in pairs(FindNearestTorso(Hitbox.CFrame.p, 5)) do | |
1503 | if v:FindFirstChild('Head') then | |
1504 | Grabbed = true | |
1505 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1506 | CFuncs["Sound"].Create("rbxassetid://426803840", torsy, 5, .8) | |
1507 | partasdeff = Instance.new("ParticleEmitter",torsy) | |
1508 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1509 | partasdeff.LightEmission = .1 | |
1510 | partasdeff.Size = NumberSequence.new(0.2) | |
1511 | partasdeff.Texture = "rbxassetid://771221224" | |
1512 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1513 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1514 | partasdeff.Transparency = bbb | |
1515 | partasdeff.Size = aaa | |
1516 | partasdeff.ZOffset = .9 | |
1517 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1518 | partasdeff.LockedToPart = false | |
1519 | partasdeff.EmissionDirection = "Front" | |
1520 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1521 | partasdeff.Rate = 1000 | |
1522 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1523 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1524 | partasdeff.Speed = NumberRange.new(6) | |
1525 | partasdeff.VelocitySpread = 10 | |
1526 | grab = v | |
1527 | end | |
1528 | end | |
1529 | end | |
1530 | end | |
1531 | if Grabbed == true then | |
1532 | Humanoid.WalkSpeed = 0 | |
1533 | - | blpemit.Transparency = NumberSequence.new(0,1) |
1533 | + | |
1534 | swait() | |
1535 | if Grabbed == true then | |
1536 | grab:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
1537 | --GGyro.position = Partss.Position | |
1538 | --GGyro.Parent = grab.Head | |
1539 | torsy.CFrame = Hitbox.CFrame * CFrame.Angles(math.rad(90),0,0) | |
1540 | end | |
1541 | PlayAnimationFromTable({ | |
1542 | CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1543 | CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0), | |
1544 | CFrame.new(1.6195389, 0.256341636, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
1545 | CFrame.new(-1.41317773, 0.492402405, 0.500001907, 0, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, 0, 0), | |
1546 | CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1), | |
1547 | CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1), | |
1548 | }, .3, false) | |
1549 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1550 | end | |
1551 | if grab.Name ~= "CKbackup" or grab.Name ~= "Nebula_Zorua" or grab.Name ~= "Salvo_Starly" then | |
1552 | local partasdeff = Instance.new("ParticleEmitter",torsy) | |
1553 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1554 | partasdeff.LightEmission = .1 | |
1555 | partasdeff.Size = NumberSequence.new(0.2) | |
1556 | partasdeff.Texture = "rbxassetid://771221224" | |
1557 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1558 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1559 | partasdeff.Transparency = bbb | |
1560 | partasdeff.Size = aaa | |
1561 | partasdeff.ZOffset = .9 | |
1562 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1563 | partasdeff.LockedToPart = false | |
1564 | partasdeff.EmissionDirection = "Back" | |
1565 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1566 | partasdeff.Rate = 1000 | |
1567 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1568 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1569 | partasdeff.Speed = NumberRange.new(10) | |
1570 | partasdeff.VelocitySpread = 20 | |
1571 | partasdeff.Enabled=false | |
1572 | sel = math.random(1,3) | |
1573 | if sel == 1 then | |
1574 | chatfunc("Too weak.") | |
1575 | elseif sel == 2 then | |
1576 | chatfunc("Die.") | |
1577 | elseif sel == 3 then | |
1578 | chatfunc("Take this.") | |
1579 | end | |
1580 | for i = 0, 2, 0.1 do | |
1581 | swait() | |
1582 | if Grabbed == true then | |
1583 | grab:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
1584 | --GGyro.position = Partss.Position | |
1585 | --GGyro.Parent = grab.Head | |
1586 | torsy.CFrame = Hitbox.CFrame * CFrame.Angles(math.rad(90),0,0) | |
1587 | end | |
1588 | PlayAnimationFromTable({ | |
1589 | CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1590 | CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0), | |
1591 | CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162), | |
1592 | CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07), | |
1593 | CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1), | |
1594 | CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1), | |
1595 | }, .1, false) | |
1596 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1597 | end | |
1598 | Effects.Block.Create(BrickColor.new("Really red"), Partss.CFrame, 2, 2, 2, 2, 2, 2, 0.05) | |
1599 | Effects.Block.Create(BrickColor.new("Persimmon"), Partss.CFrame, 2, 2, 2, 1, 1, 1, 0.05) | |
1600 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .8) | |
1601 | dmg(grab) | |
1602 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
1603 | partasdeff.Enabled=true | |
1604 | for i = 0, 1, 0.1 do | |
1605 | swait() | |
1606 | PlayAnimationFromTable({ | |
1607 | CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1608 | CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0), | |
1609 | CFrame.new(0.580128729, 0.911159813, -0.882691503, -0.163171932, 0.569887638, -0.805358887, -0.0593889691, -0.820492566, -0.568563819, -0.984808505, -0.0449442416, 0.167726412), | |
1610 | CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07), | |
1611 | CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1), | |
1612 | CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1), | |
1613 | }, .3, false) | |
1614 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1615 | end | |
1616 | partasdeff.Enabled=false | |
1617 | for i = 0, 2.5, 0.1 do | |
1618 | swait() | |
1619 | PlayAnimationFromTable({ | |
1620 | CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1621 | CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0), | |
1622 | CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162), | |
1623 | CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07), | |
1624 | CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1), | |
1625 | CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1), | |
1626 | }, .2, false) | |
1627 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1628 | end | |
1629 | coroutine.wrap(function() | |
1630 | wait(2) | |
1631 | partasdeff:Remove() | |
1632 | end)() | |
1633 | else | |
1634 | grab:FindFirstChildOfClass("Humanoid").PlatformStand = false | |
1635 | for i = 0, 3, 0.1 do | |
1636 | swait() | |
1637 | PlayAnimationFromTable({ | |
1638 | CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1639 | CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1640 | CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1641 | CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1642 | CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1643 | CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1644 | }, .1, false) | |
1645 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1646 | end | |
1647 | sel = math.random(1,3) | |
1648 | if sel == 1 then | |
1649 | chatfunc("I'm so silly...") | |
1650 | elseif sel == 2 then | |
1651 | chatfunc("What am I doing..?") | |
1652 | elseif sel == 3 then | |
1653 | chatfunc("I can't...") | |
1654 | end | |
1655 | for i = 0, 5, 0.1 do | |
1656 | swait() | |
1657 | PlayAnimationFromTable({ | |
1658 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1659 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1660 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1661 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1662 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1663 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1664 | }, .3, false) | |
1665 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1666 | end | |
1667 | end | |
1668 | end | |
1669 | --GGyro.Parent = nil | |
1670 | attack = false | |
1671 | Grabbed = false | |
1672 | Humanoid.WalkSpeed = 8 | |
1673 | ||
1674 | end | |
1675 | local blpemit = Instance.new("ParticleEmitter") | |
1676 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
1677 | blpemit.Texture = "rbxassetid://233069772" | |
1678 | blpemit.Lifetime = NumberRange.new(1,3) | |
1679 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
1680 | blpemit.Enabled = true | |
1681 | blpemit.EmissionDirection = "Front" | |
1682 | blpemit.Speed = NumberRange.new(1,3) | |
1683 | blpemit.Size = NumberSequence.new(.5) | |
1684 | blpemit.Rate = 1000 | |
1685 | blpemit.RotSpeed = NumberRange.new(50) | |
1686 | blpemit.Rotation = NumberRange.new(0,360) | |
1687 | function moarblood() | |
1688 | attack = true | |
1689 | Humanoid.WalkSpeed = 0 | |
1690 | local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso") | |
1691 | Tele(torsy.CFrame * CFrame.new(0,0,1.3)) | |
1692 | local totrans = {} | |
1693 | for i, v in pairs(chara:GetDescendants()) do | |
1694 | if v:IsA("BasePart") and v.Transparency~=1 and (v.Parent.Name == "ThePistol" or v.Parent.Name == "TheKnife") then | |
1695 | table.insert(totrans,v) | |
1696 | end | |
1697 | end | |
1698 | local stu = Instance.new("Part",targetted) | |
1699 | stu.Anchored = true | |
1700 | stu.CanCollide = false | |
1701 | stu.Transparency = 1 | |
1702 | stu.CFrame = torsy.CFrame | |
1703 | local w = Instance.new("Weld",stu) | |
1704 | w.Part0 = torsy | |
1705 | w.Part1 = stu | |
1706 | local stu2 = Instance.new("Part",chara) | |
1707 | stu2.Anchored = true | |
1708 | stu2.CanCollide = false | |
1709 | stu2.Transparency = 1 | |
1710 | stu2.CFrame = chara.HumanoidRootPart.CFrame | |
1711 | local w2 = Instance.new("Weld",stu2) | |
1712 | w2.Part0 = chara.HumanoidRootPart | |
1713 | w2.Part1 = stu2 | |
1714 | PlayAnimationFromTable({ | |
1715 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1716 | CFrame.new(0, 1.52556372, -0.222143173, 1, 0, 0, 0, 0.939692795, 0.342019618, 0, -0.342019618, 0.939692795), | |
1717 | CFrame.new(1.49999928, -1.34110451e-07, 1.58933972e-07, 0.99619478, -0.0871556178, -1.0595604e-07, 0.0871556178, 0.99619472, -3.35276127e-07, 1.35041773e-07, 3.27825546e-07, 1), | |
1718 | CFrame.new(-1.50000119, 2.68220901e-07, 1.58934313e-07, 0.99619478, 0.0871556178, 1.0595604e-07, -0.0871556178, 0.99619472, -3.35276127e-07, -1.35041773e-07, 3.27825546e-07, 1), | |
1719 | 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), | |
1720 | 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), | |
1721 | }, 1, false) | |
1722 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1723 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1724 | for i = 0,1,.1 do | |
1725 | swait() | |
1726 | for a=1,#totrans do | |
1727 | totrans[a].Transparency = i | |
1728 | end | |
1729 | end | |
1730 | for a=1,#totrans do | |
1731 | totrans[a].Transparency = 1 | |
1732 | end | |
1733 | swait(5) | |
1734 | for i = 0, 1, 0.1 do | |
1735 | swait() | |
1736 | PlayAnimationFromTable({ | |
1737 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1738 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1739 | 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), | |
1740 | 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), | |
1741 | 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), | |
1742 | 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), | |
1743 | }, .3, false) | |
1744 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1745 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(180),0,0), 0.3) | |
1746 | end | |
1747 | swait(10) | |
1748 | if targetted.Name ~= "CKbackup" or targetted.Name ~= "Nebula_Zorua" or targetted.Name ~= "Salvo_Starly" then | |
1749 | sel = math.random(1,3) | |
1750 | if sel == 1 then | |
1751 | chatfunc("Time's up.") | |
1752 | elseif sel == 2 then | |
1753 | chatfunc("Your end is here.") | |
1754 | elseif sel == 3 then | |
1755 | chatfunc("It's over.") | |
1756 | end | |
1757 | swait(5) | |
1758 | local wel = Instance.new("Weld",targetted.Head) | |
1759 | wel.Part0 = torsy | |
1760 | wel.Part1 = targetted.Head | |
1761 | wel.C0 = CFrame.new(0,1.5,0) | |
1762 | local bledp = Instance.new("Part",targetted) | |
1763 | bledp.Size = Vector3.new(0,0,0) | |
1764 | bledp.Transparency = 1 | |
1765 | bledp.CanCollide = false | |
1766 | local blpe = blpemit:Clone() | |
1767 | blpe.Parent = bledp | |
1768 | blpe.EmissionDirection = "Top" | |
1769 | blpe.VelocitySpread = 5 | |
1770 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1771 | local bledw = Instance.new("Weld",bledp) | |
1772 | bledw.Part0 = targetted.Head | |
1773 | bledw.Part1 = bledp | |
1774 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
1775 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 5, .7) | |
1776 | for i = 0, 1, 0.25 do | |
1777 | swait() | |
1778 | PlayAnimationFromTable({ | |
1779 | 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), | |
1780 | 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), | |
1781 | 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), | |
1782 | 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), | |
1783 | 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), | |
1784 | 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), | |
1785 | }, .3, false) | |
1786 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1787 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(180),0,0), 0.3) | |
1788 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
1789 | end | |
1790 | swait(30) | |
1791 | targetted:BreakJoints() | |
1792 | else | |
1793 | sel = math.random(1,3) | |
1794 | if sel == 1 then | |
1795 | chatfunc("...") | |
1796 | elseif sel == 2 then | |
1797 | chatfunc("No...") | |
1798 | elseif sel == 3 then | |
1799 | chatfunc("I can't do that...") | |
1800 | end | |
1801 | for i = 0, 5, 0.1 do | |
1802 | swait() | |
1803 | PlayAnimationFromTable({ | |
1804 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1805 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
1806 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1807 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1808 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1809 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1810 | }, .3, false) | |
1811 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1812 | end | |
1813 | end | |
1814 | stu:Destroy() | |
1815 | stu2:Destroy() | |
1816 | coroutine.wrap(function() | |
1817 | for i = 0,1,.05 do | |
1818 | swait() | |
1819 | for a=1,#totrans do | |
1820 | totrans[a].Transparency = 1-i | |
1821 | end | |
1822 | end | |
1823 | for a=1,#totrans do | |
1824 | totrans[a].Transparency = 0 | |
1825 | end | |
1826 | end)() | |
1827 | attack = false | |
1828 | Humanoid.WalkSpeed = 8 | |
1829 | end | |
1830 | ||
1831 | ||
1832 | function painlessrain() | |
1833 | attack = true | |
1834 | Humanoid.WalkSpeed = 0 | |
1835 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1836 | local totrans = {} | |
1837 | for i, v in pairs(chara:GetDescendants()) do | |
1838 | if v:IsA("BasePart") and v.Transparency~=1 and (v.Parent.Name == "ThePistol" or v.Parent.Name == "TheKnife") then | |
1839 | table.insert(totrans,v) | |
1840 | end | |
1841 | end | |
1842 | for i = 0, 1, 0.1 do | |
1843 | swait() | |
1844 | PlayAnimationFromTable({ | |
1845 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1846 | CFrame.new(0, 1.52556372, -0.222143173, 1, 0, 0, 0, 0.939692795, 0.342019618, 0, -0.342019618, 0.939692795), | |
1847 | CFrame.new(1.49999928, -1.34110451e-07, 1.58933972e-07, 0.99619478, -0.0871556178, -1.0595604e-07, 0.0871556178, 0.99619472, -3.35276127e-07, 1.35041773e-07, 3.27825546e-07, 1), | |
1848 | CFrame.new(-1.50000119, 2.68220901e-07, 1.58934313e-07, 0.99619478, 0.0871556178, 1.0595604e-07, -0.0871556178, 0.99619472, -3.35276127e-07, -1.35041773e-07, 3.27825546e-07, 1), | |
1849 | 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), | |
1850 | 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), | |
1851 | }, .2, false) | |
1852 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
1853 | end | |
1854 | swait(10) | |
1855 | for i = 0,1,.05 do | |
1856 | swait() | |
1857 | for a=1,#totrans do | |
1858 | totrans[a].Transparency = i | |
1859 | end | |
1860 | end | |
1861 | for a=1,#totrans do | |
1862 | totrans[a].Transparency = 1 | |
1863 | end | |
1864 | swait(10) | |
1865 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .7) | |
1866 | for i = 0, 7, 0.1 do | |
1867 | swait() | |
1868 | PlayAnimationFromTable({ | |
1869 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1870 | CFrame.new(0, 1.43159318, -0.187939137, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1871 | CFrame.new(1.5, 0.199999809, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
1872 | CFrame.new(-1.5, 0.199999809, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
1873 | CFrame.new(0.500001848, -2, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1874 | CFrame.new(-0.500000954, -2, 7.00354576e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849), | |
1875 | }, .07, false) | |
1876 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
1877 | Effects.Block.Create(BrickColor.new("Really red"), RightArm.CFrame*CFrame.new(0,-1,0), 2, 2, 2, 2, 2, 2, 0.05) | |
1878 | Effects.Block.Create(BrickColor.new("Really red"), LeftArm.CFrame*CFrame.new(0,-1,0), 2, 2, 2, 2, 2, 2, 0.05) | |
1879 | end | |
1880 | for i = 0, 30 do | |
1881 | Effects.Block.Create(BrickColor.new("Really red"), RightArm.CFrame*CFrame.new(0,-1,0), 2, 2, 2, 2, 2, 2, 0.05) | |
1882 | Effects.Block.Create(BrickColor.new("Really red"), LeftArm.CFrame*CFrame.new(0,-1,0), 2, 2, 2, 2, 2, 2, 0.05) | |
1883 | swait(3) | |
1884 | mdmg(ref1, 10) | |
1885 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .8) | |
1886 | ref1.CFrame = Mouse.Hit | |
1887 | Effects.Cylinder.Create(BrickColor.new("Really red"), ref1.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) | |
1888 | Effects.Block.Create(BrickColor.new("Really red"), ref1.CFrame, 1, 1, 1, 10, 10, 10, 0.05) | |
1889 | end | |
1890 | ref1:Destroy() | |
1891 | for i = 0,1,.05 do | |
1892 | swait() | |
1893 | for a=1,#totrans do | |
1894 | totrans[a].Transparency = 1-i | |
1895 | end | |
1896 | end | |
1897 | for a=1,#totrans do | |
1898 | totrans[a].Transparency = 0 | |
1899 | end | |
1900 | attack = false | |
1901 | Humanoid.WalkSpeed = 8 | |
1902 | end | |
1903 | ||
1904 | function killyourself() | |
1905 | attack = true | |
1906 | Humanoid.WalkSpeed = 0 | |
1907 | kkk:Destroy() | |
1908 | for i = 0, 3, 0.1 do | |
1909 | swait() | |
1910 | PlayAnimationFromTable({ | |
1911 | CFrame.new(0, 0, 0, 0.999999881, 0, -4.47034836e-07, 0, 1, 0, -4.47034836e-07, 0, 1.00000024), | |
1912 | CFrame.new(-0.115837865, 1.50782096, -0.215681732, 0.984807611, -0.173648, -5.83465351e-07, 0.163175955, 0.925416708, 0.342019916, -0.0593914725, -0.33682391, 0.939692974), | |
1913 | CFrame.new(1.54293299, 0.123661026, 1.21202584e-06, 0.98480773, -0.173647955, -4.47034836e-07, 0.173647985, 0.984807849, 0, -4.43412773e-07, 8.23791027e-08, 1.00000024), | |
1914 | CFrame.new(-1.49999988, 0.984808981, 0.17364502, 0.999999881, 7.72039854e-08, 4.43865531e-07, 0, -0.984807849, 0.173647985, -4.47034836e-07, -0.173648015, -0.984808087), | |
1915 | CFrame.new(0.49999693, -1.99999797, 3.65078449e-06, 0.939692497, 0, -0.342020273, 0, 1, 0, 0.342019558, 0, 0.939693153), | |
1916 | CFrame.new(-0.499997526, -1.99999797, 2.32458115e-06, 0.939692736, 0, 0.342019409, 0, 1, 0, -0.342020422, 0, 0.939692795), | |
1917 | }, .3, false) | |
1918 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1919 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1920 | end | |
1921 | tr1.Enabled = true | |
1922 | CFuncs["Sound"].Create("rbxasset://sounds/swordlunge.wav", chara, 3, .7) | |
1923 | for i = 0, 1, 0.25 do | |
1924 | swait() | |
1925 | PlayAnimationFromTable({ | |
1926 | CFrame.new(0, 0, 0, 1, 0, 2.38418579e-07, 0, 1, 0, 2.38418579e-07, 0, 1.00000024), | |
1927 | CFrame.new(-0.0666886047, 1.42028046, 0.35870862, 0.984808087, -0.0868246108, 0.15038164, 0.163175017, 0.758906007, -0.630424976, -0.0593888946, 0.645386159, 0.761544466), | |
1928 | CFrame.new(1.47452879, 0.311596215, -3.63892013e-06, 0.939692736, -0.342019886, 1.1920929e-07, 0.342019916, 0.939692736, 0, 1.12020103e-07, -4.07719476e-08, 1.00000012), | |
1929 | CFrame.new(-0.971452236, 0.0420972407, -0.727193654, 0.472706228, -0.864956677, 0.168519452, 0.874283433, 0.436382502, -0.212600186, 0.110351123, 0.247830987, 0.962498188), | |
1930 | CFrame.new(0.499999553, -1.99999785, -3.15904617e-06, 0.939692795, 0, -0.342019647, 0, 1, 0, 0.342020184, 0, 0.939692795), | |
1931 | CFrame.new(-0.499998242, -1.99999785, 1.78813934e-07, 0.939692616, 0, 0.342020124, 0, 1, 0, -0.342019767, 0, 0.939693034), | |
1932 | }, .4, false) | |
1933 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1934 | end | |
1935 | local partasdeff = Instance.new("ParticleEmitter",Torso) | |
1936 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
1937 | partasdeff.LightEmission = .1 | |
1938 | partasdeff.Size = NumberSequence.new(0.2) | |
1939 | partasdeff.Texture = "rbxassetid://771221224" | |
1940 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1941 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1942 | partasdeff.Transparency = bbb | |
1943 | partasdeff.Size = aaa | |
1944 | partasdeff.ZOffset = .9 | |
1945 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1946 | partasdeff.LockedToPart = false | |
1947 | partasdeff.EmissionDirection = "Back" | |
1948 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1949 | partasdeff.Rate = 1000 | |
1950 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1951 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1952 | partasdeff.Speed = NumberRange.new(6) | |
1953 | partasdeff.VelocitySpread = 10000 | |
1954 | partasdeff.Enabled=false | |
1955 | partasdeff:Emit(30) | |
1956 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1.2, .8) | |
1957 | swait(10) | |
1958 | for i, v in pairs(chara:GetDescendants()) do | |
1959 | if v.Parent.Name == "ThePistol" or v.Parent.Name == "TheKnife" then | |
1960 | v.CanCollide = true | |
1961 | end | |
1962 | end | |
1963 | m.Parent = workspace | |
1964 | game:service'Debris':AddItem(m,20) | |
1965 | moter:Destroy() | |
1966 | swait(20) | |
1967 | Knifu.Parent = workspace | |
1968 | game:service'Debris':AddItem(Knifu,20) | |
1969 | for i = 0, 1, 0.1 do | |
1970 | swait() | |
1971 | PlayAnimationFromTable({ | |
1972 | CFrame.new(0, -1.39999962, 0, 1, 0, 2.38418852e-06, 0, 1, 0, 2.38418852e-06, 0, 1.00000238), | |
1973 | CFrame.new(-0.102913857, 1.42711043, -0.223223031, 0.984807372, -0.171011478, -0.0301612895, 0.163180962, 0.851966083, 0.497519821, -0.0593829304, -0.494883925, 0.866929054), | |
1974 | CFrame.new(1.40506089, -0.0823242813, 1.94649601e-07, 0.984807849, 0.173647985, 6.31810508e-06, -0.173647985, 0.984807849, 0, -3.87415957e-06, -6.83118003e-07, 1.00000119), | |
1975 | CFrame.new(-0.971458435, 0.0420978218, -0.727199256, 0.472706467, -0.864956141, 0.168521509, 0.874283433, 0.436382502, -0.212600186, 0.110352375, 0.247829661, 0.962500572), | |
1976 | CFrame.new(0.500002623, -1.26108539, 0.461084843, 0.939690471, -6.31810508e-06, -0.342026144, 0.342026144, 0, 0.939690471, -3.69667123e-06, -1.00000119, 1.34550498e-06), | |
1977 | CFrame.new(-0.499990612, -1.26108611, 0.461088777, 0.939694881, -6.31810508e-06, 0.342013985, -0.342013955, 0, 0.939694881, -3.69668851e-06, -1.00000119, -1.34545712e-06), | |
1978 | }, .3, false) | |
1979 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
1980 | end | |
1981 | swait(20) | |
1982 | KWeld:Destroy() | |
1983 | coroutine.wrap(function() | |
1984 | chara:BreakJoints() | |
1985 | swait(.2) | |
1986 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 3, .3) | |
1987 | chara:FindFirstChildOfClass("Humanoid"):Destroy() | |
1988 | for i,v in pairs(chara:GetChildren()) do | |
1989 | if v:IsA("BasePart") then | |
1990 | local bodpos = Instance.new("BodyPosition",v) | |
1991 | bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
1992 | p1mit:Clone().Parent = v | |
1993 | v.BrickColor = BrickColor.new("Really black") | |
1994 | end | |
1995 | end | |
1996 | for i=0,1,.05 do | |
1997 | for a,v in pairs(chara:GetChildren()) do | |
1998 | if v:IsA("BasePart") then | |
1999 | v.Transparency = i | |
2000 | end | |
2001 | end | |
2002 | swait() | |
2003 | end | |
2004 | for a,v in pairs(chara:GetChildren()) do | |
2005 | if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then | |
2006 | v.ParticleEmitter.Enabled = false | |
2007 | end | |
2008 | game:service'Debris':AddItem(v,2) | |
2009 | end | |
2010 | end)() | |
2011 | end | |
2012 | ||
2013 | function Tele(pos) | |
2014 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .8) | |
2015 | for _, v in pairs(chara:children()) do | |
2016 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
2017 | do | |
2018 | local p = v:clone() | |
2019 | p.Name = "trail" | |
2020 | p.Parent = EffectModel | |
2021 | p.Transparency = 0.5 | |
2022 | p.Anchored = true | |
2023 | p.BrickColor = BrickColor.new("Really red") | |
2024 | p.Material = "Neon" | |
2025 | p:BreakJoints() | |
2026 | p.CanCollide = false | |
2027 | if v == Head then | |
2028 | for a, b in pairs(p:children()) do | |
2029 | if b:IsA("Sound") then | |
2030 | b:Destroy() | |
2031 | end | |
2032 | end | |
2033 | end | |
2034 | coroutine.resume(coroutine.create(function() | |
2035 | for i = 1, 50 do | |
2036 | swait() | |
2037 | p.Transparency = i / 50 | |
2038 | end | |
2039 | p:Destroy() | |
2040 | end)) | |
2041 | end | |
2042 | end | |
2043 | if v.className == "Accessory" then | |
2044 | end | |
2045 | end | |
2046 | RootPart.CFrame = pos | |
2047 | end | |
2048 | ||
2049 | function TargetSelect(person) | |
2050 | local dd=coroutine.wrap(function() | |
2051 | if targetted ~= person then | |
2052 | targetted = person | |
2053 | for i=0,1,.05 do | |
2054 | swait() | |
2055 | crosshair.Size = UDim2.new(40-30*i,0,40-30*i,0) | |
2056 | imgl.ImageTransparency = 1-i | |
2057 | imgl2.ImageTransparency = 1-i | |
2058 | end | |
2059 | crosshair.Size = UDim2.new(10,0,10,0) | |
2060 | imgl.ImageTransparency = 0 | |
2061 | imgl2.ImageTransparency = 0 | |
2062 | end | |
2063 | end) | |
2064 | dd() | |
2065 | end | |
2066 | ||
2067 | function LockOn() | |
2068 | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2069 | TargetSelect(Mouse.Target.Parent) | |
2070 | CFuncs["Sound"].Create("rbxassetid://426803840", chara, 1, .8) | |
2071 | end | |
2072 | end | |
2073 | ||
2074 | ||
2075 | function ofmoosic() -- 2 lazi hoh | |
2076 | delays = true | |
2077 | while kkk and kkk.Volume >= 0.02 do | |
2078 | swait(.5) | |
2079 | kkk.Volume = kkk.Volume - 0.05 | |
2080 | end | |
2081 | swait(0.1) | |
2082 | kkk.Pitch = 0 | |
2083 | kkk.PlaybackSpeed = 0 | |
2084 | play = false | |
2085 | delays = false | |
2086 | end | |
2087 | function onmoosic() | |
2088 | delays = true | |
2089 | kkk.Pitch = 1 | |
2090 | kkk.PlaybackSpeed = 1 | |
2091 | while kkk and kkk.Volume <= 1 do | |
2092 | swait(.5) | |
2093 | kkk.Volume = kkk.Volume + 0.05 | |
2094 | end | |
2095 | swait(0.1) | |
2096 | play = true | |
2097 | delays = false | |
2098 | end | |
2099 | Mouse.Button1Down:connect(function() | |
2100 | if attack == false then | |
2101 | local cho = math.random(1,2) | |
2102 | if cho == 1 then | |
2103 | attacktwo() | |
2104 | elseif cho == 2 then | |
2105 | attack2two() | |
2106 | end | |
2107 | end | |
2108 | end) | |
2109 | ||
2110 | ||
2111 | Mouse.KeyDown:connect(function(k) | |
2112 | k = k:lower() | |
2113 | if attack == false and k == 'q' then | |
2114 | LockOn() | |
2115 | end | |
2116 | if attack == false and k == 'p' then | |
2117 | killyourself() | |
2118 | end | |
2119 | if k == 'z' and attack == false then | |
2120 | hedshoot() | |
2121 | elseif k == 'e' and attack == false and targetted ~= nil then | |
2122 | Tele(targetted.Head.CFrame * CFrame.new(0,-1.5,3)) | |
2123 | elseif k == 'x' and attack == false and targetted ~= nil then | |
2124 | local cho = math.random(1,2) | |
2125 | if cho == 1 then | |
2126 | attackone() | |
2127 | elseif cho == 2 then | |
2128 | attack2one() | |
2129 | end | |
2130 | elseif k == 'c' and attack == false and targetted ~= nil then | |
2131 | moarblood() | |
2132 | elseif k == 'v' and attack == false then | |
2133 | painlessrain() | |
2134 | elseif k == 'g' and delays == false then | |
2135 | delays = true | |
2136 | chatfunc("There is only darkness.") | |
2137 | delays = false | |
2138 | elseif k == 'm' and play == true and delays == false then | |
2139 | ofmoosic() | |
2140 | elseif k == 'm' and play == false and delays == false then | |
2141 | onmoosic() | |
2142 | end | |
2143 | end) | |
2144 | ||
2145 | kkk = Instance.new("Sound",chara) | |
2146 | kkk.Volume = 1 | |
2147 | kkk.PlaybackSpeed = 1 | |
2148 | kkk.Pitch = 1 | |
2149 | kkk.SoundId = "rbxassetid://426803840" | |
2150 | kkk:Play() | |
2151 | kkk.Name = "a" | |
2152 | kkk.Looped = true | |
2153 | ||
2154 | for i, v in pairs(chara:GetDescendants()) do | |
2155 | if v:IsA("BasePart") then | |
2156 | v.CanCollide = false | |
2157 | end | |
2158 | end | |
2159 | ||
2160 | coroutine.wrap(function() | |
2161 | while true do | |
2162 | swait() | |
2163 | for i, v in pairs(chara:GetDescendants()) do | |
2164 | if v:IsA("BasePart") and (v.Parent.Name == "ThePistol" or v.Parent.Name == "TheKnife") then | |
2165 | v.Anchored = false | |
2166 | end | |
2167 | end | |
2168 | chara.Torso.Anchored = false | |
2169 | end | |
2170 | end)() | |
2171 | coroutine.wrap(function() | |
2172 | while 1 do | |
2173 | swait() | |
2174 | if doe <= 360 then | |
2175 | doe = doe + 2 | |
2176 | else | |
2177 | doe = 0 | |
2178 | end | |
2179 | end | |
2180 | end)() | |
2181 | while true do | |
2182 | swait() | |
2183 | for i, v in pairs(chara:GetChildren()) do | |
2184 | if v:IsA("Part") then | |
2185 | v.Material = "SmoothPlastic" | |
2186 | elseif v:IsA("Accessory") then | |
2187 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2188 | end | |
2189 | end | |
2190 | while true do | |
2191 | swait() | |
2192 | Humanoid.MaxHealth = math.huge | |
2193 | Humanoid.Health = math.huge | |
2194 | Humanoid.Name = "asfopwejfopewkpfkwepfkp" | |
2195 | imgl.Rotation = imgl.Rotation + 3 | |
2196 | imgl2.Rotation = imgl2.Rotation - 3 | |
2197 | if targetted ~= nil then | |
2198 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2199 | crosshair.Enabled = true | |
2200 | elseif targetted == nil then | |
2201 | crosshair.Adornee = nil | |
2202 | crosshair.Enabled = false | |
2203 | targetted = nil | |
2204 | end | |
2205 | if targetted ~= nil and targetted:FindFirstChildOfClass("Humanoid").Health<1 then | |
2206 | crosshair.Adornee = nil | |
2207 | crosshair.Enabled = false | |
2208 | targetted = nil | |
2209 | end | |
2210 | while true and imgl.Rotation >= 360 do | |
2211 | imgl.Rotation = 0 | |
2212 | imgl2.Rotation = 0 | |
2213 | end | |
2214 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2215 | velocity = RootPart.Velocity.y | |
2216 | sine = sine + change | |
2217 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
2218 | if RootPart.Velocity.y > 1 and hit == nil then | |
2219 | Anim = "Jump" | |
2220 | if attack == false then | |
2221 | PlayAnimationFromTable({ | |
2222 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2223 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2224 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2225 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2226 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2227 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2228 | }, .3, false) | |
2229 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2230 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
2231 | end | |
2232 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2233 | Anim = "Fall" | |
2234 | if attack == false then | |
2235 | PlayAnimationFromTable({ | |
2236 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2237 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2238 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2239 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2240 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2241 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2242 | }, .3, false) | |
2243 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2244 | end | |
2245 | elseif Torsovelocity < 1 and hit ~= nil then | |
2246 | Anim = "Idle" | |
2247 | if attack == false then | |
2248 | change = 1 | |
2249 | PlayAnimationFromTable({ | |
2250 | CFrame.new(0.0315842479, -0.0265286062, -0.152690947, 0.906307876, 0.109381199, -0.408217728, 0, 0.965926111, 0.25881815, 0.422617942, -0.234568939, 0.875426471), | |
2251 | CFrame.new(8.40146095e-06, 1.4825958, -0.0984789878, 0.939692557, -0.059389703, 0.336824298, 0.0298068672, 0.995281875, 0.0923336893, -0.340718806, -0.0767255723, 0.937029362), | |
2252 | CFrame.new(1.10245335, 0.636036694, -0.730026484, 0.875466704, 0.48325485, 0.00478051743, 0.116469122, -0.201375037, -0.972565234, -0.469034195, 0.852005303, -0.232581407), | |
2253 | CFrame.new(-0.395449817, 0.579820335, -0.690471053, -0.341808617, -0.515997887, -0.785438061, -0.896480024, 0.429773033, 0.107790381, 0.28194046, 0.740973234, -0.609481931), | |
2254 | CFrame.new(0.499991119, -2.02235937, -0.229938298, 0.982728899, -0.0649467632, 0.173279479, 0.106723413, 0.963886976, -0.243992254, -0.15117538, 0.258271217, 0.954170942), | |
2255 | CFrame.new(-0.59830004, -2.02112007, -0.211634785, 0.983016431, 0.0602907613, 0.173330963, -0.0124089085, 0.964169204, -0.26499784, -0.183097318, 0.258346409, 0.948542297), | |
2256 | }, .3, false) | |
2257 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2258 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
2259 | end | |
2260 | elseif Torsovelocity > 2 and hit ~= nil then | |
2261 | Anim = "Walk" | |
2262 | if attack == false then | |
2263 | PlayAnimationFromTable({ | |
2264 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
2265 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2266 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2267 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2268 | 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), | |
2269 | 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), | |
2270 | }, .3, false) | |
2271 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2272 | KWeld.C0 = clerp(KWeld.C0, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.3) | |
2273 | end | |
2274 | end | |
2275 | if 0 < #Effects then | |
2276 | for e = 1, #Effects do | |
2277 | if Effects[e] ~= nil then | |
2278 | local Thing = Effects[e] | |
2279 | if Thing ~= nil then | |
2280 | local Part = Thing[1] | |
2281 | local Mode = Thing[2] | |
2282 | local Delay = Thing[3] | |
2283 | local IncX = Thing[4] | |
2284 | local IncY = Thing[5] | |
2285 | local IncZ = Thing[6] | |
2286 | if Thing[2] == "Shoot" then | |
2287 | local Look = Thing[1] | |
2288 | local move = 30 | |
2289 | if Thing[8] == 3 then | |
2290 | move = 10 | |
2291 | end | |
2292 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2293 | if Thing[10] ~= nil then | |
2294 | da = pos | |
2295 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2296 | cfa = CFrame.new(Thing[4], pos) | |
2297 | tehCF = cfa:lerp(cf2, 0.2) | |
2298 | Thing[1] = tehCF.lookVector | |
2299 | end | |
2300 | local mag = (Thing[4] - pos).magnitude | |
2301 | 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) | |
2302 | if Thing[8] == 2 then | |
2303 | 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) | |
2304 | end | |
2305 | Thing[4] = Thing[4] + Look * move | |
2306 | Thing[3] = Thing[3] - 1 | |
2307 | if 2 < Thing[5] then | |
2308 | Thing[5] = Thing[5] - 0.3 | |
2309 | Thing[6] = Thing[6] - 0.3 | |
2310 | end | |
2311 | if hit ~= nil then | |
2312 | Thing[3] = 0 | |
2313 | if Thing[8] == 1 or Thing[8] == 3 then | |
2314 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2315 | else | |
2316 | if Thing[8] == 2 then | |
2317 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2318 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
2319 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2320 | ref.Anchored = true | |
2321 | ref.CFrame = CFrame.new(pos) | |
2322 | CFuncs["Sound"].Create("426803840", ref, 1, 1.2) | |
2323 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2324 | 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) | |
2325 | 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) | |
2326 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2327 | end | |
2328 | end | |
2329 | end | |
2330 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2331 | ref.Anchored = true | |
2332 | ref.CFrame = CFrame.new(pos) | |
2333 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2334 | game:GetService("Debris"):AddItem(ref, 1) | |
2335 | end | |
2336 | if Thing[3] <= 0 then | |
2337 | table.remove(Effects, e) | |
2338 | end | |
2339 | end | |
2340 | do | |
2341 | do | |
2342 | if Thing[2] == "FireWave" then | |
2343 | if Thing[3] <= Thing[4] then | |
2344 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2345 | Thing[3] = Thing[3] + 1 | |
2346 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2347 | else | |
2348 | Part.Parent = nil | |
2349 | table.remove(Effects, e) | |
2350 | end | |
2351 | end | |
2352 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2353 | if Thing[1].Transparency <= 1 then | |
2354 | if Thing[2] == "Block1" then | |
2355 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2356 | Mesh = Thing[7] | |
2357 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2358 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2359 | else | |
2360 | if Thing[2] == "Block2" then | |
2361 | Thing[1].CFrame = Thing[1].CFrame | |
2362 | Mesh = Thing[7] | |
2363 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2364 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2365 | else | |
2366 | if Thing[2] == "Fire" then | |
2367 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2368 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2369 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2370 | else | |
2371 | if Thing[2] == "Cylinder" then | |
2372 | Mesh = Thing[7] | |
2373 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2374 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2375 | else | |
2376 | if Thing[2] == "Blood" then | |
2377 | Mesh = Thing[7] | |
2378 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2379 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2380 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2381 | else | |
2382 | if Thing[2] == "Elec" then | |
2383 | Mesh = Thing[10] | |
2384 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2385 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2386 | else | |
2387 | if Thing[2] == "Disappear" then | |
2388 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2389 | else | |
2390 | if Thing[2] == "Shatter" then | |
2391 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2392 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2393 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2394 | Thing[6] = Thing[6] + Thing[5] | |
2395 | end | |
2396 | end | |
2397 | end | |
2398 | end | |
2399 | end | |
2400 | end | |
2401 | end | |
2402 | end | |
2403 | else | |
2404 | Part.Parent = nil | |
2405 | table.remove(Effects, e) | |
2406 | end | |
2407 | end | |
2408 | end | |
2409 | end | |
2410 | end | |
2411 | end | |
2412 | end | |
2413 | end | |
2414 | end | |
2415 | end |