SHOW:
|
|
- or go back to the newest paste.
1 | - | --dasdasdasdreqw3e412312rasdf-- |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --dasdasdasdreqw3e412312rasdf-- | |
6 | --71023gggggs236021305023asdgh89aGYASDG-- | |
7 | --9a1231231235asfdzxvct9wqeutgqwerignjasdig-- | |
8 | ||
9 | --[[Credits to Ace_Alteriano for his Template]]-- | |
10 | --[[By When_kun]]-- | |
11 | --[[The model took time to make but it was worth it.]]-- | |
12 | --[[x is cringey]]-- | |
13 | wait(1 / 60) | |
14 | Effects = { } | |
15 | local Player = game.Players.localPlayer | |
16 | local Character = Player.Character | |
17 | local Humanoid = Character.Humanoid | |
18 | local Mouse = Player:GetMouse() | |
19 | local mouse, Mouse = Player:GetMouse(), Player:GetMouse() | |
20 | local LeftArm = Character["Left Arm"] | |
21 | local RightArm = Character["Right Arm"] | |
22 | local LeftLeg = Character["Left Leg"] | |
23 | local RightLeg = Character["Right Leg"] | |
24 | local Head = Character.Head | |
25 | local Torso = Character.Torso | |
26 | local Camera = game.Workspace.CurrentCamera | |
27 | local RootPart = Character.HumanoidRootPart | |
28 | local RootJoint = RootPart.RootJoint | |
29 | local attack = false | |
30 | local Anim = 'Idle' | |
31 | local attacktype = 1 | |
32 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
33 | local velocity = RootPart.Velocity.y | |
34 | local sine = 0 | |
35 | local change = 1 | |
36 | local Create = LoadLibrary("RbxUtility").Create | |
37 | ||
38 | renderstepped = game:GetService('RunService').RenderStepped | |
39 | userinput = game:GetService('UserInputService') | |
40 | mainmodel = Instance.new('Model',Character) | |
41 | mainchord = 5 | |
42 | ||
43 | local m = Create("Model"){ | |
44 | Parent = Character, | |
45 | Name = "WeaponModel", | |
46 | } | |
47 | ||
48 | Humanoid.Animator.Parent = nil | |
49 | Character.Animate.Parent = nil | |
50 | ||
51 | children = mainmodel:GetChildren() | |
52 | my = 0 | |
53 | function rot() | |
54 | for i,v in pairs(children) do | |
55 | -- v.Size = Vector3.new(mainchord/5,mainchord/5,mainchord/5) | |
56 | v.CFrame = v.CFrame*CFrame.Angles(math.rad(1),math.rad(1),math.rad(2)) | |
57 | end | |
58 | end | |
59 | function rotA() | |
60 | while renderstepped:wait() do | |
61 | spawn(rot) | |
62 | my = my + 1.5 | |
63 | if my > 360 then | |
64 | my = 0 | |
65 | end | |
66 | end | |
67 | end | |
68 | spawn(rotA) | |
69 | ||
70 | function lerp(dist,inc) | |
71 | for i = 0,10 do | |
72 | renderstepped:wait() | |
73 | for x,v in pairs(children) do | |
74 | --lookvector | |
75 | --( centerPoint.Y + distance * Math.Sin( angle ) ) | |
76 | --diff rot is 90 | |
77 | v.Size = v.Size + Vector3.new(.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist))) | |
78 | v.Transparency = v.Transparency - .1/(dist/math.abs(dist)) | |
79 | v.CFrame = CFrame.new(v.Position)*CFrame.Angles(0,math.rad(90*x+my),0)*CFrame.new(dist/10,0,0) | |
80 | end | |
81 | end | |
82 | end | |
83 | ||
84 | local newMotor = function(part0, part1, c0, c1) | |
85 | local w = Create('Motor'){ | |
86 | Parent = part0, | |
87 | Part0 = part0, | |
88 | Part1 = part1, | |
89 | C0 = c0, | |
90 | C1 = c1, | |
91 | } | |
92 | return w | |
93 | end | |
94 | ||
95 | function clerp(a, b, t) | |
96 | return a:lerp(b, t) | |
97 | end | |
98 | ||
99 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
100 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
101 | ||
102 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
103 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
104 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
105 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
106 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
107 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
108 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
109 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
110 | ||
111 | local rarmc1 = RW.C1 | |
112 | local larmc1 = LW.C1 | |
113 | local rlegc1 = RH.C1 | |
114 | local llegc1 = LH.C1 | |
115 | ||
116 | local resetc1 = false | |
117 | ||
118 | function PlayAnimationFromTable(table, speed, bool) | |
119 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
120 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
121 | RW.C0 = clerp(RW.C0, table[3], speed) | |
122 | LW.C0 = clerp(LW.C0, table[4], speed) | |
123 | RH.C0 = clerp(RH.C0, table[5], speed) | |
124 | LH.C0 = clerp(LH.C0, table[6], speed) | |
125 | if bool == true then | |
126 | if resetc1 == false then | |
127 | resetc1 = true | |
128 | RootJoint.C1 = RootJoint.C1 | |
129 | Torso.Neck.C1 = Torso.Neck.C1 | |
130 | RW.C1 = rarmc1 | |
131 | LW.C1 = larmc1 | |
132 | RH.C1 = rlegc1 | |
133 | LH.C1 = llegc1 | |
134 | end | |
135 | end | |
136 | end | |
137 | ||
138 | local co1 = 15 | |
139 | local co2 = 8 | |
140 | local co3 = 20 | |
141 | local co5 = 30 | |
142 | local co4 = 32 | |
143 | local cooldown1 = 5 | |
144 | local cooldown2 = 7 | |
145 | local cooldown3 = 3 | |
146 | local cooldown4 = 2 | |
147 | local cooldown5 = 0 | |
148 | local skillcolorscheme = BrickColor.new("White").Color | |
149 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
150 | makeframe = function(par, trans, pos, size, color) | |
151 | ||
152 | local frame = Instance.new("Frame", par) | |
153 | frame.BackgroundTransparency = trans | |
154 | frame.BorderSizePixel = 0 | |
155 | frame.Position = pos | |
156 | frame.Size = size | |
157 | frame.BackgroundColor3 = color | |
158 | return frame | |
159 | end | |
160 | ||
161 | makelabel = function(par, text) | |
162 | ||
163 | local label = Instance.new("TextLabel", par) | |
164 | label.BackgroundTransparency = 1 | |
165 | label.Size = UDim2.new(1, 0, 1, 0) | |
166 | label.Position = UDim2.new(0, 0, 0, 0) | |
167 | label.TextColor3 = Color3.new(255, 250, 190) | |
168 | label.TextStrokeTransparency = 0 | |
169 | label.FontSize = Enum.FontSize.Size32 | |
170 | label.Font = Enum.Font.SourceSansLight | |
171 | label.BorderSizePixel = 0 | |
172 | label.TextScaled = true | |
173 | label.Text = text | |
174 | end | |
175 | ||
176 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
177 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
178 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
179 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
180 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
181 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
182 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
183 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
184 | text1 = Instance.new("TextLabel", framesk1) | |
185 | text1.BackgroundTransparency = 1 | |
186 | text1.Size = UDim2.new(1, 0, 1, 0) | |
187 | text1.Position = UDim2.new(0, 0, 0, 0) | |
188 | text1.TextColor3 = Color3.new(255, 250, 190) | |
189 | text1.TextStrokeTransparency = 0 | |
190 | text1.FontSize = Enum.FontSize.Size18 | |
191 | text1.Font = Enum.Font.SourceSansLight | |
192 | text1.BorderSizePixel = 0 | |
193 | text1.TextScaled = true | |
194 | text1.Text = "[Z]\n Persona Reference ok" | |
195 | text2 = Instance.new("TextLabel", framesk2) | |
196 | text2.BackgroundTransparency = 1 | |
197 | text2.Size = UDim2.new(1, 0, 1, 0) | |
198 | text2.Position = UDim2.new(0, 0, 0, 0) | |
199 | text2.TextColor3 = Color3.new(255, 250, 190) | |
200 | text2.TextStrokeTransparency = 0 | |
201 | text2.FontSize = Enum.FontSize.Size18 | |
202 | text2.Font = Enum.Font.SourceSansLight | |
203 | text2.BorderSizePixel = 0 | |
204 | text2.TextScaled = true | |
205 | text2.Text = "[X]\n DAB ON EM HATERS" | |
206 | text3 = Instance.new("TextLabel", framesk3) | |
207 | text3.BackgroundTransparency = 1 | |
208 | text3.Size = UDim2.new(1, 0, 1, 0) | |
209 | text3.Position = UDim2.new(0, 0, 0, 0) | |
210 | text3.TextColor3 = Color3.new(255, 250, 190) | |
211 | text3.TextStrokeTransparency = 0 | |
212 | text3.FontSize = Enum.FontSize.Size18 | |
213 | text3.Font = Enum.Font.SourceSansLight | |
214 | text3.BorderSizePixel = 0 | |
215 | text3.TextScaled = false | |
216 | text3.Text = "[C]\n Slide" | |
217 | text4 = Instance.new("TextLabel", framesk4) | |
218 | text4.BackgroundTransparency = 1 | |
219 | text4.Size = UDim2.new(1, 0, 1, 0) | |
220 | text4.Position = UDim2.new(0, 0, 0, 0) | |
221 | text4.TextColor3 = Color3.new(255, 250, 190) | |
222 | text4.TextStrokeTransparency = 0 | |
223 | text4.FontSize = Enum.FontSize.Size18 | |
224 | text4.Font = Enum.Font.SourceSansLight | |
225 | text4.BorderSizePixel = 0 | |
226 | text4.TextScaled = true | |
227 | text4.Text = "[V]\n slap" | |
228 | ||
229 | ArtificialHB = Create("BindableEvent", script){ | |
230 | Parent = script, | |
231 | Name = "Heartbeat", | |
232 | } | |
233 | ||
234 | script:WaitForChild("Heartbeat") | |
235 | ||
236 | frame = 1 / 30 | |
237 | tf = 0 | |
238 | allowframeloss = false | |
239 | tossremainder = false | |
240 | lastframe = tick() | |
241 | script.Heartbeat:Fire() | |
242 | ||
243 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
244 | tf = tf + s | |
245 | if tf >= frame then | |
246 | if allowframeloss then | |
247 | script.Heartbeat:Fire() | |
248 | lastframe = tick() | |
249 | else | |
250 | for i = 1, math.floor(tf / frame) do | |
251 | script.Heartbeat:Fire() | |
252 | end | |
253 | lastframe = tick() | |
254 | end | |
255 | if tossremainder then | |
256 | tf = 0 | |
257 | else | |
258 | tf = tf - frame * math.floor(tf / frame) | |
259 | end | |
260 | end | |
261 | end) | |
262 | ||
263 | function swait(num) | |
264 | if num == 0 or num == nil then | |
265 | ArtificialHB.Event:wait() | |
266 | else | |
267 | for i = 0, num do | |
268 | ArtificialHB.Event:wait() | |
269 | end | |
270 | end | |
271 | end | |
272 | ||
273 | function RemoveOutlines(part) | |
274 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
275 | end | |
276 | ||
277 | CFuncs = { | |
278 | Part = { | |
279 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
280 | local Part = Create("Part"){ | |
281 | Parent = Parent, | |
282 | Reflectance = Reflectance, | |
283 | Transparency = Transparency, | |
284 | CanCollide = false, | |
285 | Locked = true, | |
286 | BrickColor = BrickColor.new(tostring(BColor)), | |
287 | Name = Name, | |
288 | Size = Size, | |
289 | Material = Material, | |
290 | } | |
291 | RemoveOutlines(Part) | |
292 | return Part | |
293 | end; | |
294 | }; | |
295 | ||
296 | Mesh = { | |
297 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
298 | local Msh = Create(Mesh){ | |
299 | Parent = Part, | |
300 | Offset = OffSet, | |
301 | Scale = Scale, | |
302 | } | |
303 | if Mesh == "SpecialMesh" then | |
304 | Msh.MeshType = MeshType | |
305 | Msh.MeshId = MeshId | |
306 | end | |
307 | return Msh | |
308 | end; | |
309 | }; | |
310 | ||
311 | Weld = { | |
312 | Create = function(Parent, Part0, Part1, C0, C1) | |
313 | local Weld = Create("Weld"){ | |
314 | Parent = Parent, | |
315 | Part0 = Part0, | |
316 | Part1 = Part1, | |
317 | C0 = C0, | |
318 | C1 = C1, | |
319 | } | |
320 | return Weld | |
321 | end; | |
322 | }; | |
323 | ||
324 | Sound = { | |
325 | Create = function(id, par, vol, pit) | |
326 | coroutine.resume(coroutine.create(function() | |
327 | local Sound = Create("Sound"){ | |
328 | Volume = vol, | |
329 | Pitch = pit or 1, | |
330 | SoundId = "rbxassetid://" .. id, | |
331 | Parent = par or workspace, | |
332 | } | |
333 | Sound:play() | |
334 | game:GetService("Debris"):AddItem(Sound, 10) | |
335 | end)) | |
336 | end; | |
337 | }; | |
338 | ||
339 | Decal = { | |
340 | Create = function(Color, Texture, Transparency, Name, Parent) | |
341 | local Decal = Create("Decal"){ | |
342 | Color3 = Color, | |
343 | Texture = "rbxassetid://" .. Texture, | |
344 | Transparency = Transparency, | |
345 | Name = Name, | |
346 | Parent = Parent, | |
347 | } | |
348 | return Decal | |
349 | end; | |
350 | }; | |
351 | ||
352 | BillboardGui = { | |
353 | Create = function(Parent, Image, Position, Size) | |
354 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
355 | BillPar.CFrame = CFrame.new(Position) | |
356 | local Bill = Create("BillboardGui"){ | |
357 | Parent = BillPar, | |
358 | Adornee = BillPar, | |
359 | Size = UDim2.new(1, 0, 1, 0), | |
360 | SizeOffset = Vector2.new(Size, Size), | |
361 | } | |
362 | local d = Create("ImageLabel", Bill){ | |
363 | Parent = Bill, | |
364 | BackgroundTransparency = 1, | |
365 | Size = UDim2.new(1, 0, 1, 0), | |
366 | Image = "rbxassetid://" .. Image, | |
367 | } | |
368 | return BillPar | |
369 | end | |
370 | }; | |
371 | ||
372 | ParticleEmitter = { | |
373 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
374 | local Particle = Create("ParticleEmitter"){ | |
375 | Parent = Parent, | |
376 | Color = ColorSequence.new(Color1, Color2), | |
377 | LightEmission = LightEmission, | |
378 | Size = Size, | |
379 | Texture = Texture, | |
380 | Transparency = Transparency, | |
381 | ZOffset = ZOffset, | |
382 | Acceleration = Accel, | |
383 | Drag = Drag, | |
384 | LockedToPart = LockedToPart, | |
385 | VelocityInheritance = VelocityInheritance, | |
386 | EmissionDirection = EmissionDirection, | |
387 | Enabled = Enabled, | |
388 | Lifetime = LifeTime, | |
389 | Rate = Rate, | |
390 | Rotation = Rotation, | |
391 | RotSpeed = RotSpeed, | |
392 | Speed = Speed, | |
393 | VelocitySpread = VelocitySpread, | |
394 | } | |
395 | return Particle | |
396 | end; | |
397 | }; | |
398 | ||
399 | CreateTemplate = { | |
400 | ||
401 | }; | |
402 | } | |
403 | ||
404 | function rayCast(Position, Direction, Range, Ignore) | |
405 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
406 | end | |
407 | ||
408 | function FindNearestTorso(pos) | |
409 | local list = (game.Workspace:children()) | |
410 | local torso = nil | |
411 | local dist = 1000 | |
412 | local temp, human, temp2 = nil, nil, nil | |
413 | for x = 1, #list do | |
414 | temp2 = list[x] | |
415 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
416 | temp = temp2:findFirstChild("Torso") | |
417 | human = temp2:findFirstChild("Humanoid") | |
418 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
419 | local dohit = true | |
420 | if dohit == true then | |
421 | torso = temp | |
422 | dist = (temp.Position - pos).magnitude | |
423 | end | |
424 | end | |
425 | end | |
426 | end | |
427 | return torso, dist | |
428 | end | |
429 | ||
430 | --[[ | |
431 | Thanks for using Build-To-Lua by jarredbcv. | |
432 | ]]-- | |
433 | ||
434 | New = function(Object, Parent, Name, Data) | |
435 | local Object = Instance.new(Object) | |
436 | for Index, Value in pairs(Data or {}) do | |
437 | Object[Index] = Value | |
438 | end | |
439 | Object.Parent = Parent | |
440 | Object.Name = Name | |
441 | return Object | |
442 | end | |
443 | ||
444 | Revolver = New("Model",Character,"Revolver",{}) | |
445 | Handle = New("Part",Revolver,"Handle",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147318),CFrame = CFrame.new(-38.3728828, 3.70457292, 25.9037609, -0.0267938077, 0.00274490844, -0.999638677, -0.778030157, -0.62793833, 0.0191296302, -0.627656579, 0.778258383, 0.0189604424),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),}) | |
446 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.362484, 3.83855653, 26.3172855, 0.999638855, -0.0240355674, -0.0121608162, -0.0191355199, -0.951385379, 0.307414979, -0.0189584699, -0.307070196, -0.951497018),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,}) | |
447 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
448 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.019135505, -0.0189584643, -0.0240355078, -0.951383531, -0.307070255, -0.012160819, 0.307414532, -0.951497853),C1 = CFrame.new(-0.3640728, 0.237724304, 7.62939453e-06, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),}) | |
449 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201684, 0.523788631),CFrame = CFrame.new(-38.358242, 3.88810968, 26.5481853, 0.999638915, 0.0191061404, 0.0189892221, -0.0191405267, 0.99981761, 0.00163295248, -0.0189545136, -0.00199547224, 0.999817371),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 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.54766655, 0.386320114, 0.00109481812, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),}) | |
451 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.318014473, 0.0500000007),CFrame = CFrame.new(-38.35009, 4.07556772, 26.7909775, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
452 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748272181),}) | |
453 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.846122742, 0.457586288, 0.00113296509, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
454 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3649025, 3.73728037, 26.2916756, 0.999639153, 0.0123028848, 0.0239647776, -0.0191405062, 0.950381041, 0.31050685, -0.0189554915, -0.310851365, 0.950268209),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
455 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.269138336, 0.281381607, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
456 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.112240277, 0.467668325),CFrame = CFrame.new(-38.3500748, 4.29035711, 26.5754204, 0.999639273, 0.0191061497, 0.0189892203, -0.0191405285, 0.999818027, 0.00163298217, -0.0189545136, -0.00199544244, 0.999817133),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,}) | |
457 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.877939224, 0.154953003, 0.00114059448, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
458 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3610039, 3.80826855, 26.4241943, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),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,}) | |
459 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.407649994, 0.339950562, -2.28881836e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
460 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3620377, 3.78318405, 26.3964386, 0.999639332, 0.00149332604, 0.0268912073, -0.0191375222, 0.741928697, 0.670209289, -0.0189504661, -0.670477986, 0.741685748),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
461 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.370685577, 0.334098816, 3.81469727e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
462 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.0945501924, 0.0696684495, 0.179147348),CFrame = CFrame.new(-38.3761673, 3.52345395, 25.9137459, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),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),}) | |
463 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.134737015, 0.121492386, 7.62939453e-06, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
464 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.393857986, 0.312856048, 0.179147348),CFrame = CFrame.new(-38.3805237, 3.48336768, 25.7251568, -0.0267938264, 0.00274489797, -0.999639273, -0.778030872, -0.627938807, 0.0191296358, -0.62765646, 0.778258145, 0.0189604443),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),}) | |
465 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937686, -0.778028965, -0.627657056, 0.00274492614, -0.627937436, 0.778259039, -0.999637365, 0.0191296153, 0.0189604387),C1 = CFrame.new(0.284410477, -0.000118255615, 1.90734863e-05, -0.0267937779, -0.778029323, -0.627656877, 0.00274492148, -0.627937675, 0.778258801, -0.999637723, 0.0191296227, 0.0189604405),}) | |
466 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.390549749, 0.324007213, 0.305300444),CFrame = CFrame.new(-38.3595772, 4.07825518, 26.5373688, -0.0189993083, 0.0190935526, 0.999639571, -0.00162295077, 0.999818623, -0.0191277508, -0.999817073, -0.00198539486, -0.0189648122),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.388235, 0.372549, 0.384314),}) | |
467 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.688779831, 0.258499146, 0.005859375, -0.026793791, -0.77802968, -0.627656937, 0.00274491566, -0.627937913, 0.778258801, -0.999637961, 0.0191296227, 0.0189604424),}) | |
468 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.368103, 3.84367514, 26.0160179, -0.0267938599, 0.00274484348, -0.999639988, -0.778030753, -0.62793988, 0.0191296656, -0.627656996, 0.77825743, 0.0189604368),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),}) | |
469 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0267937854, -0.778028429, -0.627657712, 0.00274487957, -0.627938151, 0.778258562, -0.999637365, 0.0191296414, 0.0189604294),C1 = CFrame.new(-0.178812027, 3.05175781e-05, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
470 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2891121, 4.1708045, 26.704916, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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),}) | |
471 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867835999, 0.330972672, -0.0596313477, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
472 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4236259, 3.98625422, 26.7077866, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
473 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448722839, 0.0713577271, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
474 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4592514, 4.08050108, 26.7083035, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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),}) | |
475 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795145035, 0.389846802, 0.108783722, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
476 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.4200134, 4.17331219, 26.7074127, -0.0189993102, 0.0190935601, 0.999639928, -0.00162292086, 0.999818861, -0.0191277526, -0.999816775, -0.0019854845, -0.0189648084),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),}) | |
477 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.867847443, 0.330982208, 0.0713195801, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
478 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3551369, 4.17849255, 26.2829323, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),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,}) | |
479 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.607187271, -0.00244903564, -0.00148391724, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
480 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3680191, 4.2568469, 26.0246201, 0.0517081767, 0.00700577348, -0.998640478, 0.108116172, 0.994061887, 0.0125716822, 0.992791355, -0.108618066, 0.0506433994),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,}) | |
481 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
482 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.051708065, 0.108115688, 0.992792606, 0.00700571574, 0.994058967, -0.108618438, -0.998637855, 0.0125716729, 0.0506434292),C1 = CFrame.new(-0.505672455, -0.252719879, 0.00799560547, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
483 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0935342535, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.365242, 4.2511735, 26.0803947, 0.0491153523, 0.0176038202, -0.998640776, -0.100927047, 0.994817436, 0.0125725428, 0.993679285, 0.100171953, 0.0506372154),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,}) | |
484 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
485 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0491152555, -0.100926913, 0.993680656, 0.0176037438, 0.994814515, 0.100171924, -0.998638153, 0.0125725307, 0.0506372526),C1 = CFrame.new(-0.536340714, -0.205741882, 0.00616836548, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
486 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3627815, 4.09111834, 26.1063156, 0.999639869, 0.0170166213, 0.0208822936, -0.0191405229, 0.994171083, 0.106131464, -0.0189544987, -0.106491901, 0.994131565),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,}) | |
487 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191404987, -0.0189544931, 0.0170165412, 0.994168162, -0.106492177, 0.0208822638, 0.106130987, 0.994132876),C1 = CFrame.new(-0.42814827, -0.0850582123, 0.00113677979, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
488 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3591576, 4.14161539, 26.2474594, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),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,}) | |
489 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.556123734, -0.0069103241, 0.00115585327, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
490 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3568039, 4.20870543, 26.3017883, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),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,}) | |
491 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.642484665, -0.00675010681, 0.0011177063, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
492 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3635483, 3.75471187, 26.3450241, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),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,}) | |
493 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.316221237, 0.311958313, -3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
494 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.359478, 3.85654569, 26.4577274, 0.999639928, -0.00957353693, 0.0251729488, -0.0191365071, 0.405198783, 0.914031863, -0.0189504921, -0.914177597, 0.404867083),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,}) | |
495 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.00957354996, 0.40519774, -0.914178908, 0.0251728632, 0.914029002, 0.40486744),C1 = CFrame.new(-0.466299057, 0.335737228, 1.14440918e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
496 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.3615456, 3.79572582, 26.4103088, 0.999639928, 0.00149333652, 0.0268912259, -0.0191375241, 0.741929173, 0.670209706, -0.0189504642, -0.670477867, 0.741685629),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,}) | |
497 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191374999, -0.0189504586, 0.00149328914, 0.741927147, -0.67047888, 0.0268911533, 0.67020756, 0.741686463),C1 = CFrame.new(-0.389162064, 0.337018967, 1.52587891e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
498 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.130947158),CFrame = CFrame.new(-38.3547707, 4.29184151, 26.3247204, 0.999639928, -0.0179588627, 0.0200701095, -0.0191365071, 0.0507248156, 0.998532534, -0.0189504921, -0.998549879, 0.0503627956),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,}) | |
499 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019136481, -0.0189504847, -0.0179588459, 0.0507248193, -0.99855119, 0.0200700238, 0.998529553, 0.0503627472),C1 = CFrame.new(-0.721614838, -0.0411014557, 0.0011100769, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
500 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201498, 0.0748269483),CFrame = CFrame.new(-38.360939, 4.10686398, 26.1891041, 0.99963975, 0.0123029007, 0.0239647925, -0.019140508, 0.950381637, 0.310507029, -0.0189554933, -0.310851365, 0.95026803),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,}) | |
501 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637187, -0.0191404838, -0.0189554859, 0.012302829, 0.950378895, -0.310851872, 0.0239647459, 0.310505927, 0.950269282),C1 = CFrame.new(-0.49241066, -0.0305099487, 0.00116729736, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
502 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3670616, 3.78774142, 26.1283646, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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),}) | |
503 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(-0.20583725, 0.122591019, 3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
504 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3809319, 3.43171239, 25.7549477, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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),}) | |
505 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.305912018, 0.0555019379, 3.81469727e-06, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
506 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.312856019, 0.179147348),CFrame = CFrame.new(-38.3741188, 3.63771868, 25.904192, -0.0190952383, 0.0189964436, -0.999639988, -0.999818921, 0.00162947504, 0.0191295464, 0.0019919856, 0.999816895, 0.0189618152),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),}) | |
507 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0190951545, -0.999815941, 0.00199208409, 0.0189964212, 0.00162928551, 0.999818146, -0.999637365, 0.0191295221, 0.0189618096),C1 = CFrame.new(0.051776886, 0.0423126221, -3.43322754e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
508 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.179147512, 0.275442541, 0.179147348),CFrame = CFrame.new(-38.3673401, 3.93712115, 25.9597282, -0.018991746, -0.0190976169, -0.999639869, -0.00159495184, -0.999818861, 0.0191312619, -0.999817133, 0.00195741793, 0.0189577676),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),}) | |
509 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189917199, -0.00159476697, -0.999818385, -0.0190975331, -0.999815822, 0.00195753202, -0.999637306, 0.0191312376, 0.018957762),C1 = CFrame.new(-0.216205597, -0.102453232, -3.05175781e-05, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
510 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3258743, 4.31370211, 27.823822, 0.999639869, 0.0123032499, 0.0239638593, -0.0191405416, 0.950381875, 0.310506582, -0.018954508, -0.310850888, 0.950268328),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.0666667, 0.0666667, 0.0666667),}) | |
511 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191405173, -0.0189545024, 0.0123031754, 0.950379074, -0.310851455, 0.0239638127, 0.310505509, 0.950269461),C1 = CFrame.new(-1.68031883, 1.11194038, 0.00106430054, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
512 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0500000007, 0.130947366),CFrame = CFrame.new(-38.3609924, 4.22642231, 26.1701736, 0.0443816409, 0.0274274386, -0.998640835, -0.305555671, 0.952094495, 0.0125694564, 0.951138258, 0.304580629, 0.0506358296),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,}) | |
513 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
514 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0443815626, -0.305554956, 0.95113951, 0.0274273418, 0.952091634, 0.304580897, -0.998638272, 0.012569447, 0.0506358668),C1 = CFrame.new(-0.573547363, -0.120317459, 0.00314712524, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
515 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.224480718, 1.08499062),CFrame = CFrame.new(-38.3363838, 4.23546743, 27.3518353, 0.999637306, 0.0191060845, 0.0189892054, -0.019140508, 0.999815702, 0.00163278729, -0.0189545061, -0.00199565664, 0.999818206),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,}) | |
516 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.32292366, 0.793710709, 0.00112533569, -0.0267937984, -0.778029799, -0.627656758, 0.0027449138, -0.627938092, 0.778258622, -0.999638379, 0.0191296265, 0.0189604424),}) | |
517 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.130947024, 0.130947366),CFrame = CFrame.new(-38.3523636, 4.34570503, 26.3805065, -0.00542384386, 0.0113785323, -0.999923527, -0.304601461, 0.952401936, 0.0124899168, 0.95246321, 0.304643661, -0.00169967301),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,}) | |
518 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00542378426, -0.304600567, 0.952464759, 0.0113784745, 0.952398598, 0.304644048, -0.999920666, 0.0124899149, -0.00169971026),C1 = CFrame.new(-0.798601151, -0.03150177, 0.000793457031, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
519 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0561201051, 0.093533583),CFrame = CFrame.new(-38.3584099, 4.13089132, 26.2951355, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
520 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.577724457, 0.0369300842, 0.0011100769, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
521 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0935335755, 0.0500000007),CFrame = CFrame.new(-38.3564758, 4.20576382, 26.3230495, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
522 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748267591),}) | |
523 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.653549194, 0.0116443634, 0.00113677979, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
524 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.243187517, 0.243187711),CFrame = CFrame.new(-38.3637924, 3.98103428, 26.1644993, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
525 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.378992081, 0.0293464661, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
526 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2534904, 4.07655191, 26.7043953, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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),}) | |
527 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.795133591, 0.389850616, -0.0970535278, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
528 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0538285114, 0.136939868, 0.0621128492),CFrame = CFrame.new(-38.2926674, 3.98374462, 26.705307, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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),}) | |
529 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.722448349, 0.448728561, -0.0596466064, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
530 | Part = New("Part",Revolver,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.0748268217, 0.130947158),CFrame = CFrame.new(-38.3472214, 4.17853594, 26.8375359, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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.0666667, 0.0666667, 0.0666667),}) | |
531 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-0.955533981, 0.429170609, 0.0011177063, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
532 | Part = New("Part",Revolver,"Part",{Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.558910429, 0.0621129386, 0.0500000007),CFrame = CFrame.new(-38.3611488, 4.07811308, 26.4538155, -0.0189993102, 0.0190935712, 0.999640286, -0.00162292074, 0.999819279, -0.0191277582, -0.999816477, -0.0019854249, -0.0189648084),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,}) | |
533 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.868122339),MeshType = Enum.MeshType.Cylinder,}) | |
534 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0189992897, -0.00162276253, -0.999818087, 0.0190934762, 0.999815822, -0.0019855909, 0.999637365, -0.0191277284, -0.0189648028),C1 = CFrame.new(-0.636184692, 0.193557739, 0.00584411621, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
535 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3621101, 3.82861376, 26.3480301, 0.999640226, -0.0218390953, -0.0157698654, -0.0191375352, -0.987764359, 0.154798254, -0.0189574938, -0.154439881, -0.987818539),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,}) | |
536 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
537 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191375054, -0.0189574864, -0.0218389966, -0.987760961, -0.154439867, -0.0157698598, 0.154797867, -0.987820148),C1 = CFrame.new(-0.375644684, 0.267896652, 2.67028809e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
538 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361202, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-38.3626404, 3.85922289, 26.2887363, 0.999640226, -0.0266199727, -0.00413384894, -0.0191405304, -0.809829473, 0.586359143, -0.0189565029, -0.586064339, -0.810040593),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,}) | |
539 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
540 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637246, -0.0191404987, -0.0189564954, -0.0266198851, -0.809826612, -0.586065173, -0.00413388759, 0.586357296, -0.810042024),C1 = CFrame.new(-0.362228394, 0.202528, 1.90734863e-05, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
541 | Wedge = New("WedgePart",Revolver,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(0.187067494, 0.0500000007, 0.168360502),CFrame = CFrame.new(-38.3605042, 4.09345627, 25.9539185, 0.999640286, 0.0191050563, 0.0189823508, -0.0191395301, 0.9998191, 0.00164000038, -0.0189475045, -0.00200233795, 0.999816775),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),}) | |
542 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.748268664, 1),MeshType = Enum.MeshType.Wedge,}) | |
543 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.0191395003, -0.018947497, 0.0191049613, 0.999815702, -0.0020025298, 0.0189823266, 0.00163980573, 0.999818385),C1 = CFrame.new(-0.334375381, -0.205123901, -0.00398254395, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
544 | Shootpart = New("Part",Revolver,"Shootpart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.130947724, 0.18706724, 0.29930833),CFrame = CFrame.new(-38.3281364, 4.23616076, 27.7820606, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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.0666667, 0.0666667, 0.0666667),}) | |
545 | mot = New("Motor",Shootpart,"mot",{Part0 = Shootpart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59371758, 1.12812424, 0.00105285645, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
546 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.3278847, 4.13346672, 27.9038849, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
547 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),}) | |
548 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.59029007, 1.28742218, 0.00114440918, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
549 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.168361187, 0.0500000007, 0.0561201721),CFrame = CFrame.new(-38.323967, 4.33924246, 27.9034653, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
550 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),}) | |
551 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.75023079, 1.15789223, 0.00115966797, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
552 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.4007149, 4.23778868, 27.9050961, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
553 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.374134958, 1, 1),}) | |
554 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026329, 1.22265625, 0.075969696, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
555 | Part = New("Part",Revolver,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.0500000007, 0.224480838, 0.0561201721),CFrame = CFrame.new(-38.2510986, 4.23492861, 27.9022503, 0.999640226, 0.0191061813, 0.0189892277, -0.0191405378, 0.99981904, 0.00163298182, -0.0189545136, -0.00199544267, 0.999816656),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,}) | |
556 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.37413469, 1, 1),}) | |
557 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999637306, -0.019140508, -0.0189545061, 0.0191060845, 0.999815702, -0.00199565664, 0.0189892054, 0.00163278729, 0.999818206),C1 = CFrame.new(-1.67026138, 1.22264862, -0.0737037659, -0.0267938077, -0.778030157, -0.627656579, 0.00274490844, -0.62793833, 0.778258383, -0.999638677, 0.0191296302, 0.0189604424),}) | |
558 | ||
559 | moter = New("Motor",Handle,"mot",{Part0 =RightArm, Part1 = Handle,}) | |
560 | ||
561 | Partasd = Shootpart | |
562 | ||
563 | game.ContentProvider:Preload("rbxassetid://642849721") | |
564 | game.ContentProvider:Preload("rbxassetid://931130559") | |
565 | ||
566 | local hello = Instance.new("Sound") | |
567 | hello.SoundId = "rbxassetid://642849721" | |
568 | hello.PlaybackSpeed = 1 | |
569 | hello.Volume = 5.5 | |
570 | hello.Parent = Head | |
571 | hello.Looped = true | |
572 | hello:Play() | |
573 | ||
574 | local BladeHitSounds = { | |
575 | "199149137", | |
576 | "199149186", | |
577 | "199149221", | |
578 | "199149235", | |
579 | "199149269", | |
580 | "199149297" | |
581 | } | |
582 | ||
583 | local FistHitSounds = { | |
584 | "199149137", | |
585 | "199149186", | |
586 | "199149221", | |
587 | "199149235", | |
588 | "199149269", | |
589 | "199149297" | |
590 | } | |
591 | ||
592 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
593 | if hit.Parent == nil then | |
594 | return | |
595 | end | |
596 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
597 | for _, v in pairs(hit.Parent:children()) do | |
598 | if v:IsA("Humanoid") then | |
599 | h = v | |
600 | end | |
601 | end | |
602 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
603 | warn'No R15 allowed' | |
604 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
605 | end | |
606 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
607 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
608 | if hit.Parent.DebounceHit.Value == true then | |
609 | return | |
610 | end | |
611 | end | |
612 | local c = Create("ObjectValue"){ | |
613 | Name = "creator", | |
614 | Value = game:service("Players").LocalPlayer, | |
615 | Parent = h, | |
616 | } | |
617 | game:GetService("Debris"):AddItem(c, .5) | |
618 | if HitSound ~= nil and HitPitch ~= nil then | |
619 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
620 | end | |
621 | local Damage = math.random(minim, maxim) | |
622 | local blocked = false | |
623 | local block = hit.Parent:findFirstChild("Block") | |
624 | if block ~= nil then | |
625 | if block.className == "IntValue" then | |
626 | if block.Value > 0 then | |
627 | blocked = true | |
628 | block.Value = block.Value - 1 | |
629 | print(block.Value) | |
630 | end | |
631 | end | |
632 | end | |
633 | if blocked == false then | |
634 | h.Health = h.Health - Damage | |
635 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
636 | else | |
637 | h.Health = h.Health - (Damage / 2) | |
638 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
639 | end | |
640 | if Type == "Knockdown" then | |
641 | local hum = hit.Parent.Humanoid | |
642 | hum.PlatformStand = true | |
643 | coroutine.resume(coroutine.create(function(HHumanoid) | |
644 | swait(1) | |
645 | HHumanoid.PlatformStand = false | |
646 | end), hum) | |
647 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
648 | local bodvol = Create("BodyVelocity"){ | |
649 | velocity = angle * knockback, | |
650 | P = 5000, | |
651 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
652 | Parent = hit, | |
653 | } | |
654 | local rl = Create("BodyAngularVelocity"){ | |
655 | P = 3000, | |
656 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
657 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
658 | Parent = hit, | |
659 | } | |
660 | game:GetService("Debris"):AddItem(bodvol, .5) | |
661 | game:GetService("Debris"):AddItem(rl, .5) | |
662 | elseif Type == "Normal" then | |
663 | local vp = Create("BodyVelocity"){ | |
664 | P = 500, | |
665 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
666 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
667 | } | |
668 | if knockback > 0 then | |
669 | vp.Parent = hit.Parent.Torso | |
670 | end | |
671 | game:GetService("Debris"):AddItem(vp, .5) | |
672 | elseif Type == "Up" then | |
673 | local bodyVelocity = Create("BodyVelocity"){ | |
674 | velocity = Vector3.new(0, 20, 0), | |
675 | P = 5000, | |
676 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
677 | Parent = hit, | |
678 | } | |
679 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
680 | elseif Type == "DarkUp" then | |
681 | coroutine.resume(coroutine.create(function() | |
682 | for i = 0, 1, 0.1 do | |
683 | swait() | |
684 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
685 | end | |
686 | end)) | |
687 | local bodyVelocity = Create("BodyVelocity"){ | |
688 | velocity = Vector3.new(0, 20, 0), | |
689 | P = 5000, | |
690 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
691 | Parent = hit, | |
692 | } | |
693 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
694 | elseif Type == "Snare" then | |
695 | local bp = Create("BodyPosition"){ | |
696 | P = 2000, | |
697 | D = 100, | |
698 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
699 | position = hit.Parent.Torso.Position, | |
700 | Parent = hit.Parent.Torso, | |
701 | } | |
702 | game:GetService("Debris"):AddItem(bp, 1) | |
703 | elseif Type == "Freeze" then | |
704 | local BodPos = Create("BodyPosition"){ | |
705 | P = 50000, | |
706 | D = 1000, | |
707 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
708 | position = hit.Parent.Torso.Position, | |
709 | Parent = hit.Parent.Torso, | |
710 | } | |
711 | local BodGy = Create("BodyGyro") { | |
712 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
713 | P = 20e+003, | |
714 | Parent = hit.Parent.Torso, | |
715 | cframe = hit.Parent.Torso.CFrame, | |
716 | } | |
717 | hit.Parent.Torso.Anchored = true | |
718 | coroutine.resume(coroutine.create(function(Part) | |
719 | swait(1.5) | |
720 | Part.Anchored = false | |
721 | end), hit.Parent.Torso) | |
722 | game:GetService("Debris"):AddItem(BodPos, 3) | |
723 | game:GetService("Debris"):AddItem(BodGy, 3) | |
724 | end | |
725 | local debounce = Create("BoolValue"){ | |
726 | Name = "DebounceHit", | |
727 | Parent = hit.Parent, | |
728 | Value = true, | |
729 | } | |
730 | game:GetService("Debris"):AddItem(debounce, Delay) | |
731 | c = Create("ObjectValue"){ | |
732 | Name = "creator", | |
733 | Value = Player, | |
734 | Parent = h, | |
735 | } | |
736 | game:GetService("Debris"):AddItem(c, .5) | |
737 | end | |
738 | end | |
739 | ||
740 | function ShowDamage(Pos, Text, Time, Color) | |
741 | local Rate = (1 / 30) | |
742 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
743 | local Text = (Text or "") | |
744 | local Time = (Time or 2) | |
745 | local Color = (Color or Color3.new(1, 0, 1)) | |
746 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
747 | EffectPart.Anchored = true | |
748 | local BillboardGui = Create("BillboardGui"){ | |
749 | Size = UDim2.new(3, 0, 3, 0), | |
750 | Adornee = EffectPart, | |
751 | Parent = EffectPart, | |
752 | } | |
753 | local TextLabel = Create("TextLabel"){ | |
754 | BackgroundTransparency = 1, | |
755 | Size = UDim2.new(1, 0, 1, 0), | |
756 | Text = Text, | |
757 | Font = "SciFi", | |
758 | TextColor3 = Color, | |
759 | TextScaled = true, | |
760 | Parent = BillboardGui, | |
761 | } | |
762 | game.Debris:AddItem(EffectPart, (Time)) | |
763 | EffectPart.Parent = game:GetService("Workspace") | |
764 | delay(0, function() | |
765 | local Frames = (Time / Rate) | |
766 | for Frame = 1, Frames do | |
767 | wait(Rate) | |
768 | local Percent = (Frame / Frames) | |
769 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
770 | TextLabel.TextTransparency = Percent | |
771 | end | |
772 | if EffectPart and EffectPart.Parent then | |
773 | EffectPart:Destroy() | |
774 | end | |
775 | end) | |
776 | end | |
777 | ||
778 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
779 | for _, c in pairs(workspace:children()) do | |
780 | local hum = c:findFirstChild("Humanoid") | |
781 | if hum ~= nil then | |
782 | local head = c:findFirstChild("Torso") | |
783 | if head ~= nil then | |
784 | local targ = head.Position - Part.Position | |
785 | local mag = targ.magnitude | |
786 | if mag <= Magnitude and c.Name ~= Player.Name then | |
787 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
788 | end | |
789 | end | |
790 | end | |
791 | end | |
792 | end | |
793 | ||
794 | EffectModel = Create("Model"){ | |
795 | Parent = Character, | |
796 | Name = "Effects", | |
797 | } | |
798 | ||
799 | Effects = { | |
800 | ||
801 | Block = { | |
802 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
803 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
804 | prt.Anchored = true | |
805 | prt.CFrame = cframe | |
806 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
807 | game:GetService("Debris"):AddItem(prt, 10) | |
808 | if Type == 1 or Type == nil then | |
809 | table.insert(Effects, { | |
810 | prt, | |
811 | "Block1", | |
812 | delay, | |
813 | x3, | |
814 | y3, | |
815 | z3, | |
816 | msh | |
817 | }) | |
818 | elseif Type == 2 then | |
819 | table.insert(Effects, { | |
820 | prt, | |
821 | "Block2", | |
822 | delay, | |
823 | x3, | |
824 | y3, | |
825 | z3, | |
826 | msh | |
827 | }) | |
828 | elseif Type == 3 then | |
829 | table.insert(Effects, { | |
830 | prt, | |
831 | "Block3", | |
832 | delay, | |
833 | x3, | |
834 | y3, | |
835 | z3, | |
836 | msh, | |
837 | Part | |
838 | }) | |
839 | elseif Type == 4 then | |
840 | table.insert(Effects, { | |
841 | prt, | |
842 | "Block2Fire", | |
843 | delay, | |
844 | x3, | |
845 | y3, | |
846 | z3, | |
847 | msh | |
848 | }) | |
849 | end | |
850 | end | |
851 | ||
852 | }, | |
853 | ||
854 | Cylinder = { | |
855 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
856 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
857 | prt.Anchored = true | |
858 | prt.CFrame = cframe | |
859 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
860 | game:GetService("Debris"):AddItem(prt, 10) | |
861 | table.insert(Effects, { | |
862 | prt, | |
863 | "Cylinder", | |
864 | delay, | |
865 | x3, | |
866 | y3, | |
867 | z3, | |
868 | msh | |
869 | }) | |
870 | end | |
871 | ||
872 | }, | |
873 | ||
874 | Sphere = { | |
875 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
876 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
877 | prt.Anchored = true | |
878 | prt.CFrame = cframe | |
879 | if parent == nil then | |
880 | prt.Parent = workspace | |
881 | else | |
882 | prt.Parent = parent | |
883 | end | |
884 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
885 | game:GetService("Debris"):AddItem(prt, 10) | |
886 | table.insert(Effects, { | |
887 | prt, | |
888 | "Cylinder", | |
889 | delay, | |
890 | x3, | |
891 | y3, | |
892 | z3, | |
893 | msh | |
894 | }) | |
895 | end | |
896 | }, | |
897 | ||
898 | Blood = { | |
899 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
900 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
901 | prt.Anchored = true | |
902 | prt.CFrame = cframe | |
903 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
904 | game:GetService("Debris"):AddItem(prt, 10) | |
905 | table.insert(Effects, { | |
906 | prt, | |
907 | "Blood", | |
908 | delay, | |
909 | x3, | |
910 | y3, | |
911 | z3, | |
912 | msh | |
913 | }) | |
914 | end | |
915 | }, | |
916 | ||
917 | Head = { | |
918 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
919 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
920 | prt.Anchored = true | |
921 | prt.CFrame = cframe | |
922 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", 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 | Fire = { | |
937 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
938 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
939 | prt.Anchored = true | |
940 | prt.CFrame = cframe | |
941 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
942 | game:GetService("Debris"):AddItem(prt, 10) | |
943 | table.insert(Effects, { | |
944 | prt, | |
945 | "Fire", | |
946 | delay, | |
947 | 1, | |
948 | 1, | |
949 | 1, | |
950 | msh | |
951 | }) | |
952 | end; | |
953 | }; | |
954 | ||
955 | Ring = { | |
956 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par) | |
957 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
958 | prt.Anchored = true | |
959 | if par ~= nil then | |
960 | prt.Parent = par | |
961 | end | |
962 | prt.CFrame = cframe * CFrame.new(x3, y3, z3) | |
963 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
964 | game:GetService("Debris"):AddItem(prt, 10) | |
965 | table.insert(Effects, { | |
966 | prt, | |
967 | "Cylinder", | |
968 | delay, | |
969 | x3, | |
970 | y3, | |
971 | z3, | |
972 | msh | |
973 | }) | |
974 | end | |
975 | }, | |
976 | ||
977 | Blast = { | |
978 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
979 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
980 | prt.Anchored = true | |
981 | prt.CFrame = cframe | |
982 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
983 | game:GetService("Debris"):AddItem(prt, 10) | |
984 | table.insert(Effects, { | |
985 | prt, | |
986 | "Block4", | |
987 | delay, | |
988 | x3, | |
989 | y3, | |
990 | z3, | |
991 | msh, | |
992 | Part | |
993 | }) | |
994 | end | |
995 | }, | |
996 | ||
997 | Wave = { | |
998 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
999 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1000 | prt.Anchored = true | |
1001 | prt.CFrame = cframe | |
1002 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1003 | game:GetService("Debris"):AddItem(prt, 10) | |
1004 | table.insert(Effects, { | |
1005 | prt, | |
1006 | "Cylinder", | |
1007 | delay, | |
1008 | x3, | |
1009 | y3, | |
1010 | z3, | |
1011 | msh | |
1012 | }) | |
1013 | end | |
1014 | }, | |
1015 | ||
1016 | Elec = { | |
1017 | Create = function(cff, x, y, z) | |
1018 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1)) | |
1019 | prt.Anchored = true | |
1020 | prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100) | |
1021 | prt.CFrame = CFrame.new(prt.Position) | |
1022 | game:GetService("Debris"):AddItem(prt, 10) | |
1023 | local xval = math.random() / 9 | |
1024 | local yval = math.random() / 9 | |
1025 | local zval = math.random() / 9 | |
1026 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1027 | local eul1 = math.random(-50, 50) | |
1028 | local eul2 = math.random(-50, 50) | |
1029 | local eul3 = math.random(-50, 50) | |
1030 | local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
1031 | local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
1032 | Effects[#Effects + 1] = { | |
1033 | prt, | |
1034 | "Elec", | |
1035 | .05, | |
1036 | x, | |
1037 | y, | |
1038 | z, | |
1039 | xval, | |
1040 | yval, | |
1041 | zval, | |
1042 | msh, | |
1043 | euld, | |
1044 | euld2 | |
1045 | } | |
1046 | end | |
1047 | }, | |
1048 | ||
1049 | Break = { | |
1050 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1051 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1052 | prt.Anchored = true | |
1053 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1054 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1055 | local num = math.random(10, 50) / 1000 | |
1056 | game:GetService("Debris"):AddItem(prt, 10) | |
1057 | table.insert(Effects, { | |
1058 | prt, | |
1059 | "Shatter", | |
1060 | num, | |
1061 | prt.CFrame, | |
1062 | math.random() - math.random(), | |
1063 | 0, | |
1064 | math.random(50, 100) / 100 | |
1065 | }) | |
1066 | end; | |
1067 | }; | |
1068 | ||
1069 | Ice = { | |
1070 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1071 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1072 | prt.Anchored = true | |
1073 | prt.CFrame = cframe | |
1074 | msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1075 | game:GetService("Debris"):AddItem(prt, 10) | |
1076 | for i = 1, 5 do | |
1077 | Effects.Break.Create(BrickColor.new("White"), Torso.CFrame, 10, 1, 2.6) | |
1078 | end | |
1079 | for i = 1, 15 do | |
1080 | local freezepart = CFuncs.Part.Create(EffectModel, "Neon", 1, 1, BrickColor.new("Bright blue"), "Ice Part", Vector3.new(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random())) | |
1081 | freezepart.Anchored = true | |
1082 | freezepart.CanCollide = true | |
1083 | freezepart.CFrame = cframe * CFrame.new(math.random(-300, 300) / 100, 4, math.random(-300, 300) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1084 | game:GetService("Debris"):AddItem(freezepart, 10) | |
1085 | end | |
1086 | table.insert(Effects, { | |
1087 | prt, | |
1088 | "Ice", | |
1089 | delay, | |
1090 | msh, | |
1091 | 1, | |
1092 | .2 | |
1093 | }) | |
1094 | end | |
1095 | }, | |
1096 | ||
1097 | Lightning = { | |
1098 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1099 | local magz = (p0 - p1).magnitude | |
1100 | local curpos = p0 | |
1101 | local trz = { | |
1102 | -ofs, | |
1103 | ofs | |
1104 | } | |
1105 | for i = 1, tym do | |
1106 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1107 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1108 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1109 | li.Material = "Neon" | |
1110 | if tym == i then | |
1111 | local magz2 = (curpos - p1).magnitude | |
1112 | li.Size = Vector3.new(th, th, magz2) | |
1113 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1114 | table.insert(Effects, { | |
1115 | li, | |
1116 | "Disappear", | |
1117 | last | |
1118 | }) | |
1119 | else | |
1120 | do | |
1121 | do | |
1122 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1123 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1124 | game.Debris:AddItem(li, 10) | |
1125 | table.insert(Effects, { | |
1126 | li, | |
1127 | "Disappear", | |
1128 | last | |
1129 | }) | |
1130 | end | |
1131 | end | |
1132 | end | |
1133 | end | |
1134 | end | |
1135 | }; | |
1136 | ||
1137 | EffectTemplate = { | |
1138 | ||
1139 | }; | |
1140 | ||
1141 | } | |
1142 | ||
1143 | function Shoot7(Part) | |
1144 | sp = Part.Position | |
1145 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
1146 | local hit, pos = rayCast(sp, dirr.lookVector, 1000, Character) | |
1147 | local las = Instance.new("Part", Character) | |
1148 | las.Anchored = true | |
1149 | las.Locked = true | |
1150 | las.CanCollide = false | |
1151 | las.TopSurface = 0 | |
1152 | las.BottomSurface = 0 | |
1153 | las.BrickColor = BrickColor.new("White") | |
1154 | las.Size = Vector3.new(10, 1, 10) | |
1155 | las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0) | |
1156 | local msh = Instance.new("SpecialMesh", las) | |
1157 | mag = (Part.Position - pos).magnitude | |
1158 | msh.Scale = Vector3.new(0.001, mag, 0.001) | |
1159 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1160 | for i = 0, 0.8, 0.1 do | |
1161 | swait() | |
1162 | Part.Transparency = Part.Transparency + 0.1 | |
1163 | Mesh.Scale = Mesh.Scale + Vector3.new(1, 0.02, 1) | |
1164 | end | |
1165 | Part.Parent = nil | |
1166 | end), las, msh) | |
1167 | if pos ~= nil then | |
1168 | local las2 = Instance.new("Part", Character) | |
1169 | las2.Anchored = true | |
1170 | las2.Locked = true | |
1171 | las2.CanCollide = false | |
1172 | las2.TopSurface = 0 | |
1173 | las2.BottomSurface = 0 | |
1174 | las2.Transparency = 1 | |
1175 | las2.BrickColor = BrickColor.new("White") | |
1176 | las2.Size = Vector3.new(1, 1, 1) | |
1177 | las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0) | |
1178 | local msh = Instance.new("SpecialMesh", las2) | |
1179 | msh.MeshType = "Sphere" | |
1180 | mag = (Part.Position - pos).magnitude | |
1181 | msh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1182 | Effects.Ring.Create(BrickColor.new("White"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 25, 25, 2, 15, 15, 7, 0.07) | |
1183 | Effects.Sphere.Create(BrickColor.new("White"), las2.CFrame, 12, 12, 12, 80, 80, 80, 0.07) | |
1184 | MagnitudeDamage(las2, 40, 20, 20, 1, "Snare", "0", 1) | |
1185 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.7) | |
1186 | ||
1187 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1188 | for i = 0, 0.8, 0.1 do | |
1189 | swait() | |
1190 | Part.Transparency = Part.Transparency + 1 | |
1191 | Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0) | |
1192 | end | |
1193 | Part.Parent = nil | |
1194 | end), las2, msh) | |
1195 | end | |
1196 | if hit ~= nil and pos ~= nil then | |
1197 | if hit.Parent.className == "Accessory" then | |
1198 | hit:BreakJoints() | |
1199 | hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5)) | |
1200 | end | |
1201 | ||
1202 | end | |
1203 | end | |
1204 | ||
1205 | ||
1206 | function attackone() | |
1207 | attack = true | |
1208 | for i = 0, 1, 0.1 do | |
1209 | swait() | |
1210 | PlayAnimationFromTable({ | |
1211 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1212 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1213 | CFrame.new(1.50379586, 0.437886596, -0.654326677, 0.999822855, -0.0187563021, -0.00347148441, -0.00348084164, -0.000465080549, -0.999995351, 0.0187545996, 0.99982357, -0.000530224817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1214 | CFrame.new(-1.51647484, 0.0492154807, 0.182783186, 0.998442948, 0.0524127446, -0.0190898348, -0.0487618595, 0.98629868, 0.15760535, 0.0270887911, -0.156429097, 0.987318754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1215 | CFrame.new(0.557841063, -2.01711893, -0.0416967012, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1216 | CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1217 | }, .3, false) | |
1218 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0731695592, -0.672584653, -0.223004475, 0.0412685275, -0.0151544847, 0.999039233, 0.627405107, -0.777776599, -0.0377153233, 0.777599573, 0.62835741, -0.0225896034) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1219 | end | |
1220 | shootmain(Mouse, Shootpart,1, 1) | |
1221 | for i = 0, 1, 0.1 do | |
1222 | swait() | |
1223 | RootPart.Velocity = RootPart.CFrame.lookVector * -10 | |
1224 | PlayAnimationFromTable({ | |
1225 | CFrame.new(0, -0, 0, 0.994521797, 0.00547062745, -0.104386218, 3.04088061e-08, 0.998630583, 0.0523360781, 0.104529567, -0.0520493761, 0.993159771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1226 | CFrame.new(-0.0156579614, 1.49789202, -0.0706776828, 0.994521797, -0.00547064235, 0.104386516, 0.00547062745, 0.99998796, 0.000286314636, -0.104386218, 0.000286318362, 0.994539678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1227 | CFrame.new(1.43615687, 0.554609299, -0.6940853, 0.996182859, 0.0835634172, -0.0252404269, -0.00274252123, -0.259045154, -0.96586144, -0.0872491002, 0.962243617, -0.257827133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1228 | CFrame.new(-1.49062657, -0.0179859884, 0.350454509, 0.995804667, 0.0313175321, 0.0859754384, -0.0446428284, 0.986471772, 0.157739788, -0.0798722282, -0.160916194, 0.983731329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1229 | CFrame.new(0.550415456, -2.00912833, -0.205209821, 0.993926883, -0.030214902, 0.10581328, 0.0415640511, 0.993417323, -0.106751151, -0.101891175, 0.110500939, 0.988639593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1230 | CFrame.new(-0.54952234, -1.99758744, -0.0468520671, 0.994521797, 9.35956507e-07, 0.104529269, 0.0054697087, 0.998627245, -0.0520490929, -0.104386307, 0.0523356982, 0.993156433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1231 | }, .3, false) | |
1232 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0731737167, -0.672586501, -0.223005846, 0.0412693992, -0.0151543571, 0.999034524, 0.627405703, -0.777777851, -0.0377158932, 0.777599216, 0.628356814, -0.022590477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1233 | end | |
1234 | attack = false | |
1235 | end | |
1236 | ||
1237 | function skill1() | |
1238 | attack = true | |
1239 | Humanoid.WalkSpeed = 0 | |
1240 | for i = 0, 1, 0.1 do | |
1241 | swait() | |
1242 | PlayAnimationFromTable({ | |
1243 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1244 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1245 | CFrame.new(1.92435527, 0.919791996, 0.0265611447, -0.0116076013, -0.891222477, 0.453427076, 0.0151377954, -0.453558594, -0.891102493, 0.999818981, -0.00347974291, 0.0187559333) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1246 | CFrame.new(-1.57055521, 0.100203805, 0.122959681, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1247 | CFrame.new(0.557826519, -2.01724768, 0.00830234401, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1248 | CFrame.new(-0.55255121, -1.99732482, 2.08271498e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1249 | }, .3, false) | |
1250 | moter.C0 = clerp(moter.C0, CFrame.new(0.0230328515, -0.787980795, -0.0187070873, -0.0398879573, -0.0184677243, -0.999042511, -0.257566422, 0.966233969, -0.00757749146, 0.965449393, 0.257022798, -0.0432975888) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1251 | end | |
1252 | badabing = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "Reference", Vector3.new()) | |
1253 | badabing.Anchored=true | |
1254 | badabing.CFrame = RootPart.CFrame * CFrame.new(0, 150, 0) | |
1255 | randomizer = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "groundref", Vector3.new()) | |
1256 | randomizer.Anchored=true | |
1257 | randomizer.CFrame = RootPart.CFrame * CFrame.new(0, -1, 0) | |
1258 | ||
1259 | CFuncs.Sound.Create("rbxassetid://231917975", Torso, 3, 1) | |
1260 | for i = 1, 100 do | |
1261 | swait(.0001) | |
1262 | randomizer.CFrame = RootPart.CFrame * CFrame.new(math.random(-0, 0), -1.3, math.random(-0, 0)) | |
1263 | Effects.Sphere.Create(BrickColor.new('White'), randomizer.CFrame, 50, 50, 50, 1, 1, 1, .1) | |
1264 | end | |
1265 | CFuncs.Sound.Create("rbxassetid://231917833", Torso, 4, 1) | |
1266 | for i = 0, 1, 0.1 do | |
1267 | swait() | |
1268 | hail(badabing, badabing, 10, 1.5) | |
1269 | Effects.Break.Create(BrickColor.new("Light blue"), Shootpart.CFrame * CFrame.new(0, 0, 0)) | |
1270 | hail(badabing, badabing, 10, 1.5) | |
1271 | hail(badabing, badabing, 10, 1.5) | |
1272 | hail(badabing, badabing, 10, 1.5) | |
1273 | hail(badabing, badabing, 10, 1.5) | |
1274 | PlayAnimationFromTable({ | |
1275 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1276 | CFrame.new(-0.0572109967, 1.54154742, 1.16861089e-12, 0.987688065, -0.156435952, -1.17458057e-11, 0.156436101, 0.987689018, -1.23634436e-12, 1.2693846e-11, -7.67386155e-13, 1.00000095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1277 | CFrame.new(1.86167085, 0.750771523, 0.028392395, -0.0116075892, -0.809319139, 0.587254465, 0.0151378037, -0.587369561, -0.809178472, 0.999818981, -0.000502867741, 0.0190692581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1278 | CFrame.new(-1.57055497, 0.100203834, 0.122953884, 0.994331479, 0.104597613, -0.0190892573, -0.100316271, 0.982395411, 0.15760392, 0.035238184, -0.154795647, 0.987318873) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1279 | CFrame.new(0.55781889, -2.01724815, 0.00830043294, 0.99935025, -0.03617635, -0.000444640638, 0.0361750089, 0.999344468, -0.00256539602, 0.000537161017, 0.00254765828, 0.999996126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1280 | CFrame.new(-0.55255121, -1.99732471, 2.0827148e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1281 | }, .3, false) | |
1282 | moter.C0 = clerp(moter.C0, CFrame.new(0.0240847785, -1.15937495, 0.0576619059, -0.0439543091, -0.000644756015, -0.999034703, 0.310074389, 0.950606227, -0.0142557155, 0.949696422, -0.310399175, -0.0415832885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1283 | end | |
1284 | badabing:Remove() | |
1285 | randomizer:Remove() | |
1286 | Humanoid.WalkSpeed = 16 | |
1287 | attack = false | |
1288 | end | |
1289 | ||
1290 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1291 | ||
1292 | local prt = CFuncs.Part.Create(EffectModel, "Plastic", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1293 | prt.Anchored = true | |
1294 | prt.CFrame = cframe | |
1295 | prt.Material = "Plastic" | |
1296 | prt.BrickColor = BrickColor.new("Cool yellow") | |
1297 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1298 | game:GetService("Debris"):AddItem(prt, 10) | |
1299 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1300 | ||
1301 | for i = 0, 1, delay do | |
1302 | swait() | |
1303 | Part.Transparency = i | |
1304 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1305 | end | |
1306 | Part.Parent = nil | |
1307 | end | |
1308 | ), prt, msh) | |
1309 | end | |
1310 | ||
1311 | hail = function(mouse, partt, SpreadAmount, multiply) | |
1312 | ||
1313 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1314 | local MainPos = badabing.Position | |
1315 | local MainPos2 = randomizer.Position + SpreadVectors | |
1316 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1317 | local speed = 9001 | |
1318 | local num = 70 | |
1319 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=341336307", partt, 1, 1) | |
1320 | coroutine.resume(coroutine.create(function() | |
1321 | ||
1322 | repeat | |
1323 | swait() | |
1324 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1325 | local mag = (MainPos - pos).magnitude | |
1326 | Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15) | |
1327 | MainPos = MainPos + MouseLook.lookVector * speed | |
1328 | num = num - 1 | |
1329 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1330 | if hit ~= nil then | |
1331 | num = 0 | |
1332 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Cool yellow", "Effect", Vector3.new()) | |
1333 | refpart.Anchored = true | |
1334 | refpart.CFrame = CFrame.new(pos) | |
1335 | game:GetService("Debris"):AddItem(refpart, 2) | |
1336 | end | |
1337 | do | |
1338 | if num <= 0 then | |
1339 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1340 | refpart.Anchored = true | |
1341 | refpart.CFrame = CFrame.new(pos) | |
1342 | Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1) | |
1343 | if hit ~= nil then | |
1344 | MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
1345 | end | |
1346 | game:GetService("Debris"):AddItem(refpart, 0) | |
1347 | end | |
1348 | end | |
1349 | until num <= 0 | |
1350 | end | |
1351 | )) | |
1352 | end | |
1353 | ||
1354 | function skill2() | |
1355 | attack = true | |
1356 | Humanoid.Health = Humanoid.Health + 100 | |
1357 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165487479", Head, 1, 1) | |
1358 | for i = 0, 1.05, 0.1 do | |
1359 | swait() | |
1360 | PlayAnimationFromTable({ | |
1361 | CFrame.new(0.00284654042, -0.0491668843, 0.00863608345, 0.838672996, -0.0569300465, -0.541652262, 0.140960127, 0.983324528, 0.114905387, 0.526078105, -0.172719359, 0.832712352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1362 | CFrame.new(0.0145828724, 1.48915434, -0.128683239, 0.838672996, -0.168303922, 0.517978549, -0.0569300465, 0.918754935, 0.390702903, -0.541652262, -0.357160389, 0.760953188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1363 | CFrame.new(1.55723238, 0.65414232, 0.029801771, -0.213925928, -0.975853086, -0.0441304147, 0.148771867, 0.0121005028, -0.988797545, 0.965461969, -0.218095422, 0.142589137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1364 | CFrame.new(-0.057764601, 0.722776413, -0.949312329, 0.16808024, -0.98407197, -0.058079645, 0.0720412284, 0.0710230991, -0.994879901, 0.983141303, 0.163027585, 0.0828276128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1365 | CFrame.new(0.414857537, -1.9400022, -0.61491102, 0.997200131, 0.0709253401, -0.0237311423, -0.0736553296, 0.986384571, -0.147044465, 0.0129787624, 0.148380652, 0.988845468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1366 | CFrame.new(-0.808947563, -1.86046076, 0.288144022, -0.0925388932, 0.276828229, 0.956453383, -0.236146197, 0.927068114, -0.291170657, -0.967301607, -0.252807379, -0.0204179883) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1367 | }, .3, false) | |
1368 | moter.C0 = clerp(moter.C0, CFrame.new(-0.0806410164, -0.697505772, -0.186267465, -0.119340986, -0.0858065486, 0.989145815, 0.611814439, -0.790986776, 0.00519710779, 0.781952024, 0.605788291, 0.14689292) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1369 | end | |
1370 | attack = false | |
1371 | end | |
1372 | ||
1373 | Shoota = function(orgpos) | |
1374 | ||
1375 | local MouseLook = CFrame.new((orgpos + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
1376 | Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 30, 30, 30, 6, 6, 6, 0.09) | |
1377 | Effects.Block.Create(BrickColor.new("Cool yellow"), CFrame.new(orgpos), 32, 32, 32, 7, 7, 7, 0.09) | |
1378 | table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1}) | |
1379 | end | |
1380 | ||
1381 | shootmain = function(Mouse, partt, SpreadAmount, multiply) | |
1382 | ||
1383 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1384 | local MainPos = partt.Position | |
1385 | local MainPos2 = Mouse.Hit.p + SpreadVectors | |
1386 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1387 | local speed = 666 | |
1388 | local num = 20 | |
1389 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1) | |
1390 | coroutine.resume(coroutine.create(function() | |
1391 | ||
1392 | repeat | |
1393 | swait() | |
1394 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1395 | local mag = (MainPos - pos).magnitude | |
1396 | Laser(BrickColor.new("Cool yellow"), 0.35, CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15) | |
1397 | MainPos = MainPos + MouseLook.lookVector * speed | |
1398 | num = num - 1 | |
1399 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1400 | if hit ~= nil then | |
1401 | num = 0 | |
1402 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1403 | refpart.Anchored = true | |
1404 | refpart.CFrame = CFrame.new(pos) | |
1405 | game:GetService("Debris"):AddItem(refpart, 2) | |
1406 | end | |
1407 | do | |
1408 | if num <= 0 then | |
1409 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1410 | refpart.Anchored = true | |
1411 | refpart.CFrame = CFrame.new(pos) | |
1412 | Effects.Block.Create(BrickColor.new('Cool yellow'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1) | |
1413 | if hit ~= nil then | |
1414 | MagnitudeDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
1415 | end | |
1416 | game:GetService("Debris"):AddItem(refpart, 0) | |
1417 | end | |
1418 | end | |
1419 | until num <= 0 | |
1420 | end | |
1421 | )) | |
1422 | end | |
1423 | ||
1424 | function skill3() | |
1425 | attack = true | |
1426 | local con = RightLeg.Touched:connect(function(hit) | |
1427 | Damage(RightLeg, hit, 5, 9, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://165586617", 1) | |
1428 | end) | |
1429 | Humanoid.WalkSpeed = 0 | |
1430 | for i = 0, 5, 0.1 do | |
1431 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=330640599", Torso, 1, 1) | |
1432 | swait() | |
1433 | RootPart.Velocity = RootPart.CFrame.lookVector * 53 | |
1434 | PlayAnimationFromTable({ | |
1435 | CFrame.new(1.71332783e-12, -2.26551628, 0.615328074, 1, 1.85033898e-11, -1.27442328e-12, -4.60431693e-12, 0.156436995, -0.987688959, -1.71667125e-11, 0.987688959, 0.156436995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1436 | CFrame.new(0, 1.50546706, -0.390476882, 1, 0, -0, 0, 0.777146339, 0.629320085, -0, -0.629320085, 0.777146339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1437 | CFrame.new(1.77975953, 0.93702805, 0.253049374, -0.326832205, -0.705536187, 0.628808498, -0.241977498, -0.580698967, -0.777326286, 0.91358, -0.406212986, 0.019066669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1438 | CFrame.new(-1.7600888, 1.28007531, 0.206534833, -0.0799038038, 0.386386573, -0.918869376, 0.19666867, -0.897585988, -0.394539028, -0.977208793, -0.212237969, -0.00426960364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1439 | CFrame.new(0.557647705, -2.01188278, -0.0414109826, 0.999345243, -0.0360278934, 0.00333665079, 0.0361780189, 0.993599296, -0.107014418, 0.000540209468, 0.107065089, 0.994251966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1440 | CFrame.new(-0.55255127, -1.53768849, -0.106071234, 1, 0, -0, 0, 0.777147412, 0.629318774, -0, -0.629318774, 0.777147412) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1441 | }, .3, false) | |
1442 | moter.C0 = clerp(moter.C0, CFrame.new(-0.317896128, -0.787691295, -0.0618839338, 0.509285808, -0.4087767, 0.757320583, -0.240071535, -0.912541389, -0.331116319, 0.826435924, -0.0131779611, -0.562879264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1443 | end | |
1444 | Humanoid.WalkSpeed = 16 | |
1445 | attack = false | |
1446 | con:disconnect() | |
1447 | end | |
1448 | ||
1449 | function cringe() | |
1450 | attack = true | |
1451 | for i = 0, .99, 0.1 do | |
1452 | swait() | |
1453 | PlayAnimationFromTable({ | |
1454 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1455 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1456 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1457 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1458 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1459 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1460 | }, .3, false) | |
1461 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1462 | end | |
1463 | for i = 0, .99, 0.1 do | |
1464 | swait() | |
1465 | PlayAnimationFromTable({ | |
1466 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1467 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1468 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1469 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1470 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1471 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1472 | }, .3, false) | |
1473 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1474 | end | |
1475 | for i = 0, .99, 0.1 do | |
1476 | swait() | |
1477 | PlayAnimationFromTable({ | |
1478 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1479 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1480 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1481 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1482 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1483 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1484 | }, .3, false) | |
1485 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1486 | end | |
1487 | for i = 0, .99, 0.1 do | |
1488 | swait() | |
1489 | PlayAnimationFromTable({ | |
1490 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1491 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1492 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1493 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1494 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1495 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1496 | }, .3, false) | |
1497 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1498 | end | |
1499 | for i = 0, .99, 0.1 do | |
1500 | swait() | |
1501 | PlayAnimationFromTable({ | |
1502 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1503 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1504 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1505 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1506 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1507 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1508 | }, .3, false) | |
1509 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1510 | end | |
1511 | for i = 0, .99, 0.1 do | |
1512 | swait() | |
1513 | PlayAnimationFromTable({ | |
1514 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1515 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1516 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1517 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1518 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1519 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1520 | }, .3, false) | |
1521 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1522 | end | |
1523 | for i = 0, .99, 0.1 do | |
1524 | swait() | |
1525 | PlayAnimationFromTable({ | |
1526 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1527 | CFrame.new(-3.08454037e-06, 1.42273104, -0.237763405, 0.933578968, -7.29779856e-07, -0.358372718, 0.110745594, 0.95105648, 0.288496614, 0.340831995, -0.309022427, 0.887886167) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1528 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1529 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1530 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1531 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1532 | }, .3, false) | |
1533 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1534 | end | |
1535 | for i = 0, .99, 0.1 do | |
1536 | swait() | |
1537 | PlayAnimationFromTable({ | |
1538 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1539 | CFrame.new(-1.75088644e-06, 1.42272985, -0.237760231, 0.987695217, 5.65201958e-07, 0.156433403, -0.0483417809, 0.951056182, 0.305218697, -0.148776859, -0.309021235, 0.939353645) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1540 | CFrame.new(0.449923962, 0.786167085, -0.90794456, -0.536167026, 0.797128797, -0.277688891, -0.788489461, -0.590402842, -0.172369942, -0.301349431, 0.126535565, 0.945081651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1541 | CFrame.new(-0.188093781, 0.204599813, -0.129760623, 0.255312055, -0.966483116, -0.0270544682, 0.966844141, 0.255369753, 0.00137344899, 0.00558146322, -0.0265081059, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1542 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1543 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1544 | }, .3, false) | |
1545 | moter.C0 = clerp(moter.C0, CFrame.new(-0.389656603, -0.780816793, -0.166751757, 0.484147668, 0.874765575, 0.0196704566, 0.847416103, -0.46317485, -0.259529293, -0.217916355, 0.1423195, -0.965534925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1546 | end | |
1547 | attack = false | |
1548 | end | |
1549 | ||
1550 | function skill4() | |
1551 | attack = true | |
1552 | Humanoid.WalkSpeed = 0 | |
1553 | local con = Shootpart.Touched:connect(function(hit) | |
1554 | Damage(Shootpart, hit, 1000, 1000, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://146163534", 1) | |
1555 | end) | |
1556 | for i = 0, 1, 0.1 do | |
1557 | swait() | |
1558 | PlayAnimationFromTable({ | |
1559 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1560 | CFrame.new(-6.76445716e-13, 1.49998641, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1561 | CFrame.new(1.63378763, 0.784575403, 0.626388669, -0.638396323, -0.621981561, 0.453420788, -0.310008496, -0.331417471, -0.891100585, 0.704519272, -0.709439039, 0.0187563747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1562 | CFrame.new(-1.45747352, -0.000428291678, -0.0169889182, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1563 | CFrame.new(0.557813585, -2.01724243, 0.00830213353, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1564 | CFrame.new(-0.502551973, -1.99732482, 2.09503046e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1565 | }, .3, false) | |
1566 | moter.C0 = clerp(moter.C0, CFrame.new(-0.307827055, -0.945138454, -0.233602539, 0.111289024, 0.272969961, 0.955566287, 0.843120337, -0.53494525, 0.0546218455, 0.526086509, 0.799577296, -0.289679378) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1567 | end | |
1568 | for i = 0, 1, 0.1 do | |
1569 | swait() | |
1570 | PlayAnimationFromTable({ | |
1571 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1572 | CFrame.new(-6.76446041e-13, 1.49998713, 0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1573 | CFrame.new(0.784057915, 0.530719638, -1.11145675, 0.760513663, 0.639931142, 0.11003381, 0.025037935, 0.140432268, -0.989774764, -0.64884001, 0.755491972, 0.0907780901) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1574 | CFrame.new(-1.45747733, -0.000428082305, -0.0169907622, 0.999841452, -0.00383195048, 0.0174011104, 0.00369932642, 0.999964893, 0.00764765125, -0.0174298119, -0.00758206472, 0.999820352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1575 | CFrame.new(0.5578174, -2.01724195, 0.00830193795, 0.997999072, -0.0361758024, 0.0518574007, 0.0362592675, 0.999343157, -0.000668675581, -0.0517991446, 0.00254764897, 0.998655319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1576 | CFrame.new(-0.502548158, -1.99732447, 2.09503099e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1577 | }, .3, false) | |
1578 | moter.C0 = clerp(moter.C0, CFrame.new(-0.289447755, -1.04616499, -0.37953198, 0.171506032, -0.162732333, 0.971654594, 0.507644057, -0.830653429, -0.228722811, 0.844327986, 0.532482445, -0.059851855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1579 | end | |
1580 | Humanoid.WalkSpeed = 16 | |
1581 | con:Disconnect() | |
1582 | attack = false | |
1583 | end | |
1584 | ||
1585 | function cringe2() | |
1586 | attack = true | |
1587 | Humanoid.WalkSpeed = 0 | |
1588 | for i = 0, 3, 0.1 do | |
1589 | swait() | |
1590 | PlayAnimationFromTable({ | |
1591 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1592 | CFrame.new(-0.0140685402, 1.52261281, 0.0118884463, 0.998629749, -0.0161746982, -0.0497796386, 0.0161741246, 0.999870241, -0.000414520735, 0.0497798659, -0.000391189416, 0.998761475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1593 | CFrame.new(1.87475526, 0.930106044, -0.0220574737, -0.350332558, -0.935963094, 0.0352388807, 0.936572134, -0.349651694, 0.0241183322, -0.0102524795, 0.0414531939, 0.999087989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1594 | CFrame.new(-1.55593383, 0.0922081023, -0.166624919, 0.994520426, 0.100986823, -0.0270543899, -0.100987062, 0.994891644, 0.00137344981, 0.0270547755, 0.00136621902, 0.999635577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1595 | CFrame.new(0.554502606, -1.95276523, 0.0122203752, 0.999346077, -0.0361736231, 0.000402636273, 0.0361087658, 0.998108387, 0.0497808196, -0.00220262865, -0.0497337207, 0.99876076) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1596 | CFrame.new(-0.499935061, -1.99739313, 0.0500004031, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1597 | }, .3, false) | |
1598 | moter.C0 = clerp(moter.C0, CFrame.new(0.115644276, -1.00993621, 0.116102532, -0.942083418, -0.335367292, -0.00362925045, -0.333913654, 0.938904047, -0.0834463611, 0.03139247, -0.0774012506, -0.996505558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1599 | end | |
1600 | Humanoid.Health = 0.001 | |
1601 | Effects.Block.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame * CFrame.new(0, 0, 0), 4, 4, 4, 2, 2, 2, .07) | |
1602 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7) | |
1603 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7) | |
1604 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7) | |
1605 | Effects.Break.Create(BrickColor.new("Cool yellow"), Shootpart.CFrame, 5, .7, .7) | |
1606 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1) | |
1607 | for i = 0, 1, 0.1 do | |
1608 | swait() | |
1609 | PlayAnimationFromTable({ | |
1610 | CFrame.new(0, -0, 0, 0.99862957, -0.0523361303, 1.81777857e-12, 0.0523361266, 0.998633385, 4.26325641e-14, 1.81721305e-12, -5.68434189e-14, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1611 | CFrame.new(-0.0428714976, 1.54762077, 0.00642733369, 0.973466635, -0.223384321, -0.0497329459, 0.223770037, 0.974642634, 0.00219128886, 0.0479824543, -0.0132617969, 0.998763025) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1612 | CFrame.new(1.94307065, 0.6823892, -0.0195657909, -0.148052812, -0.988307476, 0.0364530459, 0.988842845, -0.147312805, 0.0222407151, -0.0166106671, 0.0393391177, 0.999090731) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1613 | CFrame.new(-1.54897189, 0.173511803, -0.166624963, 0.978514552, 0.204409495, -0.0269454382, -0.204409882, 0.978884399, 0.00278747012, 0.0269462466, 0.00278033293, 0.999635935) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1614 | CFrame.new(0.549670219, -1.92560482, 0.00926275551, 0.999340713, -0.0362381749, 0.00300741219, 0.036044348, 0.998117626, 0.0496915914, -0.00480249058, -0.0495504066, 0.998762131) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1615 | CFrame.new(-0.603785574, -1.96849489, 0.0500004999, 0.998629808, 0.052336134, 1.08793152e-09, -0.0523362458, 0.998635411, -5.58679858e-09, 2.46404186e-09, -1.1108952e-08, 1.00000572) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1616 | }, .3, false) | |
1617 | moter.C0 = clerp(moter.C0, CFrame.new(0.232984588, -0.884218752, 0.106375366, -0.972069085, -0.234514013, 0.00946775824, -0.234478518, 0.968574286, -0.0829868019, 0.0102912504, -0.0828888416, -0.99650526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1618 | end | |
1619 | Humanoid.WalkSpeed = 16 | |
1620 | attack = false | |
1621 | end | |
1622 | ||
1623 | Mouse.Button1Down:connect(function() | |
1624 | if attack == false then | |
1625 | attackone() | |
1626 | end | |
1627 | end) | |
1628 | ||
1629 | Mouse.KeyDown:connect(function(k) | |
1630 | k = k:lower() | |
1631 | if attack == false and k == 'z' then | |
1632 | skill1() | |
1633 | elseif attack == false and k == 'x' then | |
1634 | skill2() | |
1635 | elseif attack == false and k == 'c' and Anim == 'Walk' then | |
1636 | skill3() | |
1637 | elseif attack == false and k == 'v' then | |
1638 | skill4() | |
1639 | elseif attack == false and k == 'q' then | |
1640 | cringe() | |
1641 | elseif attack == false and k == 'e' then | |
1642 | cringe2() | |
1643 | end | |
1644 | end) | |
1645 | ||
1646 | while true do | |
1647 | swait() | |
1648 | for i, v in pairs(Character:GetChildren()) do | |
1649 | if v:IsA("Part") then | |
1650 | v.Material = "SmoothPlastic" | |
1651 | elseif v:IsA("Accessory") then | |
1652 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1653 | end | |
1654 | end | |
1655 | for i, v in pairs(Character:GetChildren()) do | |
1656 | if v:IsA'Model' then | |
1657 | for _, c in pairs(v:GetChildren()) do | |
1658 | if c:IsA'BasePart' then | |
1659 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
1660 | end | |
1661 | end | |
1662 | end | |
1663 | end | |
1664 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1665 | velocity = RootPart.Velocity.y | |
1666 | sine = sine + change | |
1667 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1668 | if RootPart.Velocity.y > 1 and hit == nil then | |
1669 | Anim = "Jump" | |
1670 | if attack == false then | |
1671 | PlayAnimationFromTable({ | |
1672 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 0.999996185, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1673 | CFrame.new(0, 1.49129772, -0.0492396951, 1, 0, 0, 0, 0.766038835, -0.64278394, 0, 0.642785192, 0.766040325) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1674 | CFrame.new(1.46843624, 0.180933714, 0.0372858047, 0.951248944, -0.254887462, -0.173648328, 0.258818775, 0.965923786, -1.14036114e-09, 0.16773127, -0.044943653, 0.984805882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1675 | CFrame.new(-1.63477135, 0.28501603, 0.158970028, 0.961526453, 0.242340595, 0.129411325, -0.266435593, 0.93742609, 0.224140555, -0.0669952482, -0.249995694, 0.96592623) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1676 | CFrame.new(0.54962939, -1.9957037, 0.00430911779, 0.99257493, -0.0290100258, -0.118124813, 0.0858313814, 0.855161488, 0.511204004, 0.0861857831, -0.517548025, 0.851303339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1677 | CFrame.new(-0.599646151, -1.99157369, -9.50545073e-05, 0.996449828, 0.0841852501, 0.000950440764, -0.0841850936, 0.996192873, 0.0225575492, 0.000952169299, -0.0225575212, 0.99974525) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1678 | }, .3, false) | |
1679 | ||
1680 | end | |
1681 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1682 | Anim = "Fall" | |
1683 | if attack == false then | |
1684 | PlayAnimationFromTable({ | |
1685 | CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1686 | CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1687 | CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1688 | CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1689 | CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1690 | CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1691 | }, .3, false) | |
1692 | end | |
1693 | elseif Torsovelocity < 1 and hit ~= nil then | |
1694 | Anim = "Idle" | |
1695 | if attack == false then | |
1696 | change = 1 | |
1697 | for i = 0, .3, 0.1 do | |
1698 | swait() | |
1699 | PlayAnimationFromTable({ | |
1700 | CFrame.new(0, 0, -0, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1701 | CFrame.new(-6.76443873e-13, 1.49998617, 1.90735227e-06, 1, -4.50968771e-13, 9.09512049e-13, -4.50968771e-13, 1.00000191, 0, 9.09512049e-13, 0, 1.00000191) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1702 | CFrame.new(1.48908567, -0.0124374451, 0.0453222468, 0.999818146, 0.00347117707, -0.0187555403, -0.00348036597, 0.999994814, -0.000455890113, 0.0187539104, 0.000521083595, 0.999825656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1703 | CFrame.new(-1.51361406, 0.0255744811, 0.0346868746, 0.998444676, 0.0487802438, -0.0270542186, -0.0487612896, 0.998809218, 0.00137296692, 0.0270890035, -5.16980544e-05, 0.999633908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1704 | CFrame.new(0.558128655, -2.00257516, -0.0328065082, 0.996082902, -0.0884258077, 0.000402636797, 0.0882963017, 0.994850576, 0.049780827, -0.00480247475, -0.04955028, 0.998760939) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1705 | CFrame.new(-0.549934328, -1.99739313, 2.08343547e-08, 1.00000024, -1.00578681e-07, 1.377922e-09, -1.04312832e-07, 1.00000393, -5.52222446e-09, 2.46312903e-09, -1.11089804e-08, 1.00000381) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1706 | }, .3, false) | |
1707 | moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1708 | end | |
1709 | end | |
1710 | elseif Torsovelocity > 2 and hit ~= nil then | |
1711 | Anim = "Walk" | |
1712 | if attack == false then | |
1713 | PlayAnimationFromTable({ | |
1714 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.996187985, 0.0871556774, 0, -0.0871556699, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1715 | CFrame.new(0, 1.49999499, 1.11760201e-08, 1, 0, 0, 0, 0.999998331, -7.45067918e-09, 0, 7.45069251e-09, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1716 | CFrame.new(1.51048923, 0.0486144125, 0.213053972, 0.150388524, 0.08681795, 0.984807611, -0.423753828, 0.905649245, -0.015128728, -0.893205106, -0.415041506, 0.172988981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1717 | CFrame.new(-1.46577644, 0.0133882836, 0.266453117, 0.978753924, 0.0149079002, 0.204495385, -0.0694269463, 0.96253264, 0.26212123, -0.192926094, -0.270750105, 0.943119466) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1718 | CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
1719 | CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .3 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)), | |
1720 | }, .3, false) | |
1721 | moter.C0 = clerp(moter.C0, CFrame.new(-0.00357525377, -0.669875801, -0.33632654, 0.0129701542, 0.04199332, 0.99903512, 0.668174207, -0.743665218, 0.0225844048, 0.7438941, 0.667235076, -0.0377042405) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1722 | end | |
1723 | end | |
1724 | if #Effects > 0 then | |
1725 | for e = 1, #Effects do | |
1726 | if Effects[e] ~= nil then | |
1727 | local Thing = Effects[e] | |
1728 | if Thing ~= nil then | |
1729 | Part = Thing[1] | |
1730 | Mode = Thing[2] | |
1731 | Delay = Thing[3] | |
1732 | IncX = Thing[4] | |
1733 | IncY = Thing[5] | |
1734 | IncZ = Thing[6] | |
1735 | if Thing[2] == "Shoot" then | |
1736 | Look = Thing[1] | |
1737 | hit, pos = rayCast(Thing[4], Look, 5, Character) | |
1738 | mag = (Thing[4] - pos).magnitude | |
1739 | Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0) | |
1740 | Thing[4] = Thing[4] + (Look * 5) | |
1741 | Thing[3] = Thing[3] - 1 | |
1742 | if hit ~= nil then | |
1743 | print(hit.Parent) | |
1744 | Thing[3] = 0 | |
1745 | --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
1746 | --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
1747 | end | |
1748 | if Thing[3] <= 0 then | |
1749 | if hit == nil then | |
1750 | Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1) | |
1751 | CFuncs.Sound.Create("285370517", Thing[9], 1, 1) | |
1752 | else | |
1753 | Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1) | |
1754 | CFuncs.Sound.Create("285370517", Thing[9], .6, 1) | |
1755 | CFuncs.Sound.Create("285370545", Thing[9], 1, 1) | |
1756 | end | |
1757 | for i = 1, math.random(2, 4) do | |
1758 | Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100) | |
1759 | end | |
1760 | Thing[9].Transparency = 1 | |
1761 | game:GetService("Debris"):AddItem(Thing[9], 1) | |
1762 | table.remove(Effects, e) | |
1763 | end | |
1764 | end | |
1765 | if Thing[2] ~= "Shoot" then | |
1766 | if Thing[1].Transparency <= 1 then | |
1767 | if Thing[2] == "Block1" then | |
1768 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1769 | Mesh = Thing[7] | |
1770 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1771 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1772 | elseif Thing[2] == "Block2" then | |
1773 | Thing[1].CFrame = Thing[1].CFrame | |
1774 | Mesh = Thing[7] | |
1775 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1776 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1777 | elseif Thing[2] == "Block3" then | |
1778 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1779 | Mesh = Thing[7] | |
1780 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1781 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1782 | elseif Thing[2] == "Block4" then | |
1783 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
1784 | Mesh = Thing[7] | |
1785 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1786 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1787 | elseif Thing[2] == "Block2Fire" then | |
1788 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1789 | Mesh = Thing[7] | |
1790 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1791 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1792 | if Thing[1].Transparency >= .3 then | |
1793 | Thing[1].BrickColor = BrickColor.new("Bright red") | |
1794 | else | |
1795 | Thing[1].BrickColor = BrickColor.new("Bright yellow") | |
1796 | end | |
1797 | elseif Thing[2] == "Ice" then | |
1798 | if Thing[6] <= Thing[5] then | |
1799 | Thing[6] = Thing[6] + .3 | |
1800 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0) | |
1801 | else | |
1802 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1803 | end | |
1804 | elseif Thing[2] == "Shatter" then | |
1805 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1806 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1807 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1808 | Thing[6] = Thing[6] + Thing[5] | |
1809 | elseif Thing[2] == "Fire" then | |
1810 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1811 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1812 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1813 | elseif Thing[2] == "Cylinder" then | |
1814 | Mesh = Thing[7] | |
1815 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1816 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1817 | elseif Thing[2] == "Cylinder2" then | |
1818 | Mesh = Thing[7] | |
1819 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1820 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0) | |
1821 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1822 | elseif Thing[2] == "Blood" then | |
1823 | Mesh = Thing[7] | |
1824 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
1825 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1826 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1827 | elseif Thing[2] == "Elec" then | |
1828 | Mesh = Thing[7] | |
1829 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1830 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1831 | elseif Thing[2] == "Disappear" then | |
1832 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1833 | end | |
1834 | else | |
1835 | Part.Parent = nil | |
1836 | table.remove(Effects, e) | |
1837 | end | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | end | |
1842 | end | |
1843 | end |