SHOW:
|
|
- or go back to the newest paste.
1 | -- [[[ | |
2 | --000000[[====================================================================================\\ | |
3 | --000000[[ deivis97 edit | |
4 | --000000[[====================================================================================// | |
5 | -- [[[ | |
6 | -- This script has been converted to FE by iPxter | |
7 | ||
8 | - | local Player = game.Players.localPlayer |
8 | + | |
9 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
10 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
11 | - | local Mouse = Player:GetMouse() |
11 | + | do |
12 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
13 | script.Parent = Player.Character | |
14 | ||
15 | --RemoteEvent for communicating | |
16 | local Event = Instance.new("RemoteEvent") | |
17 | Event.Name = "UserInput_Event" | |
18 | ||
19 | --Fake event to make stuff like Mouse.KeyDown work | |
20 | local function fakeEvent() | |
21 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
22 | t.connect = t.Connect | |
23 | return t | |
24 | end | |
25 | ||
26 | --Creating fake input objects with fake variables | |
27 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
28 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
29 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
30 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
31 | end} | |
32 | --Merged 2 functions into one by checking amount of arguments | |
33 | CAS.UnbindAction = CAS.BindAction | |
34 | ||
35 | --This function will trigger the events that have been :Connect()'ed | |
36 | local function te(self,ev,...) | |
37 | local t = m[ev] | |
38 | if t and t._fakeEvent and t.Function then | |
39 | t.Function(...) | |
40 | end | |
41 | end | |
42 | m.TrigEvent = te | |
43 | UIS.TrigEvent = te | |
44 | ||
45 | Event.OnServerEvent:Connect(function(plr,io) | |
46 | if plr~=Player then return end | |
47 | if io.isMouse then | |
48 | m.Target = io.Target | |
49 | m.Hit = io.Hit | |
50 | else | |
51 | local b = io.UserInputState == Enum.UserInputState.Begin | |
52 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
53 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
54 | end | |
55 | for _,t in pairs(CAS.Actions) do | |
56 | for _,k in pairs(t.Keys) do | |
57 | if k==io.KeyCode then | |
58 | t.Function(t.Name,io.UserInputState,io) | |
59 | end | |
60 | end | |
61 | end | |
62 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
63 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
64 | end | |
65 | end) | |
66 | Event.Parent = NLS([==[ | |
67 | local Player = game:GetService("Players").LocalPlayer | |
68 | local Event = script:WaitForChild("UserInput_Event") | |
69 | ||
70 | local UIS = game:GetService("UserInputService") | |
71 | local input = function(io,a) | |
72 | if a then return end | |
73 | --Since InputObject is a client-side instance, we create and pass table instead | |
74 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
75 | end | |
76 | UIS.InputBegan:Connect(input) | |
77 | UIS.InputEnded:Connect(input) | |
78 | ||
79 | local Mouse = Player:GetMouse() | |
80 | local h,t | |
81 | --Give the server mouse data 30 times every second, but only if the values changed | |
82 | --If player is not moving their mouse, client won't fire events | |
83 | while wait(1/30) do | |
84 | if h~=Mouse.Hit or t~=Mouse.Target then | |
85 | h,t=Mouse.Hit,Mouse.Target | |
86 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
87 | end | |
88 | end]==],Player.Character) | |
89 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
90 | end | |
91 | ||
92 | wait(1 / 60) | |
93 | Effects = { } | |
94 | local Player = owner | |
95 | local Character = Player.Character | |
96 | local Humanoid = Character.Humanoid | |
97 | local LeftArm = Character["Left Arm"] | |
98 | local RightArm = Character["Right Arm"] | |
99 | local LeftLeg = Character["Left Leg"] | |
100 | local RightLeg = Character["Right Leg"] | |
101 | local Head = Character.Head | |
102 | local Torso = Character.Torso | |
103 | local Camera = game.Workspace.CurrentCamera | |
104 | local RootPart = Character.HumanoidRootPart | |
105 | local RootJoint = RootPart.RootJoint | |
106 | local attack = false | |
107 | local Anim = 'Idle' | |
108 | local attacktype = 1 | |
109 | local delays = false | |
110 | local play = true | |
111 | local targetted = nil | |
112 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
113 | local velocity = RootPart.Velocity.y | |
114 | local sine = 0 | |
115 | local change = 1 | |
116 | local doe = 0 | |
117 | local Create = LoadLibrary("RbxUtility").Create | |
118 | Humanoid.WalkSpeed = 8 | |
119 | local m = Create("Model"){ | |
120 | Parent = Character, | |
121 | Name = "WeaponModel", | |
122 | } | |
123 | ||
124 | Humanoid.Animator.Parent = nil | |
125 | Character.Animate.Parent = nil | |
126 | ||
127 | local newMotor = function(part0, part1, c0, c1) | |
128 | local w = Create('Motor'){ | |
129 | Parent = part0, | |
130 | Part0 = part0, | |
131 | Part1 = part1, | |
132 | C0 = c0, | |
133 | C1 = c1, | |
134 | } | |
135 | return w | |
136 | end | |
137 | ||
138 | function clerp(a, b, t) | |
139 | return a:lerp(b, t) | |
140 | end | |
141 | ||
142 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
143 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
144 | ||
145 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
146 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
147 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
148 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
149 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
150 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
151 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
152 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
153 | ||
154 | local rarmc1 = RW.C1 | |
155 | local larmc1 = LW.C1 | |
156 | local rlegc1 = RH.C1 | |
157 | local llegc1 = LH.C1 | |
158 | ||
159 | local resetc1 = false | |
160 | ||
161 | function PlayAnimationFromTable(table, speed, bool) | |
162 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
163 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
164 | RW.C0 = clerp(RW.C0, table[3], speed) | |
165 | LW.C0 = clerp(LW.C0, table[4], speed) | |
166 | RH.C0 = clerp(RH.C0, table[5], speed) | |
167 | LH.C0 = clerp(LH.C0, table[6], speed) | |
168 | if bool == true then | |
169 | if resetc1 == false then | |
170 | resetc1 = true | |
171 | RootJoint.C1 = RootJoint.C1 | |
172 | Torso.Neck.C1 = Torso.Neck.C1 | |
173 | RW.C1 = rarmc1 | |
174 | LW.C1 = larmc1 | |
175 | RH.C1 = rlegc1 | |
176 | LH.C1 = llegc1 | |
177 | end | |
178 | end | |
179 | end | |
180 | for i,v in pairs(Character:GetChildren()) do | |
181 | if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Pants" then | |
182 | v:destroy() | |
183 | end | |
184 | end | |
185 | local face = "http://www.roblox.com/asset/?id=1313636355" | |
186 | Head.face.Texture = face | |
187 | ||
188 | local Hair = Instance.new("Part") | |
189 | Hair.Parent = Character | |
190 | Hair.Name = "Hair" | |
191 | Hair.Size = Vector3.new(0.1, 0.1, 0.1) | |
192 | Hair.CFrame = Character.Head.CFrame | |
193 | Hair:BreakJoints() | |
194 | Hair.CanCollide = false | |
195 | Hair.BrickColor = BrickColor.new("New Yeller") | |
196 | Hair.TopSurface = "Smooth" | |
197 | Hair.BottomSurface = "Smooth" | |
198 | Weld = Instance.new("Weld") | |
199 | Weld.Name = "Weld" | |
200 | Weld.Part0 = Character.Head | |
201 | Weld.Part1 = Hair | |
202 | Weld.Parent = Character.Head | |
203 | Weld.C0 = CFrame.new(0, -1.4, 0.2)*CFrame.fromEulerAnglesXYZ(0.1, 0, 0) | |
204 | Mesh = Instance.new("SpecialMesh") | |
205 | Mesh.Parent = Hair | |
206 | Mesh.MeshId = "rbxassetid://1389678629" | |
207 | Mesh.TextureId = "http://www.roblox.com/asset/?id=1389678737" | |
208 | Mesh.Scale = Vector3.new(0.050, 0.050, 0.050) | |
209 | ||
210 | local Shirt = "rbxassetid://244350405" | |
211 | local Pants = "rbxassetid://244350261" | |
212 | ||
213 | ypcall(function() | |
214 | shirt = Instance.new("Shirt", Character) | |
215 | shirt.Name = "Shirt" | |
216 | pants = Instance.new("Pants", Character) | |
217 | pants.Name = "Pants" | |
218 | Character.Shirt.ShirtTemplate = Shirt | |
219 | Character.Pants.PantsTemplate = Pants | |
220 | end) | |
221 | ||
222 | ArtificialHB = Create("BindableEvent", script){ | |
223 | Parent = script, | |
224 | Name = "Heartbeat", | |
225 | } | |
226 | ||
227 | script:WaitForChild("Heartbeat") | |
228 | ||
229 | frame = 1 / 30 | |
230 | tf = 0 | |
231 | allowframeloss = false | |
232 | tossremainder = false | |
233 | lastframe = tick() | |
234 | script.Heartbeat:Fire() | |
235 | ||
236 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
237 | tf = tf + s | |
238 | if tf >= frame then | |
239 | if allowframeloss then | |
240 | script.Heartbeat:Fire() | |
241 | lastframe = tick() | |
242 | else | |
243 | for i = 1, math.floor(tf / frame) do | |
244 | script.Heartbeat:Fire() | |
245 | end | |
246 | lastframe = tick() | |
247 | end | |
248 | if tossremainder then | |
249 | tf = 0 | |
250 | else | |
251 | tf = tf - frame * math.floor(tf / frame) | |
252 | end | |
253 | end | |
254 | end) | |
255 | ||
256 | function swait(num) | |
257 | if num == 0 or num == nil then | |
258 | ArtificialHB.Event:wait() | |
259 | else | |
260 | for i = 0, num do | |
261 | ArtificialHB.Event:wait() | |
262 | end | |
263 | end | |
264 | end | |
265 | ||
266 | function RemoveOutlines(part) | |
267 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
268 | end | |
269 | ||
270 | CFuncs = { | |
271 | ["Part"] = { | |
272 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
273 | local Part = Create("Part"){ | |
274 | Parent = Parent, | |
275 | Reflectance = Reflectance, | |
276 | Transparency = Transparency, | |
277 | CanCollide = false, | |
278 | Locked = true, | |
279 | BrickColor = BrickColor.new(tostring(BColor)), | |
280 | Name = Name, | |
281 | Size = Size, | |
282 | Material = Material, | |
283 | } | |
284 | RemoveOutlines(Part) | |
285 | return Part | |
286 | end; | |
287 | }; | |
288 | ||
289 | ["Mesh"] = { | |
290 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
291 | local Msh = Create(Mesh){ | |
292 | Parent = Part, | |
293 | Offset = OffSet, | |
294 | Scale = Scale, | |
295 | } | |
296 | if Mesh == "SpecialMesh" then | |
297 | Msh.MeshType = MeshType | |
298 | Msh.MeshId = MeshId | |
299 | end | |
300 | return Msh | |
301 | end; | |
302 | }; | |
303 | ||
304 | ["Mesh"] = { | |
305 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
306 | local Msh = Create(Mesh){ | |
307 | Parent = Part, | |
308 | Offset = OffSet, | |
309 | Scale = Scale, | |
310 | } | |
311 | if Mesh == "SpecialMesh" then | |
312 | Msh.MeshType = MeshType | |
313 | Msh.MeshId = MeshId | |
314 | end | |
315 | return Msh | |
316 | end; | |
317 | }; | |
318 | ||
319 | ["Weld"] = { | |
320 | Create = function(Parent, Part0, Part1, C0, C1) | |
321 | local Weld = Create("Weld"){ | |
322 | Parent = Parent, | |
323 | Part0 = Part0, | |
324 | Part1 = Part1, | |
325 | C0 = C0, | |
326 | C1 = C1, | |
327 | } | |
328 | return Weld | |
329 | end; | |
330 | }; | |
331 | ||
332 | ["Sound"] = { | |
333 | Create = function(id, par, vol, pit) | |
334 | coroutine.resume(coroutine.create(function() | |
335 | local S = Create("Sound"){ | |
336 | Volume = vol, | |
337 | Pitch = pit or 1, | |
338 | SoundId = id, | |
339 | Parent = par or workspace, | |
340 | } | |
341 | wait() | |
342 | S:play() | |
343 | game:GetService("Debris"):AddItem(S, 6) | |
344 | end)) | |
345 | end; | |
346 | }; | |
347 | ||
348 | ["ParticleEmitter"] = { | |
349 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
350 | local fp = Create("ParticleEmitter"){ | |
351 | Parent = Parent, | |
352 | Color = ColorSequence.new(Color1, Color2), | |
353 | LightEmission = LightEmission, | |
354 | Size = Size, | |
355 | Texture = Texture, | |
356 | Transparency = Transparency, | |
357 | ZOffset = ZOffset, | |
358 | Acceleration = Accel, | |
359 | Drag = Drag, | |
360 | LockedToPart = LockedToPart, | |
361 | VelocityInheritance = VelocityInheritance, | |
362 | EmissionDirection = EmissionDirection, | |
363 | Enabled = Enabled, | |
364 | Lifetime = LifeTime, | |
365 | Rate = Rate, | |
366 | Rotation = Rotation, | |
367 | RotSpeed = RotSpeed, | |
368 | Speed = Speed, | |
369 | VelocitySpread = VelocitySpread, | |
370 | } | |
371 | return fp | |
372 | end; | |
373 | }; | |
374 | ||
375 | CreateTemplate = { | |
376 | ||
377 | }; | |
378 | } | |
379 | ||
380 | ||
381 | ||
382 | New = function(Object, Parent, Name, Data) | |
383 | local Object = Instance.new(Object) | |
384 | for Index, Value in pairs(Data or {}) do | |
385 | Object[Index] = Value | |
386 | end | |
387 | Object.Parent = Parent | |
388 | Object.Name = Name | |
389 | return Object | |
390 | end | |
391 | ||
392 | Handle = New("Part",m,"Handle",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,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,}) | |
393 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
394 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
395 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
396 | 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),}) | |
397 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,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,}) | |
398 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
399 | 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),}) | |
400 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
401 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
402 | 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),}) | |
403 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
404 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
405 | 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),}) | |
406 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
407 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
408 | 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),}) | |
409 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
410 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
411 | 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),}) | |
412 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,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,}) | |
413 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
414 | 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),}) | |
415 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),BrickColor = BrickColor.new("Pink"),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),}) | |
416 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
417 | 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),}) | |
418 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
419 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
420 | 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),}) | |
421 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),BrickColor = BrickColor.new("Pink"),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),}) | |
422 | 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),}) | |
423 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
424 | 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),}) | |
425 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
426 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
427 | 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),}) | |
428 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
429 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
430 | 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),}) | |
431 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
432 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
433 | 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),}) | |
434 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Toothpaste"),Material = Enum.Material.Neon,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,}) | |
435 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
436 | 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),}) | |
437 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
438 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
439 | 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),}) | |
440 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
441 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
442 | 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),}) | |
443 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
444 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
445 | 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),}) | |
446 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),BrickColor = BrickColor.new("Pink"),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),}) | |
447 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
448 | 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),}) | |
449 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,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,}) | |
450 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
451 | 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),}) | |
452 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),BrickColor = BrickColor.new("Pink"),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),}) | |
453 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
454 | 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),}) | |
455 | ||
456 | for _,v in pairs(m:children()) do | |
457 | if v:IsA("Part") then | |
458 | v.CanCollide = false | |
459 | end | |
460 | end | |
461 | if Character.Name == "grgrgry21" or Character.Name == "Player1" then | |
462 | for _,v in pairs(Character:children()) do | |
463 | if v:IsA("Accessory") then | |
464 | v:Remove() | |
465 | end | |
466 | end | |
467 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Toothpaste"),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),}) | |
468 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
469 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",}) | |
470 | 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),}) | |
471 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Hot pink"),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),}) | |
472 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
473 | 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),}) | |
474 | end | |
475 | ||
476 | ||
477 | function rayCast(Position, Direction, Range, Ignore) | |
478 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
479 | end | |
480 | ||
481 | --[[FindNearestTorso = function(pos) | |
482 | local list = (game.Workspace:children()) | |
483 | local torso = nil | |
484 | local dist = 1000 | |
485 | local temp, human, temp2 = nil, nil, nil | |
486 | for x = 1, #list do | |
487 | temp2 = list[x] | |
488 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
489 | temp = temp2:findFirstChild("Torso") | |
490 | human = temp2:findFirstChild("Humanoid") | |
491 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
492 | local dohit = true | |
493 | if dohit == true then | |
494 | torso = temp | |
495 | dist = (temp.Position - pos).magnitude | |
496 | end | |
497 | end | |
498 | end | |
499 | end | |
500 | return torso, dist | |
501 | end]] | |
502 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
503 | if SinglePlayer then | |
504 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
505 | end | |
506 | local List = {} | |
507 | for i, v in pairs(workspace:GetChildren()) do | |
508 | if v:IsA("Model") then | |
509 | if v:findFirstChild("Torso") then | |
510 | if v ~= Character then | |
511 | if (v.Torso.Position - Position).magnitude <= Distance then | |
512 | table.insert(List, v) | |
513 | end | |
514 | end | |
515 | end | |
516 | end | |
517 | end | |
518 | return List | |
519 | end | |
520 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
521 | if hit.Parent == nil then | |
522 | return | |
523 | end | |
524 | local h = hit.Parent:FindFirstChild("Humanoid") | |
525 | for _, v in pairs(hit.Parent:children()) do | |
526 | if v:IsA("Humanoid") then | |
527 | h = v | |
528 | end | |
529 | end | |
530 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
531 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
532 | if hit.Parent.DebounceHit.Value == true then | |
533 | return | |
534 | end | |
535 | end | |
536 | local c = Create("ObjectValue"){ | |
537 | Name = "creator", | |
538 | Value = game:service("Players").LocalPlayer, | |
539 | Parent = h, | |
540 | } | |
541 | game:GetService("Debris"):AddItem(c, .5) | |
542 | if HitSound ~= nil and HitPitch ~= nil then | |
543 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
544 | end | |
545 | local Damage = math.random(minim, maxim) | |
546 | local blocked = false | |
547 | local block = hit.Parent:findFirstChild("Block") | |
548 | if block ~= nil then | |
549 | if block.className == "IntValue" then | |
550 | if block.Value > 0 then | |
551 | blocked = true | |
552 | block.Value = block.Value - 1 | |
553 | print(block.Value) | |
554 | end | |
555 | end | |
556 | end | |
557 | if blocked == false then | |
558 | h.Health = h.Health - Damage | |
559 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Toothpaste").Color) | |
560 | else | |
561 | h.Health = h.Health - (Damage / 2) | |
562 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Toothpaste").Color) | |
563 | end | |
564 | if Type == "Knockdown" then | |
565 | local hum = hit.Parent.Humanoid | |
566 | hum.PlatformStand = true | |
567 | coroutine.resume(coroutine.create(function(HHumanoid) | |
568 | swait(1) | |
569 | HHumanoid.PlatformStand = false | |
570 | end), hum) | |
571 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
572 | local bodvol = Create("BodyVelocity"){ | |
573 | velocity = angle * knockback, | |
574 | P = 5000, | |
575 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
576 | Parent = hit, | |
577 | } | |
578 | local rl = Create("BodyAngularVelocity"){ | |
579 | P = 3000, | |
580 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
581 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
582 | Parent = hit, | |
583 | } | |
584 | game:GetService("Debris"):AddItem(bodvol, .5) | |
585 | game:GetService("Debris"):AddItem(rl, .5) | |
586 | elseif Type == "Normal" then | |
587 | local vp = Create("BodyVelocity"){ | |
588 | P = 500, | |
589 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
590 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
591 | } | |
592 | if knockback > 0 then | |
593 | vp.Parent = hit.Parent.Torso | |
594 | end | |
595 | game:GetService("Debris"):AddItem(vp, .5) | |
596 | elseif Type == "Up" then | |
597 | local bodyVelocity = Create("BodyVelocity"){ | |
598 | velocity = Vector3.new(0, 20, 0), | |
599 | P = 5000, | |
600 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
601 | Parent = hit, | |
602 | } | |
603 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
604 | elseif Type == "DarkUp" then | |
605 | coroutine.resume(coroutine.create(function() | |
606 | for i = 0, 1, 0.1 do | |
607 | swait() | |
608 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
609 | end | |
610 | end)) | |
611 | local bodyVelocity = Create("BodyVelocity"){ | |
612 | velocity = Vector3.new(0, 20, 0), | |
613 | P = 5000, | |
614 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
615 | Parent = hit, | |
616 | } | |
617 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
618 | elseif Type == "Snare" then | |
619 | local bp = Create("BodyPosition"){ | |
620 | P = 2000, | |
621 | D = 100, | |
622 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
623 | position = hit.Parent.Torso.Position, | |
624 | Parent = hit.Parent.Torso, | |
625 | } | |
626 | game:GetService("Debris"):AddItem(bp, 1) | |
627 | elseif Type == "Freeze" then | |
628 | local BodPos = Create("BodyPosition"){ | |
629 | P = 50000, | |
630 | D = 1000, | |
631 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
632 | position = hit.Parent.Torso.Position, | |
633 | Parent = hit.Parent.Torso, | |
634 | } | |
635 | local BodGy = Create("BodyGyro") { | |
636 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
637 | P = 20e+003, | |
638 | Parent = hit.Parent.Torso, | |
639 | cframe = hit.Parent.Torso.CFrame, | |
640 | } | |
641 | hit.Parent.Torso.Anchored = true | |
642 | coroutine.resume(coroutine.create(function(Part) | |
643 | swait(1.5) | |
644 | Part.Anchored = false | |
645 | end), hit.Parent.Torso) | |
646 | game:GetService("Debris"):AddItem(BodPos, 3) | |
647 | game:GetService("Debris"):AddItem(BodGy, 3) | |
648 | end | |
649 | local debounce = Create("BoolValue"){ | |
650 | Name = "DebounceHit", | |
651 | Parent = hit.Parent, | |
652 | Value = true, | |
653 | } | |
654 | game:GetService("Debris"):AddItem(debounce, Delay) | |
655 | c = Create("ObjectValue"){ | |
656 | Name = "creator", | |
657 | Value = Player, | |
658 | Parent = h, | |
659 | } | |
660 | game:GetService("Debris"):AddItem(c, .5) | |
661 | end | |
662 | end | |
663 | ||
664 | function ShowDamage(Pos, Text, Time, Color) | |
665 | local Rate = (1 / 30) | |
666 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
667 | local Text = (Text or "") | |
668 | local Time = (Time or 2) | |
669 | local Color = (Color or Color3.new(1, 0, 1)) | |
670 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
671 | EffectPart.Anchored = true | |
672 | local BillboardGui = Create("BillboardGui"){ | |
673 | Size = UDim2.new(3, 0, 3, 0), | |
674 | Adornee = EffectPart, | |
675 | Parent = EffectPart, | |
676 | } | |
677 | local TextLabel = Create("TextLabel"){ | |
678 | BackgroundTransparency = 1, | |
679 | Size = UDim2.new(1, 0, 1, 0), | |
680 | Text = Text, | |
681 | Font = "SciFi", | |
682 | TextColor3 = Color, | |
683 | TextScaled = true, | |
684 | Parent = BillboardGui, | |
685 | } | |
686 | game.Debris:AddItem(EffectPart, (Time)) | |
687 | EffectPart.Parent = game:GetService("Workspace") | |
688 | delay(0, function() | |
689 | local Frames = (Time / Rate) | |
690 | for Frame = 1, Frames do | |
691 | wait(Rate) | |
692 | local Percent = (Frame / Frames) | |
693 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
694 | TextLabel.TextTransparency = Percent | |
695 | end | |
696 | if EffectPart and EffectPart.Parent then | |
697 | EffectPart:Destroy() | |
698 | end | |
699 | end) | |
700 | end | |
701 | ||
702 | function dmg(dude) | |
703 | if dude.Name ~= Character then | |
704 | dude.Humanoid.PlatformStand = true | |
705 | local bgf = Instance.new("BodyGyro",dude.Head) | |
706 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
707 | local val = Instance.new("BoolValue",dude) | |
708 | val.Name = "IsHit" | |
709 | for i = 1, 6 do | |
710 | local blo = Instance.new("Part",game.Workspace) | |
711 | blo.Size = Vector3.new(.6,.2,.6) | |
712 | blo.Material = "Neon" | |
713 | blo.BrickColor = BrickColor.new("Hot pink") | |
714 | --blo.Position = dude.Head.Position | |
715 | blo.CFrame = dude.Head.CFrame | |
716 | game:GetService("Debris"):AddItem(blo,30) | |
717 | end | |
718 | local ds = coroutine.wrap(function() | |
719 | wait(.2) | |
720 | dude.Torso:BreakJoints() | |
721 | end) | |
722 | ds() | |
723 | end | |
724 | end | |
725 | ||
726 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
727 | --local buddy | |
728 | for _, c in pairs(workspace:children()) do | |
729 | local hum = c:findFirstChild("Humanoid") | |
730 | if hum ~= nil then | |
731 | local head = c:findFirstChild("Torso") | |
732 | if head ~= nil then | |
733 | local targ = head.Position - Part.Position | |
734 | local mag = targ.magnitude | |
735 | if mag <= Magnitude and c.Name ~= Player.Name then | |
736 | if c.Name ~= Character then | |
737 | if c.Name ~= "CKbackup" then | |
738 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
739 | asd.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
740 | asd.LightEmission = .1 | |
741 | asd.Size = NumberSequence.new(0.2) | |
742 | asd.Texture = "http://www.roblox.com/asset/?ID=114055322" | |
743 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
744 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
745 | asd.Transparency = bbb | |
746 | asd.Size = aaa | |
747 | asd.ZOffset = .9 | |
748 | asd.Acceleration = Vector3.new(0, -5, 0) | |
749 | asd.LockedToPart = false | |
750 | asd.EmissionDirection = "Back" | |
751 | asd.Lifetime = NumberRange.new(1, 2) | |
752 | asd.Rate = 1000 | |
753 | asd.Rotation = NumberRange.new(-100, 100) | |
754 | asd.RotSpeed = NumberRange.new(-100, 100) | |
755 | asd.Speed = NumberRange.new(6) | |
756 | asd.VelocitySpread = 10000 | |
757 | asd.Enabled=true | |
758 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
759 | dmg(c) | |
760 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8) | |
761 | coroutine.wrap(function() | |
762 | wait(.2) | |
763 | asd.Enabled = false | |
764 | wait(2) | |
765 | asd:Remove() | |
766 | end)() | |
767 | else | |
768 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3)) | |
769 | Effects.Sphere.Create(BrickColor.new("Hot pink"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
770 | ||
771 | end | |
772 | end | |
773 | end | |
774 | end | |
775 | end | |
776 | end | |
777 | end | |
778 | EffectModel = Create("Model"){ | |
779 | Parent = Character, | |
780 | Name = "Effects", | |
781 | } | |
782 | ||
783 | Effects = { | |
784 | Block = { | |
785 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
786 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
787 | prt.Anchored = true | |
788 | prt.CFrame = cframe | |
789 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
790 | game:GetService("Debris"):AddItem(prt, 10) | |
791 | if Type == 1 or Type == nil then | |
792 | table.insert(Effects, { | |
793 | prt, | |
794 | "Block1", | |
795 | delay, | |
796 | x3, | |
797 | y3, | |
798 | z3, | |
799 | msh | |
800 | }) | |
801 | elseif Type == 2 then | |
802 | table.insert(Effects, { | |
803 | prt, | |
804 | "Block2", | |
805 | delay, | |
806 | x3, | |
807 | y3, | |
808 | z3, | |
809 | msh | |
810 | }) | |
811 | end | |
812 | end; | |
813 | }; | |
814 | ||
815 | Cylinder = { | |
816 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
817 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
818 | prt.Anchored = true | |
819 | prt.CFrame = cframe | |
820 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
821 | game:GetService("Debris"):AddItem(prt, 10) | |
822 | table.insert(Effects, { | |
823 | prt, | |
824 | "Cylinder", | |
825 | delay, | |
826 | x3, | |
827 | y3, | |
828 | z3, | |
829 | msh | |
830 | }) | |
831 | end; | |
832 | }; | |
833 | Head = { | |
834 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
835 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
836 | prt.Anchored = true | |
837 | prt.CFrame = cframe | |
838 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
839 | game:GetService("Debris"):AddItem(prt, 10) | |
840 | table.insert(Effects, { | |
841 | prt, | |
842 | "Cylinder", | |
843 | delay, | |
844 | x3, | |
845 | y3, | |
846 | z3, | |
847 | msh | |
848 | }) | |
849 | end; | |
850 | }; | |
851 | ||
852 | Sphere = { | |
853 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
854 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
855 | prt.Anchored = true | |
856 | prt.CFrame = cframe | |
857 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
858 | game:GetService("Debris"):AddItem(prt, 10) | |
859 | table.insert(Effects, { | |
860 | prt, | |
861 | "Cylinder", | |
862 | delay, | |
863 | x3, | |
864 | y3, | |
865 | z3, | |
866 | msh | |
867 | }) | |
868 | end; | |
869 | }; | |
870 | ||
871 | Elect = { | |
872 | Create = function(cff, x, y, z) | |
873 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
874 | prt.Anchored = true | |
875 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
876 | prt.CFrame = CFrame.new(prt.Position) | |
877 | game:GetService("Debris"):AddItem(prt, 2) | |
878 | local xval = math.random() / 2 | |
879 | local yval = math.random() / 2 | |
880 | local zval = math.random() / 2 | |
881 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
882 | table.insert(Effects, { | |
883 | prt, | |
884 | "Elec", | |
885 | 0.1, | |
886 | x, | |
887 | y, | |
888 | z, | |
889 | xval, | |
890 | yval, | |
891 | zval | |
892 | }) | |
893 | end; | |
894 | ||
895 | }; | |
896 | ||
897 | Ring = { | |
898 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
899 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
900 | prt.Anchored = true | |
901 | prt.CFrame = cframe | |
902 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
903 | game:GetService("Debris"):AddItem(prt, 10) | |
904 | table.insert(Effects, { | |
905 | prt, | |
906 | "Cylinder", | |
907 | delay, | |
908 | x3, | |
909 | y3, | |
910 | z3, | |
911 | msh | |
912 | }) | |
913 | end; | |
914 | }; | |
915 | ||
916 | ||
917 | Wave = { | |
918 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
919 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
920 | prt.Anchored = true | |
921 | prt.CFrame = cframe | |
922 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
923 | game:GetService("Debris"):AddItem(prt, 10) | |
924 | table.insert(Effects, { | |
925 | prt, | |
926 | "Cylinder", | |
927 | delay, | |
928 | x3, | |
929 | y3, | |
930 | z3, | |
931 | msh | |
932 | }) | |
933 | end; | |
934 | }; | |
935 | ||
936 | Break = { | |
937 | Create = function(brickcolor, cframe, x1, y1, z1) | |
938 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
939 | prt.Anchored = true | |
940 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
941 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
942 | local num = math.random(10, 50) / 1000 | |
943 | game:GetService("Debris"):AddItem(prt, 10) | |
944 | table.insert(Effects, { | |
945 | prt, | |
946 | "Shatter", | |
947 | num, | |
948 | prt.CFrame, | |
949 | math.random() - math.random(), | |
950 | 0, | |
951 | math.random(50, 100) / 100 | |
952 | }) | |
953 | end; | |
954 | }; | |
955 | ||
956 | Fire = { | |
957 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
958 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
959 | prt.Anchored = true | |
960 | prt.CFrame = cframe | |
961 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
962 | game:GetService("Debris"):AddItem(prt, 10) | |
963 | table.insert(Effects, { | |
964 | prt, | |
965 | "Fire", | |
966 | delay, | |
967 | 1, | |
968 | 1, | |
969 | 1, | |
970 | msh | |
971 | }) | |
972 | end; | |
973 | }; | |
974 | ||
975 | FireWave = { | |
976 | Create = function(brickcolor, cframe, x1, y1, z1) | |
977 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
978 | prt.Anchored = true | |
979 | prt.CFrame = cframe | |
980 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
981 | local d = Create("Decal"){ | |
982 | Parent = prt, | |
983 | Texture = "rbxassetid://26356434", | |
984 | Face = "Top", | |
985 | } | |
986 | local d = Create("Decal"){ | |
987 | Parent = prt, | |
988 | Texture = "rbxassetid://26356434", | |
989 | Face = "Bottom", | |
990 | } | |
991 | game:GetService("Debris"):AddItem(prt, 10) | |
992 | table.insert(Effects, { | |
993 | prt, | |
994 | "FireWave", | |
995 | 1, | |
996 | 30, | |
997 | math.random(400, 600) / 100, | |
998 | msh | |
999 | }) | |
1000 | end; | |
1001 | }; | |
1002 | ||
1003 | Lightning = { | |
1004 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1005 | local magz = (p0 - p1).magnitude | |
1006 | local curpos = p0 | |
1007 | local trz = { | |
1008 | -ofs, | |
1009 | ofs | |
1010 | } | |
1011 | for i = 1, tym do | |
1012 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1013 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1014 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1015 | li.Material = "Neon" | |
1016 | if tym == i then | |
1017 | local magz2 = (curpos - p1).magnitude | |
1018 | li.Size = Vector3.new(th, th, magz2) | |
1019 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1020 | table.insert(Effects, { | |
1021 | li, | |
1022 | "Disappear", | |
1023 | last | |
1024 | }) | |
1025 | else | |
1026 | do | |
1027 | do | |
1028 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1029 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1030 | game.Debris:AddItem(li, 10) | |
1031 | table.insert(Effects, { | |
1032 | li, | |
1033 | "Disappear", | |
1034 | last | |
1035 | }) | |
1036 | end | |
1037 | end | |
1038 | end | |
1039 | end | |
1040 | end | |
1041 | }; | |
1042 | ||
1043 | EffectTemplate = { | |
1044 | ||
1045 | }; | |
1046 | } | |
1047 | ||
1048 | function chatfunc(text) | |
1049 | local chat = coroutine.wrap(function() | |
1050 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1051 | Character:FindFirstChild("TalkingBillBoard") | |
1052 | end | |
1053 | local naeeym2 = Instance.new("BillboardGui",Character) | |
1054 | naeeym2.AlwaysOnTop = true | |
1055 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1056 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1057 | naeeym2.Adornee = Character.Head | |
1058 | naeeym2.Name = "TalkingBillBoard" | |
1059 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1060 | tecks2.BackgroundTransparency = 1 | |
1061 | tecks2.BorderSizePixel = 0 | |
1062 | tecks2.Text = "Derp girl" | |
1063 | tecks2.Font = "Fantasy" | |
1064 | tecks2.TextSize = 30 | |
1065 | tecks2.TextStrokeTransparency = 0 | |
1066 | tecks2.TextColor3 = Color3.new(255,0,255) | |
1067 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1068 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1069 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
1070 | tecks3.BackgroundTransparency = 1 | |
1071 | tecks3.BorderSizePixel = 0 | |
1072 | tecks3.Text = "Derp girl" | |
1073 | tecks3.Font = "Fantasy" | |
1074 | tecks3.TextSize = 30 | |
1075 | tecks3.TextStrokeTransparency = 0 | |
1076 | tecks3.TextColor3 = Color3.new(255,0,255) | |
1077 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
1078 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1079 | for i = 1,string.len(text),1 do | |
1080 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
1081 | tecks2.Text = string.sub(text,1,i) | |
1082 | tecks3.Text = string.sub(text,1,i) | |
1083 | wait(0.01) | |
1084 | end | |
1085 | wait(2) | |
1086 | for i = 1, 50 do | |
1087 | swait() | |
1088 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1089 | tecks2.Rotation = tecks2.Rotation - .8 | |
1090 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1091 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
1092 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1093 | tecks3.Rotation = tecks2.Rotation + .8 | |
1094 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1095 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
1096 | end | |
1097 | naeeym2:Destroy() | |
1098 | end) | |
1099 | chat() | |
1100 | end | |
1101 | function onChatted(msg) | |
1102 | chatfunc(msg) | |
1103 | end | |
1104 | Player.Chatted:connect(onChatted) | |
1105 | ||
1106 | abss = Instance.new("BillboardGui",Character) | |
1107 | abss.Size = UDim2.new(10,0,10,0) | |
1108 | abss.Enabled = false | |
1109 | imgl = Instance.new("ImageLabel",abss) | |
1110 | imgl.Position = UDim2.new(0,0,0,0) | |
1111 | imgl.Size = UDim2.new(1,1,1,1) | |
1112 | imgl.Image = "rbxassetid://173476349" | |
1113 | imgl.BackgroundTransparency = 1 | |
1114 | imgl.ImageColor3 = Color3.new(255,255,255) | |
1115 | img2 = Instance.new("ImageLabel",abss) | |
1116 | img2.Position = UDim2.new(0,0,0,0) | |
1117 | img2.Size = UDim2.new(1,1,1,1) | |
1118 | img2.Image = "rbxassetid://173476349" | |
1119 | img2.BackgroundTransparency = 1 | |
1120 | img2.ImageColor3 = Color3.new(255,255,255) | |
1121 | ||
1122 | ||
1123 | function attackone() | |
1124 | attack = true | |
1125 | Humanoid.WalkSpeed = 0 | |
1126 | if targetted.Name ~= "CKbackup" then | |
1127 | local partasdeff = Instance.new("ParticleEmitter",targetted.Torso) | |
1128 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1129 | partasdeff.LightEmission = .1 | |
1130 | partasdeff.Size = NumberSequence.new(0.2) | |
1131 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=114055322" | |
1132 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1133 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1134 | partasdeff.Transparency = bbb | |
1135 | partasdeff.Size = aaa | |
1136 | partasdeff.ZOffset = .9 | |
1137 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1138 | partasdeff.LockedToPart = false | |
1139 | partasdeff.EmissionDirection = "Back" | |
1140 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1141 | partasdeff.Rate = 1000 | |
1142 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1143 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1144 | partasdeff.Speed = NumberRange.new(6) | |
1145 | partasdeff.VelocitySpread = 10000 | |
1146 | partasdeff.Enabled=false | |
1147 | for i = 0, 3, 0.1 do | |
1148 | swait() | |
1149 | PlayAnimationFromTable({ | |
1150 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1151 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1152 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1153 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1154 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1155 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1156 | }, .1, false) | |
1157 | 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) | |
1158 | end | |
1159 | Effects.Block.Create(BrickColor.new("Hot pink"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1160 | Effects.Block.Create(BrickColor.new("Cyan"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1161 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1162 | dmg(targetted) | |
1163 | partasdeff.Enabled=true | |
1164 | for i = 0, 1, 0.1 do | |
1165 | swait() | |
1166 | PlayAnimationFromTable({ | |
1167 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1168 | CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1169 | CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1170 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1171 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1172 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1173 | }, .3, false) | |
1174 | 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) | |
1175 | end | |
1176 | partasdeff.Enabled=false | |
1177 | for i = 0, 2, 0.1 do | |
1178 | swait() | |
1179 | PlayAnimationFromTable({ | |
1180 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1181 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1182 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1183 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1184 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1185 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1186 | }, .3, false) | |
1187 | 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) | |
1188 | end | |
1189 | coroutine.wrap(function() | |
1190 | wait(2) | |
1191 | partasdeff:Remove() | |
1192 | end)() | |
1193 | else | |
1194 | sel = math.random(1,3) | |
1195 | if sel == 1 then | |
1196 | chatfunc("...") | |
1197 | elseif sel == 2 then | |
1198 | chatfunc("No...") | |
1199 | elseif sel == 3 then | |
1200 | chatfunc("I can't do that...") | |
1201 | end | |
1202 | for i = 0, 5, 0.1 do | |
1203 | swait() | |
1204 | PlayAnimationFromTable({ | |
1205 | 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), | |
1206 | 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), | |
1207 | 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), | |
1208 | 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), | |
1209 | 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), | |
1210 | 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), | |
1211 | }, .3, false) | |
1212 | 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) | |
1213 | end | |
1214 | end | |
1215 | Humanoid.WalkSpeed = 8 | |
1216 | attack = false | |
1217 | end | |
1218 | local Grabbed = false | |
1219 | ||
1220 | function hedshoot() | |
1221 | attack = true | |
1222 | ||
1223 | --local GGyro = Instance.new("BodyPosition") | |
1224 | local grab = nil | |
1225 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
1226 | if v:FindFirstChild('Torso') then | |
1227 | Grabbed = true | |
1228 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8) | |
1229 | grab = v | |
1230 | end | |
1231 | end | |
1232 | Effects.Wave.Create(BrickColor.new("Pink"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
1233 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5) | |
1234 | for i = 0, 1, 0.1 do | |
1235 | swait() | |
1236 | if Grabbed == true then | |
1237 | grab.Humanoid.PlatformStand = true | |
1238 | --GGyro.position = Partss.Position | |
1239 | --GGyro.Parent = grab.Head | |
1240 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1241 | end | |
1242 | PlayAnimationFromTable({ | |
1243 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1244 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1245 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1246 | CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1247 | CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1248 | CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1249 | }, .3, false) | |
1250 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
1251 | ||
1252 | 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) | |
1253 | end | |
1254 | if Grabbed == true then | |
1255 | Humanoid.WalkSpeed = 0 | |
1256 | for i = 0, 2, 0.1 do | |
1257 | swait() | |
1258 | if Grabbed == true then | |
1259 | grab.Humanoid.PlatformStand = true | |
1260 | --GGyro.position = Partss.Position | |
1261 | --GGyro.Parent = grab.Head | |
1262 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1263 | end | |
1264 | PlayAnimationFromTable({ | |
1265 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1266 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1267 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1268 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1269 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1270 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1271 | }, .3, false) | |
1272 | 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) | |
1273 | end | |
1274 | if grab.Name ~= "CKbackup" then | |
1275 | local partasdeff = Instance.new("ParticleEmitter",grab.Torso) | |
1276 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1277 | partasdeff.LightEmission = .1 | |
1278 | partasdeff.Size = NumberSequence.new(0.2) | |
1279 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=114055322" | |
1280 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1281 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1282 | partasdeff.Transparency = bbb | |
1283 | partasdeff.Size = aaa | |
1284 | partasdeff.ZOffset = .9 | |
1285 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1286 | partasdeff.LockedToPart = false | |
1287 | partasdeff.EmissionDirection = "Back" | |
1288 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1289 | partasdeff.Rate = 1000 | |
1290 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1291 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1292 | partasdeff.Speed = NumberRange.new(10) | |
1293 | partasdeff.VelocitySpread = 20 | |
1294 | partasdeff.Enabled=false | |
1295 | sel = math.random(1,3) | |
1296 | if sel == 1 then | |
1297 | chatfunc("hai") | |
1298 | elseif sel == 2 then | |
1299 | chatfunc("look my gun :3") | |
1300 | elseif sel == 3 then | |
1301 | chatfunc("you ded") | |
1302 | end | |
1303 | for i = 0, 2, 0.1 do | |
1304 | swait() | |
1305 | if Grabbed == true then | |
1306 | grab.Humanoid.PlatformStand = true | |
1307 | --GGyro.position = Partss.Position | |
1308 | --GGyro.Parent = grab.Head | |
1309 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1310 | end | |
1311 | PlayAnimationFromTable({ | |
1312 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1313 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1314 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1315 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1316 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1317 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1318 | }, .1, false) | |
1319 | 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) | |
1320 | end | |
1321 | Effects.Block.Create(BrickColor.new("Hot pink"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1322 | Effects.Block.Create(BrickColor.new("Cyan"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1323 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1324 | dmg(grab) | |
1325 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
1326 | partasdeff.Enabled=true | |
1327 | for i = 0, 1, 0.1 do | |
1328 | swait() | |
1329 | PlayAnimationFromTable({ | |
1330 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1331 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1332 | CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1333 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1334 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1335 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1336 | }, .3, false) | |
1337 | 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) | |
1338 | end | |
1339 | partasdeff.Enabled=false | |
1340 | for i = 0, 2.5, 0.1 do | |
1341 | swait() | |
1342 | PlayAnimationFromTable({ | |
1343 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1344 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1345 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1346 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1347 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1348 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1349 | }, .2, false) | |
1350 | 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) | |
1351 | end | |
1352 | coroutine.wrap(function() | |
1353 | wait(2) | |
1354 | partasdeff:Remove() | |
1355 | end)() | |
1356 | else | |
1357 | grab.Humanoid.PlatformStand = false | |
1358 | for i = 0, 3, 0.1 do | |
1359 | swait() | |
1360 | PlayAnimationFromTable({ | |
1361 | 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), | |
1362 | 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), | |
1363 | 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), | |
1364 | 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), | |
1365 | 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), | |
1366 | 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), | |
1367 | }, .1, false) | |
1368 | 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) | |
1369 | end | |
1370 | sel = math.random(1,3) | |
1371 | if sel == 1 then | |
1372 | chatfunc("I'm so silly...") | |
1373 | elseif sel == 2 then | |
1374 | chatfunc("What am i doing...") | |
1375 | elseif sel == 3 then | |
1376 | chatfunc("I can't...") | |
1377 | end | |
1378 | for i = 0, 5, 0.1 do | |
1379 | swait() | |
1380 | PlayAnimationFromTable({ | |
1381 | 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), | |
1382 | 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), | |
1383 | 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), | |
1384 | 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), | |
1385 | 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), | |
1386 | 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), | |
1387 | }, .3, false) | |
1388 | 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) | |
1389 | end | |
1390 | end | |
1391 | end | |
1392 | --GGyro.Parent = nil | |
1393 | attack = false | |
1394 | Grabbed = false | |
1395 | Humanoid.WalkSpeed = 8 | |
1396 | ||
1397 | end | |
1398 | function moarblood() | |
1399 | attack = true | |
1400 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=959679286", Character, 1, 1) | |
1401 | RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4) | |
1402 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1403 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),}) | |
1404 | wait(.5) | |
1405 | for i = 0, 1.2, 0.1 do | |
1406 | swait() | |
1407 | PlayAnimationFromTable({ | |
1408 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1409 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1410 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1411 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1412 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1413 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1414 | }, .2, false) | |
1415 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1416 | end | |
1417 | if targetted.Name ~= "CKbackup" then | |
1418 | local grab = nil | |
1419 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
1420 | if v:FindFirstChild('Head') then | |
1421 | Grabbed = true | |
1422 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8) | |
1423 | grab = v | |
1424 | end | |
1425 | end | |
1426 | Humanoid.WalkSpeed = 0 | |
1427 | for i = 0, 2, 0.1 do | |
1428 | swait() | |
1429 | if Grabbed == true then | |
1430 | grab.Humanoid.PlatformStand = true | |
1431 | --GGyro.position = Partss.Position | |
1432 | --GGyro.Parent = grab.Head | |
1433 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1434 | end | |
1435 | PlayAnimationFromTable({ | |
1436 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1437 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1438 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1439 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1440 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1441 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1442 | }, .25, false) | |
1443 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1444 | end | |
1445 | if Grabbed == true then | |
1446 | sel = math.random(1,3) | |
1447 | if sel == 1 then | |
1448 | chatfunc("you are heavy D:") | |
1449 | elseif sel == 2 then | |
1450 | chatfunc("Too easy ;3") | |
1451 | elseif sel == 3 then | |
1452 | chatfunc("i win yey :D") | |
1453 | end | |
1454 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
1455 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1456 | partasdeff.LightEmission = .1 | |
1457 | partasdeff.Size = NumberSequence.new(0.2) | |
1458 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=114055322" | |
1459 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1460 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1461 | partasdeff.Transparency = bbb | |
1462 | partasdeff.Size = aaa | |
1463 | partasdeff.ZOffset = .9 | |
1464 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1465 | partasdeff.LockedToPart = false | |
1466 | partasdeff.EmissionDirection = "Back" | |
1467 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1468 | partasdeff.Rate = 1000 | |
1469 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1470 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1471 | partasdeff.Speed = NumberRange.new(6) | |
1472 | partasdeff.VelocitySpread = 10000 | |
1473 | partasdeff.Enabled=false | |
1474 | for i = 0, 3, 0.1 do | |
1475 | swait() | |
1476 | if Grabbed == true then | |
1477 | grab.Humanoid.PlatformStand = true | |
1478 | --GGyro.position = Partss.Position | |
1479 | --GGyro.Parent = grab.Head | |
1480 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1481 | end | |
1482 | PlayAnimationFromTable({ | |
1483 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1484 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1485 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1486 | CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1487 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1488 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1489 | }, .1, false) | |
1490 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1491 | end | |
1492 | partasdeff.Enabled=true | |
1493 | grab.Torso.Transparency = 1 | |
1494 | dmg(grab) | |
1495 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", grab.Head, .8, .8) | |
1496 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082327", grab.Head, 1, .7) | |
1497 | ||
1498 | coroutine.wrap(function() | |
1499 | wait(.4) | |
1500 | partasdeff.Enabled=false | |
1501 | end)() | |
1502 | for i = 0, 3.5, 0.1 do | |
1503 | swait() | |
1504 | PlayAnimationFromTable({ | |
1505 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1506 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1507 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1508 | CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1509 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1510 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1511 | }, .3, false) | |
1512 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1513 | end | |
1514 | end | |
1515 | else | |
1516 | Humanoid.WalkSpeed = 0 | |
1517 | for i = 0, 3, 0.1 do | |
1518 | swait() | |
1519 | PlayAnimationFromTable({ | |
1520 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1521 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1522 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1523 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1524 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1525 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1526 | }, .2, false) | |
1527 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1528 | end | |
1529 | sel = math.random(1,3) | |
1530 | if sel == 1 then | |
1531 | chatfunc("Aahhh...") | |
1532 | elseif sel == 2 then | |
1533 | chatfunc("you're enemy") | |
1534 | elseif sel == 3 then | |
1535 | chatfunc("dont kill me pls") | |
1536 | end | |
1537 | for i = 0, 5, 0.1 do | |
1538 | swait() | |
1539 | PlayAnimationFromTable({ | |
1540 | 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), | |
1541 | 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), | |
1542 | 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), | |
1543 | 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), | |
1544 | 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), | |
1545 | 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), | |
1546 | }, .3, false) | |
1547 | 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) | |
1548 | end | |
1549 | end | |
1550 | attack = false | |
1551 | Grabbed = false | |
1552 | k:Remove() | |
1553 | Humanoid.WalkSpeed = 8 | |
1554 | end | |
1555 | ||
1556 | function painlessrain() | |
1557 | attack = true | |
1558 | Humanoid.WalkSpeed = 0 | |
1559 | 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,}) | |
1560 | ||
1561 | coroutine.wrap(function() | |
1562 | for i = 0, 4 do | |
1563 | wait(.2) | |
1564 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1.3) | |
1565 | end | |
1566 | end)() | |
1567 | for i = 0, 4, 0.1 do | |
1568 | swait() | |
1569 | PlayAnimationFromTable({ | |
1570 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1571 | CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1572 | CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1573 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1574 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1575 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1576 | }, .07, false) | |
1577 | 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) | |
1578 | end | |
1579 | for i = 0, 1.5, 0.1 do | |
1580 | swait() | |
1581 | PlayAnimationFromTable({ | |
1582 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1583 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1584 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1585 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1586 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1587 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1588 | }, .2, false) | |
1589 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1590 | end | |
1591 | for i = 0, 3 do | |
1592 | Effects.Block.Create(BrickColor.new("Hot pink"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1593 | Effects.Block.Create(BrickColor.new("Cyan"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1594 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1595 | for i = 0, .5, 0.1 do | |
1596 | swait() | |
1597 | PlayAnimationFromTable({ | |
1598 | CFrame.new(0.160087422, -3.66470256e-23, -0.0753137618, 0.15316838, 2.95750466e-22, 0.988200247, 9.50818972e-23, 1, -3.14019425e-22, -0.988200247, 1.42057819e-22, 0.15316838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1599 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1600 | CFrame.new(1.46630716, 1.08524323, -0.0336530581, 0.00764143467, -0.0426861309, 0.999059498, 0.0445286781, -0.998082876, -0.0429849848, 0.998979032, 0.0448152684, -0.0057259798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1601 | CFrame.new(-1.53188026, 0.0735908896, 2.69562906e-06, 0.978447855, 0.206495479, 2.48849392e-06, -0.206495419, 0.978447556, -1.05270137e-05, -4.61935997e-06, 9.78633761e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1602 | CFrame.new(0.659685254, -2.0274992, -0.0100700259, 0.00885757804, -0.161218897, -0.986879349, 0.00904085487, 0.986890197, -0.161139548, 0.999920309, -0.00749491528, 0.0101990253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1603 | CFrame.new(-0.566697419, -2.04759264, -0.0995131433, 0.988195002, 0.078684561, 0.131453067, -0.0635149851, 0.991233289, -0.115855575, -0.139416695, 0.106138662, 0.984529436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1604 | }, .3, false) | |
1605 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112046078, -1.63744116, -0.318734497, -0.0172122065, 2.46167183e-05, -0.999852002, 0.999850631, -0.00159030408, -0.0172121339, -0.00159040466, -0.999998927, 2.57790089e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1606 | end | |
1607 | for i = 0, .5, 0.1 do | |
1608 | swait() | |
1609 | PlayAnimationFromTable({ | |
1610 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1611 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1612 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1613 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1614 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1615 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1616 | }, .3, false) | |
1617 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1618 | end | |
1619 | end | |
1620 | attack = false | |
1621 | Humanoid.WalkSpeed = 8 | |
1622 | wait(.4) | |
1623 | for i = 0, 8 do | |
1624 | wait(.2) | |
1625 | mdmg(ref1, 3) | |
1626 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1627 | ref1.Position = Mouse.hit.p | |
1628 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1629 | Effects.Cylinder.Create(BrickColor.new("Cyan"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07) | |
1630 | end | |
1631 | ref1:Remove() | |
1632 | end | |
1633 | ||
1634 | function TargetSelect(person) | |
1635 | local dd=coroutine.wrap(function() | |
1636 | if targetted ~= person then | |
1637 | targetted = person | |
1638 | img2.Size = UDim2.new(1,0,1,0) | |
1639 | img2.ImageTransparency = 0 | |
1640 | img2.Position = UDim2.new(0,0,0,0) | |
1641 | for i = 0, 2, 0.1 do | |
1642 | swait() | |
1643 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
1644 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
1645 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
1646 | end | |
1647 | end | |
1648 | end) | |
1649 | dd() | |
1650 | end | |
1651 | ||
1652 | function LockOn() | |
1653 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1654 | TargetSelect(Mouse.Target.Parent) | |
1655 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
1656 | end | |
1657 | end | |
1658 | ||
1659 | ||
1660 | function ofmoosic() -- 2 lazi hoh | |
1661 | delays = true | |
1662 | while wait() and kkk and kkk.Volume >= 0.02 do | |
1663 | kkk.Volume = kkk.Volume - 0.50 | |
1664 | end | |
1665 | wait(0.1) | |
1666 | kkk.Pitch = 0 | |
1667 | kkk.PlaybackSpeed = 0 | |
1668 | play = false | |
1669 | delays = false | |
1670 | end | |
1671 | function onmoosic() | |
1672 | delays = true | |
1673 | kkk.Pitch = 1 | |
1674 | kkk.PlaybackSpeed = 1 | |
1675 | while wait() and kkk and kkk.Volume <= 1.5 do | |
1676 | kkk.Volume = kkk.Volume + 0.50 | |
1677 | end | |
1678 | wait(0.1) | |
1679 | play = true | |
1680 | delays = false | |
1681 | end | |
1682 | Mouse.Button1Down:connect(function() | |
1683 | if attack == false and targetted ~= nil then | |
1684 | attackone() | |
1685 | end | |
1686 | end) | |
1687 | function Swait(NUMBER) | |
1688 | if NUMBER == 0 or NUMBER == nil then | |
1689 | ArtificialHB.Event:wait() | |
1690 | else | |
1691 | for i = 1, NUMBER do | |
1692 | ArtificialHB.Event:wait() | |
1693 | end | |
1694 | end | |
1695 | end | |
1696 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
1697 | coroutine.resume(coroutine.create(function() | |
1698 | local NEWSOUND = IT("Sound", PARENT) | |
1699 | NEWSOUND.Volume = VOLUME | |
1700 | NEWSOUND.Pitch = PITCH | |
1701 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1702 | Swait() | |
1703 | NEWSOUND:play() | |
1704 | game:GetService("Debris"):AddItem(NEWSOUND, 100) | |
1705 | end)) | |
1706 | end | |
1707 | ||
1708 | Mouse.KeyDown:connect(function(k) | |
1709 | k = k:lower() | |
1710 | if attack == false and k == 'q' then | |
1711 | LockOn() | |
1712 | end | |
1713 | if k == 'z' and attack == false then | |
1714 | hedshoot() | |
1715 | elseif k == 'x' and attack == false and targetted ~= nil then | |
1716 | moarblood() | |
1717 | elseif k == 'c' and attack == false then | |
1718 | painlessrain() | |
1719 | elseif k == 'g' and delays == false and Character.Name == "deivis97" then | |
1720 | delays = true | |
1721 | chatfunc("hai") | |
1722 | wait(2) | |
1723 | chatfunc("I want to tell you...") | |
1724 | wait(3) | |
1725 | chatfunc("Be my...") | |
1726 | wait(1) | |
1727 | chatfunc(":3") | |
1728 | wait(2) | |
1729 | chatfunc("Friend, Okay...?") | |
1730 | wait(2) | |
1731 | chatfunc("Only friends") | |
1732 | delays = false | |
1733 | elseif k == 'm' and play == true and delays == false then | |
1734 | ofmoosic() | |
1735 | elseif k == 'm' and play == false and delays == false then | |
1736 | onmoosic() | |
1737 | end | |
1738 | end) | |
1739 | ||
1740 | kkk = Instance.new("Sound",Character) | |
1741 | kkk.Volume = 15 | |
1742 | kkk.PlaybackSpeed = 1 | |
1743 | kkk.Pitch = 1 | |
1744 | kkk.SoundId = "rbxassetid://920987588" | |
1745 | kkk:Play() | |
1746 | kkk.Name = "a" | |
1747 | kkk.Looped = true | |
1748 | ||
1749 | coroutine.wrap(function() | |
1750 | while true do | |
1751 | swait() | |
1752 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
1753 | if v:IsA("Part") then | |
1754 | v.Anchored = false | |
1755 | end | |
1756 | end | |
1757 | for i, v in pairs(Character:GetChildren()) do | |
1758 | if v:IsA("Part") then | |
1759 | v.Anchored = false | |
1760 | elseif v:IsA("Accessory") then | |
1761 | v.Handle.Anchored = false | |
1762 | end | |
1763 | end | |
1764 | end | |
1765 | end)() | |
1766 | coroutine.wrap(function() | |
1767 | while 1 do | |
1768 | swait() | |
1769 | if doe <= 360 then | |
1770 | doe = doe + 2 | |
1771 | else | |
1772 | doe = 0 | |
1773 | end | |
1774 | end | |
1775 | end)() | |
1776 | while true do | |
1777 | swait() | |
1778 | for i, v in pairs(Character:GetChildren()) do | |
1779 | if v:IsA("Part") then | |
1780 | v.Material = "SmoothPlastic" | |
1781 | elseif v:IsA("Accessory") then | |
1782 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1783 | end | |
1784 | end | |
1785 | while true do | |
1786 | swait() | |
1787 | Character.Humanoid.MaxHealth = math.huge | |
1788 | Character.Humanoid.Health = math.huge | |
1789 | imgl.Rotation = imgl.Rotation + 3 | |
1790 | img2.Rotation = img2.Rotation + 3 | |
1791 | if targetted ~= nil then | |
1792 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1793 | abss.Enabled = true | |
1794 | elseif targetted == nil then | |
1795 | abss.Adornee = nil | |
1796 | abss.Enabled = false | |
1797 | end | |
1798 | ||
1799 | while true and imgl.Rotation >= 360 do | |
1800 | imgl.Rotation = 0 | |
1801 | img2.Rotation = 0 | |
1802 | end | |
1803 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1804 | velocity = RootPart.Velocity.y | |
1805 | sine = sine + change | |
1806 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1807 | if RootPart.Velocity.y > 1 and hit == nil then | |
1808 | Anim = "Jump" | |
1809 | if attack == false then | |
1810 | PlayAnimationFromTable({ | |
1811 | 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), | |
1812 | 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), | |
1813 | 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), | |
1814 | 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), | |
1815 | 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), | |
1816 | 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), | |
1817 | }, .3, false) | |
1818 | 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) | |
1819 | end | |
1820 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1821 | Anim = "Fall" | |
1822 | if attack == false then | |
1823 | PlayAnimationFromTable({ | |
1824 | 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), | |
1825 | 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), | |
1826 | 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), | |
1827 | 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), | |
1828 | 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), | |
1829 | 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), | |
1830 | }, .3, false) | |
1831 | 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) | |
1832 | end | |
1833 | elseif Torsovelocity < 1 and hit ~= nil then | |
1834 | Anim = "Idle" | |
1835 | if attack == false then | |
1836 | change = 1 | |
1837 | PlayAnimationFromTable({ | |
1838 | 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), | |
1839 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
1840 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
1841 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
1842 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1843 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1844 | }, .3, false) | |
1845 | 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) | |
1846 | end | |
1847 | elseif Torsovelocity > 2 and hit ~= nil then | |
1848 | Anim = "Walk" | |
1849 | if attack == false then | |
1850 | PlayAnimationFromTable({ | |
1851 | 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), | |
1852 | 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), | |
1853 | 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), | |
1854 | 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), | |
1855 | 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), | |
1856 | 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), | |
1857 | }, .3, false) | |
1858 | 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) | |
1859 | end | |
1860 | end | |
1861 | if 0 < #Effects then | |
1862 | for e = 1, #Effects do | |
1863 | if Effects[e] ~= nil then | |
1864 | local Thing = Effects[e] | |
1865 | if Thing ~= nil then | |
1866 | local Part = Thing[1] | |
1867 | local Mode = Thing[2] | |
1868 | local Delay = Thing[3] | |
1869 | local IncX = Thing[4] | |
1870 | local IncY = Thing[5] | |
1871 | local IncZ = Thing[6] | |
1872 | if Thing[2] == "Shoot" then | |
1873 | local Look = Thing[1] | |
1874 | local move = 30 | |
1875 | if Thing[8] == 3 then | |
1876 | move = 10 | |
1877 | end | |
1878 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1879 | if Thing[10] ~= nil then | |
1880 | da = pos | |
1881 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1882 | cfa = CFrame.new(Thing[4], pos) | |
1883 | tehCF = cfa:lerp(cf2, 0.2) | |
1884 | Thing[1] = tehCF.lookVector | |
1885 | end | |
1886 | local mag = (Thing[4] - pos).magnitude | |
1887 | 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) | |
1888 | if Thing[8] == 2 then | |
1889 | 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) | |
1890 | end | |
1891 | Thing[4] = Thing[4] + Look * move | |
1892 | Thing[3] = Thing[3] - 1 | |
1893 | if 2 < Thing[5] then | |
1894 | Thing[5] = Thing[5] - 0.3 | |
1895 | Thing[6] = Thing[6] - 0.3 | |
1896 | end | |
1897 | if hit ~= nil then | |
1898 | Thing[3] = 0 | |
1899 | if Thing[8] == 1 or Thing[8] == 3 then | |
1900 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1901 | else | |
1902 | if Thing[8] == 2 then | |
1903 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1904 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1905 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Pink"), "Reference", Vector3.new()) | |
1906 | ref.Anchored = true | |
1907 | ref.CFrame = CFrame.new(pos) | |
1908 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1909 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1910 | 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) | |
1911 | 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) | |
1912 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1913 | end | |
1914 | end | |
1915 | end | |
1916 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Pink"), "Reference", Vector3.new()) | |
1917 | ref.Anchored = true | |
1918 | ref.CFrame = CFrame.new(pos) | |
1919 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1920 | game:GetService("Debris"):AddItem(ref, 1) | |
1921 | end | |
1922 | if Thing[3] <= 0 then | |
1923 | table.remove(Effects, e) | |
1924 | end | |
1925 | end | |
1926 | do | |
1927 | do | |
1928 | if Thing[2] == "FireWave" then | |
1929 | if Thing[3] <= Thing[4] then | |
1930 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1931 | Thing[3] = Thing[3] + 1 | |
1932 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1933 | else | |
1934 | Part.Parent = nil | |
1935 | table.remove(Effects, e) | |
1936 | end | |
1937 | end | |
1938 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1939 | if Thing[1].Transparency <= 1 then | |
1940 | if Thing[2] == "Block1" then | |
1941 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1942 | Mesh = Thing[7] | |
1943 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1944 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1945 | else | |
1946 | if Thing[2] == "Block2" then | |
1947 | Thing[1].CFrame = Thing[1].CFrame | |
1948 | Mesh = Thing[7] | |
1949 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1950 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1951 | else | |
1952 | if Thing[2] == "Fire" then | |
1953 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1954 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1955 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1956 | else | |
1957 | if Thing[2] == "Cylinder" then | |
1958 | Mesh = Thing[7] | |
1959 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1960 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1961 | else | |
1962 | if Thing[2] == "Blood" then | |
1963 | Mesh = Thing[7] | |
1964 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1965 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1966 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1967 | else | |
1968 | if Thing[2] == "Elec" then | |
1969 | Mesh = Thing[10] | |
1970 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1971 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1972 | else | |
1973 | if Thing[2] == "Disappear" then | |
1974 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1975 | else | |
1976 | if Thing[2] == "Shatter" then | |
1977 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1978 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1979 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1980 | Thing[6] = Thing[6] + Thing[5] | |
1981 | end | |
1982 | end | |
1983 | end | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | end | |
1988 | end | |
1989 | else | |
1990 | Part.Parent = nil | |
1991 | table.remove(Effects, e) | |
1992 | end | |
1993 | end | |
1994 | end | |
1995 | end | |
1996 | end | |
1997 | end | |
1998 | end | |
1999 | end | |
2000 | end | |
2001 | end |