SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer | |
5 | script.Parent = InternalData.RealOwner.Character | |
6 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event | |
7 | local function createObject (connections, index) | |
8 | local proxy = newproxy (true);local meta = getmetatable (proxy); | |
9 | local runbind = function (self, i, ...) connections[i]:Fire (...); end; | |
10 | while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end; | |
11 | meta.__index = function (self, i) | |
12 | if (i == 'TriggerEvent') then return runbind end; | |
13 | return connections[i] and connections[i].Event or index[i]; | |
14 | end; | |
15 | meta.__newindex = index;meta.__metatable = false;return proxy | |
16 | end; | |
17 | local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()}) | |
18 | local UserInputService = createObject({"InputBegan","InputEnded"},{}) | |
19 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
20 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
21 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
22 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
23 | if FiredBy ~= InternalData.RealOwner then return end | |
24 | if Input.MouseEvent then | |
25 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
26 | elseif Input.Sound then | |
27 | if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end | |
28 | else | |
29 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
30 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end | |
31 | for _,Action in pairs(ContextActionService.Actions) do | |
32 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
33 | end | |
34 | Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
35 | end | |
36 | end) | |
37 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
38 | Event.Parent = NLS([[ | |
39 | local Player = owner; | |
40 | local Sounds = {}; | |
41 | local Event = script:WaitForChild("UserInput"); | |
42 | local UserInputService = game:GetService("UserInputService"); | |
43 | local Mouse = Player:GetMouse(); | |
44 | local Input = function(Input,gameProcessedEvent) | |
45 | if gameProcessedEvent then return end | |
46 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
47 | end | |
48 | Event.OnClientEvent:connect(function(Args) | |
49 | if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end | |
50 | end) | |
51 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
52 | local Hit,Target | |
53 | while wait(1/30) do | |
54 | for x,Sound in pairs(Sounds) do | |
55 | if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end | |
56 | end | |
57 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
58 | Hit = Mouse.Hit;Target = Mouse.Target; | |
59 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
60 | end | |
61 | end | |
62 | ]],InternalData.RealOwner.Character) | |
63 | end | |
64 | InternalData.NewOwner = setmetatable({},{ | |
65 | __index = function (self,Index) | |
66 | local Type = type(InternalData.RealOwner[Index]) | |
67 | if Type == "function" then | |
68 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
69 | return function (self)return InternalData["Mouse"] end | |
70 | end | |
71 | return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end | |
72 | elseif Index == "FakePlayer" then | |
73 | return true | |
74 | end | |
75 | return InternalData.RealOwner[Index] | |
76 | end; | |
77 | __tostring = function(self) return tostring(InternalData.RealOwner) end | |
78 | }) | |
79 | --LoadLibrary("RbxUtility").Create | |
80 | InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library) | |
81 | if Library == "RbxUtility" then | |
82 | return setmetatable({},{ | |
83 | __tostring = function() return "RbxUtility" end; | |
84 | __index = function(self, Index) | |
85 | if Index:lower() == "create" then | |
86 | return function(Type) | |
87 | return function(Data) | |
88 | Data = Data or {} | |
89 | local Inst = Instance.new(Type) | |
90 | for x,y in pairs(Data) do | |
91 | if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end | |
92 | if y == owner then y = InternalData.RealOwner end | |
93 | Inst[x] = y | |
94 | end | |
95 | return Inst | |
96 | end | |
97 | end | |
98 | end | |
99 | return InternalData.LoadLibrary(Library)[Index] | |
100 | end | |
101 | }) | |
102 | end | |
103 | return InternalData.LoadLibrary(Library) | |
104 | end | |
105 | InternalData.RealInstance = Instance;Instance = setmetatable({},{ | |
106 | __index = function (self,Index) | |
107 | if Index:lower() == 'new' then | |
108 | return function (Type, Parent) | |
109 | if Parent == owner then Parent = InternalData.RealOwner end | |
110 | if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end | |
111 | local Real = InternalData.RealInstance.new(Type,Parent) | |
112 | if not Type then return end | |
113 | if Type == "BillboardGui" then | |
114 | local ToReturn = setmetatable({},{ | |
115 | __index = function (self,Index) | |
116 | if type(Real[Index]) == "function" then | |
117 | if Index:lower() == "clone" then | |
118 | return function (self) | |
119 | local Real = Real:Clone() | |
120 | local ToReturn = setmetatable({RealObject = Real},{ | |
121 | __index = function (self,Index) | |
122 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
123 | return Real[Index] | |
124 | end; | |
125 | __newindex = function (self,Index,Value) | |
126 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
127 | if Value == owner then Value = InternalData.RealOwner end | |
128 | Real[Index] = Value | |
129 | end; | |
130 | __tostring = function(self) return tostring(Real) end; | |
131 | }) | |
132 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
133 | end | |
134 | end | |
135 | return function (self,...) return Real[Index](Real,...)end | |
136 | end | |
137 | return Real[Index] | |
138 | end; | |
139 | __newindex = function (self,Index,Value) | |
140 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
141 | if Value == owner then Value = InternalData.RealOwner end | |
142 | Real[Index] = Value | |
143 | end; | |
144 | __tostring = function(self) return tostring(Real) end; | |
145 | }) | |
146 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
147 | elseif Type:lower() == "sound" then | |
148 | Real.Parent = owner.Character; | |
149 | local ToReturn = setmetatable({RealObject = Real},{ | |
150 | __index = function (self,Index) | |
151 | if Index:lower() == "playbackloudness" then | |
152 | return InternalData.SoundLoudness[Real] or 0 | |
153 | elseif type(Real[Index]) == "function" then | |
154 | if Index:lower() == "clone" then | |
155 | return function (self) | |
156 | local Real = Real:Clone() | |
157 | local ToReturn = setmetatable({},{ | |
158 | __index = function (self,Index) | |
159 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
160 | return Real[Index] | |
161 | end; | |
162 | __newindex = function (self,Index,Value) | |
163 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
164 | if Value == owner then Value = InternalData.RealOwner end | |
165 | Real[Index] = Value | |
166 | end; | |
167 | __tostring = function(self) return tostring(Real) end; | |
168 | }) | |
169 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
170 | end | |
171 | end | |
172 | return function (self,...) return Real[Index](Real,...)end | |
173 | end | |
174 | return Real[Index] | |
175 | end; | |
176 | __newindex = function (self,Index,Value) | |
177 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
178 | if Value == owner then Value = InternalData.RealOwner end | |
179 | Real[Index] = Value | |
180 | end; | |
181 | __tostring = function(self) return tostring(Real) end; | |
182 | }) | |
183 | InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn; | |
184 | else | |
185 | local ToReturn = setmetatable({RealObject = Real},{ | |
186 | __index = function (self,Index) | |
187 | if type(Real[Index]) == "function" then | |
188 | if Index:lower() == "clone" then | |
189 | return function (self) | |
190 | local Real = Real:Clone() | |
191 | local ToReturn = setmetatable({},{ | |
192 | __index = function (self,Index) | |
193 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
194 | return Real[Index] | |
195 | end; | |
196 | __newindex = function (self,Index,Value) | |
197 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
198 | if Value == owner then Value = InternalData.RealOwner end | |
199 | Real[Index] = Value | |
200 | end; | |
201 | __tostring = function(self) return tostring(Real) end; | |
202 | }) | |
203 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
204 | end | |
205 | end | |
206 | return function (self,...) return Real[Index](Real,...)end | |
207 | end | |
208 | return Real[Index] | |
209 | end; | |
210 | __newindex = function (self,Index,Value) | |
211 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
212 | if Value == owner then Value = InternalData.RealOwner end | |
213 | Real[Index] = Value | |
214 | end; | |
215 | __tostring = function(self) return tostring(Real) end; | |
216 | }) | |
217 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
218 | end | |
219 | end | |
220 | end | |
221 | return InternalData.RealInstance[Index] | |
222 | end; | |
223 | __tostring = function(self) return tostring(InternalData.RealInstance) end; | |
224 | }); | |
225 | InternalData.RealGame = game;game = setmetatable({},{ | |
226 | __index = function (self,Index) | |
227 | if InternalData.RealGame[Index] then | |
228 | local Type = type(InternalData.RealGame[Index]) | |
229 | if Type == "function" then | |
230 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
231 | return function (self,Service) | |
232 | local FakeServices = { | |
233 | ["players"] = function() | |
234 | return setmetatable({},{ | |
235 | __index = function (self2,Index2) | |
236 | local RealService = InternalData.RealGame:GetService(Service) | |
237 | local Type2 = type(RealService[Index2]) | |
238 | if Type2 == "function" then | |
239 | return function (self,...) return RealService[Index2](RealService,...)end | |
240 | else | |
241 | if Index2:lower() == "localplayer" then return InternalData.NewOwner end | |
242 | return RealService[Index2] | |
243 | end | |
244 | end; | |
245 | __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end | |
246 | }) | |
247 | end; | |
248 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
249 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
250 | ["debris"] = function() | |
251 | return setmetatable({},{ | |
252 | __index = function(self2,Index2) | |
253 | local RealService = InternalData.RealGame:GetService(Service) | |
254 | local Type2 = type(RealService[Index2]) | |
255 | if Type2 == "function" then | |
256 | if Index2:lower() == "additem" then | |
257 | return function (self,Item,Time) | |
258 | if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end | |
259 | return RealService:AddItem(Item,Time) | |
260 | end | |
261 | end | |
262 | return function (self,...) return RealService[Index2](RealService,...) end | |
263 | end | |
264 | return RealService[Index2] | |
265 | end; | |
266 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end | |
267 | }) | |
268 | end; | |
269 | ["runservice"] = function() | |
270 | return setmetatable({},{ | |
271 | __index = function(self2,Index2) | |
272 | local RealService = InternalData.RealGame:GetService(Service) | |
273 | local Type2 = type(RealService[Index2]) | |
274 | if Type2 == "function" then | |
275 | return function (self,...) return RealService[Index2](RealService,...) end | |
276 | else | |
277 | local RunServices = { | |
278 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
279 | ["renderstepped"] = function() return RealService["Stepped"] end | |
280 | } | |
281 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
282 | return RealService[Index2] | |
283 | end | |
284 | end; | |
285 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end | |
286 | }) | |
287 | end | |
288 | } | |
289 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
290 | return InternalData.RealGame:GetService(Service) | |
291 | end | |
292 | end | |
293 | return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end | |
294 | else | |
295 | if game:GetService(Index) then return game:GetService(Index) end | |
296 | return InternalData.RealGame[Index] | |
297 | end | |
298 | end | |
299 | return nil | |
300 | end; | |
301 | __tostring = function(self) return tostring(InternalData.game) end | |
302 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!") | |
303 | ||
304 | --dasdasdasdreqw3e412312rasdf-- | |
305 | --71023gggggs236021305023asdgh89aGYASDG-- | |
306 | --9a1231231235asfdzxvct9wqeutgqwerignjasdig-- | |
307 | ||
308 | --[[Credits to Ace_Alteriano for his Template]]-- | |
309 | --[[By When_kun]]-- | |
310 | --[[The model took time to make but it was worth it.]]-- | |
311 | --[[x is cringey]]-- | |
312 | wait(1 / 60) | |
313 | Effects = { } | |
314 | local Player = game.Players.localPlayer | |
315 | local Character = Player.Character | |
316 | local Humanoid = Character.Humanoid | |
317 | local Mouse = Player:GetMouse() | |
318 | local mouse, Mouse = Player:GetMouse(), Player:GetMouse() | |
319 | local LeftArm = Character["Left Arm"] | |
320 | local RightArm = Character["Right Arm"] | |
321 | local LeftLeg = Character["Left Leg"] | |
322 | local RightLeg = Character["Right Leg"] | |
323 | local Head = Character.Head | |
324 | local Torso = Character.Torso | |
325 | local Camera = game.Workspace.CurrentCamera | |
326 | local RootPart = Character.HumanoidRootPart | |
327 | local RootJoint = RootPart.RootJoint | |
328 | local attack = false | |
329 | local Anim = 'Idle' | |
330 | local attacktype = 1 | |
331 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
332 | local velocity = RootPart.Velocity.y | |
333 | local sine = 0 | |
334 | local change = 1 | |
335 | local Create = LoadLibrary("RbxUtility").Create | |
336 | ||
337 | renderstepped = game:GetService('RunService').RenderStepped | |
338 | userinput = game:GetService('UserInputService') | |
339 | mainmodel = Instance.new('Model',Character) | |
340 | mainchord = 5 | |
341 | ||
342 | local m = Create("Model"){ | |
343 | Parent = Character, | |
344 | Name = "WeaponModel", | |
345 | } | |
346 | ||
347 | local Orin = "rbxassetid://8056256" | |
348 | Head.face.Texture = Orin | |
349 | spawn(function() | |
350 | while wait() do | |
351 | Head.BrickColor = BrickColor.new("White") | |
352 | RightArm.BrickColor = BrickColor.new("White") | |
353 | LeftArm.BrickColor = BrickColor.new("White") | |
354 | Torso.BrickColor = BrickColor.new("Really black") | |
355 | RightLeg.BrickColor = BrickColor.new("Really black") | |
356 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
357 | end | |
358 | end) | |
359 | for i,v in pairs(Character:children()) do | |
360 | if v:IsA("Shirt") then | |
361 | v:Destroy() | |
362 | end | |
363 | end | |
364 | for i,v in pairs(Character:children()) do | |
365 | if v:IsA("Pants") then | |
366 | v:Destroy() | |
367 | end | |
368 | end | |
369 | ||
370 | ||
371 | for i,v in pairs(Character:children()) do | |
372 | if v:IsA("Accessory") then | |
373 | v:Destroy() | |
374 | end | |
375 | end | |
376 | for i,v in pairs(Character:children()) do | |
377 | if v:IsA("Hair") then | |
378 | v:Destroy() | |
379 | end | |
380 | end | |
381 | ||
382 | shirt = Instance.new("Shirt", Character) | |
383 | shirt.Name = "Shirt" | |
384 | pants = Instance.new("Pants", Character) | |
385 | pants.Name = "Pants" | |
386 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587" | |
387 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=752480227" | |
388 | Humanoid.Animator.Parent = nil | |
389 | Character.Animate.Parent = nil | |
390 | hat = Instance.new("Hat", game.ReplicatedStorage) | |
391 | hat.Name = "Guestium Hat" | |
392 | hat.AttachmentForward = Vector3.new(0,0,-1) | |
393 | hat.AttachmentPos = Vector3.new(0,-0.05,0.1) | |
394 | hat.AttachmentRight = Vector3.new(1,0,0) | |
395 | hat.AttachmentUp = Vector3.new(0,1,0) | |
396 | local handle = Instance.new("Part",hat) | |
397 | handle.Rotation = Vector3.new(0, 90, 0) | |
398 | handle.Name = "Handle" | |
399 | handle.TopSurface = "Smooth" | |
400 | handle.BottomSurface = "Smooth" | |
401 | handle.Size = Vector3.new(1,1,2) | |
402 | local mesh = Instance.new("SpecialMesh",handle) | |
403 | mesh.MeshType = "FileMesh" | |
404 | mesh.MeshId = "http://www.roblox.com/asset/?id=46834172" | |
405 | mesh.TextureId = "rbxassetid://47991609" | |
406 | mesh.Scale = Vector3.new(1.05,1.05,1.05) | |
407 | hat.Parent = Character | |
408 | ||
409 | children = mainmodel:GetChildren() | |
410 | my = 0 | |
411 | function rot() | |
412 | for i,v in pairs(children) do | |
413 | -- v.Size = Vector3.new(mainchord/5,mainchord/5,mainchord/5) | |
414 | v.CFrame = v.CFrame*CFrame.Angles(math.rad(1),math.rad(1),math.rad(2)) | |
415 | end | |
416 | end | |
417 | function rotA() | |
418 | while renderstepped:wait() do | |
419 | spawn(rot) | |
420 | my = my + 1.5 | |
421 | if my > 360 then | |
422 | my = 0 | |
423 | end | |
424 | end | |
425 | end | |
426 | spawn(rotA) | |
427 | ||
428 | function lerp(dist,inc) | |
429 | for i = 0,10 do | |
430 | renderstepped:wait() | |
431 | for x,v in pairs(children) do | |
432 | --lookvector | |
433 | --( centerPoint.Y + distance * Math.Sin( angle ) ) | |
434 | --diff rot is 90 | |
435 | v.Size = v.Size + Vector3.new(.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist)),.1/(dist/math.abs(dist))) | |
436 | v.Transparency = v.Transparency - .1/(dist/math.abs(dist)) | |
437 | v.CFrame = CFrame.new(v.Position)*CFrame.Angles(0,math.rad(90*x+my),0)*CFrame.new(dist/10,0,0) | |
438 | end | |
439 | end | |
440 | end | |
441 | ||
442 | local newMotor = function(part0, part1, c0, c1) | |
443 | local w = Create('Motor'){ | |
444 | Parent = part0, | |
445 | Part0 = part0, | |
446 | Part1 = part1, | |
447 | C0 = c0, | |
448 | C1 = c1, | |
449 | } | |
450 | return w | |
451 | end | |
452 | ||
453 | function clerp(a, b, t) | |
454 | return a:lerp(b, t) | |
455 | end | |
456 | ||
457 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
458 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
459 | ||
460 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
461 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
462 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
463 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
464 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
465 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
466 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
467 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
468 | ||
469 | local rarmc1 = RW.C1 | |
470 | local larmc1 = LW.C1 | |
471 | local rlegc1 = RH.C1 | |
472 | local llegc1 = LH.C1 | |
473 | ||
474 | local resetc1 = false | |
475 | ||
476 | function PlayAnimationFromTable(table, speed, bool) | |
477 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
478 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
479 | RW.C0 = clerp(RW.C0, table[3], speed) | |
480 | LW.C0 = clerp(LW.C0, table[4], speed) | |
481 | RH.C0 = clerp(RH.C0, table[5], speed) | |
482 | LH.C0 = clerp(LH.C0, table[6], speed) | |
483 | if bool == true then | |
484 | if resetc1 == false then | |
485 | resetc1 = true | |
486 | RootJoint.C1 = RootJoint.C1 | |
487 | Torso.Neck.C1 = Torso.Neck.C1 | |
488 | RW.C1 = rarmc1 | |
489 | LW.C1 = larmc1 | |
490 | RH.C1 = rlegc1 | |
491 | LH.C1 = llegc1 | |
492 | end | |
493 | end | |
494 | end | |
495 | ||
496 | local co1 = 15 | |
497 | local co2 = 8 | |
498 | local co3 = 20 | |
499 | local co5 = 30 | |
500 | local co4 = 32 | |
501 | local cooldown1 = 5 | |
502 | local cooldown2 = 7 | |
503 | local cooldown3 = 3 | |
504 | local cooldown4 = 2 | |
505 | local cooldown5 = 0 | |
506 | local skillcolorscheme = BrickColor.new("White").Color | |
507 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
508 | makeframe = function(par, trans, pos, size, color) | |
509 | ||
510 | local frame = Instance.new("Frame", par) | |
511 | frame.BackgroundTransparency = trans | |
512 | frame.BorderSizePixel = 0 | |
513 | frame.Position = pos | |
514 | frame.Size = size | |
515 | frame.BackgroundColor3 = color | |
516 | return frame | |
517 | end | |
518 | ||
519 | makelabel = function(par, text) | |
520 | ||
521 | local label = Instance.new("TextLabel", par) | |
522 | label.BackgroundTransparency = 1 | |
523 | label.Size = UDim2.new(1, 0, 1, 0) | |
524 | label.Position = UDim2.new(0, 0, 0, 0) | |
525 | label.TextColor3 = Color3.new(255, 250, 190) | |
526 | label.TextStrokeTransparency = 0 | |
527 | label.FontSize = Enum.FontSize.Size32 | |
528 | label.Font = Enum.Font.SourceSansLight | |
529 | label.BorderSizePixel = 0 | |
530 | label.TextScaled = true | |
531 | label.Text = text | |
532 | end | |
533 | ||
534 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
535 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
536 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
537 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
538 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
539 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
540 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
541 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
542 | text1 = Instance.new("TextLabel", framesk1) | |
543 | text1.BackgroundTransparency = 1 | |
544 | text1.Size = UDim2.new(1, 0, 1, 0) | |
545 | text1.Position = UDim2.new(0, 0, 0, 0) | |
546 | text1.TextColor3 = Color3.new(255, 250, 190) | |
547 | text1.TextStrokeTransparency = 0 | |
548 | text1.FontSize = Enum.FontSize.Size18 | |
549 | text1.Font = Enum.Font.SourceSansLight | |
550 | text1.BorderSizePixel = 0 | |
551 | text1.TextScaled = true | |
552 | text1.Text = "[Z]\n Persona Reference ok" | |
553 | text2 = Instance.new("TextLabel", framesk2) | |
554 | text2.BackgroundTransparency = 1 | |
555 | text2.Size = UDim2.new(1, 0, 1, 0) | |
556 | text2.Position = UDim2.new(0, 0, 0, 0) | |
557 | text2.TextColor3 = Color3.new(255, 250, 190) | |
558 | text2.TextStrokeTransparency = 0 | |
559 | text2.FontSize = Enum.FontSize.Size18 | |
560 | text2.Font = Enum.Font.SourceSansLight | |
561 | text2.BorderSizePixel = 0 | |
562 | text2.TextScaled = true | |
563 | text2.Text = "[E]\n Shoot yourself." | |
564 | text3 = Instance.new("TextLabel", framesk3) | |
565 | text3.BackgroundTransparency = 1 | |
566 | text3.Size = UDim2.new(1, 0, 1, 0) | |
567 | text3.Position = UDim2.new(0, 0, 0, 0) | |
568 | text3.TextColor3 = Color3.new(255, 250, 190) | |
569 | text3.TextStrokeTransparency = 0 | |
570 | text3.FontSize = Enum.FontSize.Size18 | |
571 | text3.Font = Enum.Font.SourceSansLight | |
572 | text3.BorderSizePixel = 0 | |
573 | text3.TextScaled = false | |
574 | text3.Text = "[C]\n Slide" | |
575 | text4 = Instance.new("TextLabel", framesk4) | |
576 | text4.BackgroundTransparency = 1 | |
577 | text4.Size = UDim2.new(1, 0, 1, 0) | |
578 | text4.Position = UDim2.new(0, 0, 0, 0) | |
579 | text4.TextColor3 = Color3.new(255, 250, 190) | |
580 | text4.TextStrokeTransparency = 0 | |
581 | text4.FontSize = Enum.FontSize.Size18 | |
582 | text4.Font = Enum.Font.SourceSansLight | |
583 | text4.BorderSizePixel = 0 | |
584 | text4.TextScaled = true | |
585 | text4.Text = "[V]\n slap" | |
586 | ||
587 | ArtificialHB = Create("BindableEvent", script){ | |
588 | Parent = script, | |
589 | Name = "Heartbeat", | |
590 | } | |
591 | ||
592 | script:WaitForChild("Heartbeat") | |
593 | ||
594 | frame = 1 / 30 | |
595 | tf = 0 | |
596 | allowframeloss = false | |
597 | tossremainder = false | |
598 | lastframe = tick() | |
599 | script.Heartbeat:Fire() | |
600 | ||
601 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
602 | tf = tf + s | |
603 | if tf >= frame then | |
604 | if allowframeloss then | |
605 | script.Heartbeat:Fire() | |
606 | lastframe = tick() | |
607 | else | |
608 | for i = 1, math.floor(tf / frame) do | |
609 | script.Heartbeat:Fire() | |
610 | end | |
611 | lastframe = tick() | |
612 | end | |
613 | if tossremainder then | |
614 | tf = 0 | |
615 | else | |
616 | tf = tf - frame * math.floor(tf / frame) | |
617 | end | |
618 | end | |
619 | end) | |
620 | ||
621 | function swait(num) | |
622 | if num == 0 or num == nil then | |
623 | ArtificialHB.Event:wait() | |
624 | else | |
625 | for i = 0, num do | |
626 | ArtificialHB.Event:wait() | |
627 | end | |
628 | end | |
629 | end | |
630 | ||
631 | function RemoveOutlines(part) | |
632 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
633 | end | |
634 | ||
635 | CFuncs = { | |
636 | Part = { | |
637 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
638 | local Part = Create("Part"){ | |
639 | Parent = Parent, | |
640 | Reflectance = Reflectance, | |
641 | Transparency = Transparency, | |
642 | CanCollide = false, | |
643 | Locked = true, | |
644 | BrickColor = BrickColor.new(tostring(BColor)), | |
645 | Name = Name, | |
646 | Size = Size, | |
647 | Material = Material, | |
648 | } | |
649 | RemoveOutlines(Part) | |
650 | return Part | |
651 | end; | |
652 | }; | |
653 | ||
654 | Mesh = { | |
655 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
656 | local Msh = Create(Mesh){ | |
657 | Parent = Part, | |
658 | Offset = OffSet, | |
659 | Scale = Scale, | |
660 | } | |
661 | if Mesh == "SpecialMesh" then | |
662 | Msh.MeshType = MeshType | |
663 | Msh.MeshId = MeshId | |
664 | end | |
665 | return Msh | |
666 | end; | |
667 | }; | |
668 | ||
669 | Weld = { | |
670 | Create = function(Parent, Part0, Part1, C0, C1) | |
671 | local Weld = Create("Weld"){ | |
672 | Parent = Parent, | |
673 | Part0 = Part0, | |
674 | Part1 = Part1, | |
675 | C0 = C0, | |
676 | C1 = C1, | |
677 | } | |
678 | return Weld | |
679 | end; | |
680 | }; | |
681 | ||
682 | Sound = { | |
683 | Create = function(id, par, vol, pit) | |
684 | coroutine.resume(coroutine.create(function() | |
685 | local Sound = Create("Sound"){ | |
686 | Volume = vol, | |
687 | Pitch = pit or 1, | |
688 | SoundId = "rbxassetid://" .. id, | |
689 | Parent = par or workspace, | |
690 | } | |
691 | Sound:play() | |
692 | game:GetService("Debris"):AddItem(Sound, 10) | |
693 | end)) | |
694 | end; | |
695 | }; | |
696 | ||
697 | Decal = { | |
698 | Create = function(Color, Texture, Transparency, Name, Parent) | |
699 | local Decal = Create("Decal"){ | |
700 | Color3 = Color, | |
701 | Texture = "rbxassetid://" .. Texture, | |
702 | Transparency = Transparency, | |
703 | Name = Name, | |
704 | Parent = Parent, | |
705 | } | |
706 | return Decal | |
707 | end; | |
708 | }; | |
709 | ||
710 | BillboardGui = { | |
711 | Create = function(Parent, Image, Position, Size) | |
712 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) | |
713 | BillPar.CFrame = CFrame.new(Position) | |
714 | local Bill = Create("BillboardGui"){ | |
715 | Parent = BillPar, | |
716 | Adornee = BillPar, | |
717 | Size = UDim2.new(1, 0, 1, 0), | |
718 | SizeOffset = Vector2.new(Size, Size), | |
719 | } | |
720 | local d = Create("ImageLabel", Bill){ | |
721 | Parent = Bill, | |
722 | BackgroundTransparency = 1, | |
723 | Size = UDim2.new(1, 0, 1, 0), | |
724 | Image = "rbxassetid://" .. Image, | |
725 | } | |
726 | return BillPar | |
727 | end | |
728 | }; | |
729 | ||
730 | ParticleEmitter = { | |
731 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
732 | local Particle = Create("ParticleEmitter"){ | |
733 | Parent = Parent, | |
734 | Color = ColorSequence.new(Color1, Color2), | |
735 | LightEmission = LightEmission, | |
736 | Size = Size, | |
737 | Texture = Texture, | |
738 | Transparency = Transparency, | |
739 | ZOffset = ZOffset, | |
740 | Acceleration = Accel, | |
741 | Drag = Drag, | |
742 | LockedToPart = LockedToPart, | |
743 | VelocityInheritance = VelocityInheritance, | |
744 | EmissionDirection = EmissionDirection, | |
745 | Enabled = Enabled, | |
746 | Lifetime = LifeTime, | |
747 | Rate = Rate, | |
748 | Rotation = Rotation, | |
749 | RotSpeed = RotSpeed, | |
750 | Speed = Speed, | |
751 | VelocitySpread = VelocitySpread, | |
752 | } | |
753 | return Particle | |
754 | end; | |
755 | }; | |
756 | ||
757 | CreateTemplate = { | |
758 | ||
759 | }; | |
760 | } | |
761 | ||
762 | function rayCast(Position, Direction, Range, Ignore) | |
763 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
764 | end | |
765 | ||
766 | function FindNearestTorso(pos) | |
767 | local list = (game.Workspace:children()) | |
768 | local torso = nil | |
769 | local dist = 1000 | |
770 | local temp, human, temp2 = nil, nil, nil | |
771 | for x = 1, #list do | |
772 | temp2 = list[x] | |
773 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
774 | temp = temp2:findFirstChild("Torso") | |
775 | human = temp2:findFirstChild("Humanoid") | |
776 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
777 | local dohit = true | |
778 | if dohit == true then | |
779 | torso = temp | |
780 | dist = (temp.Position - pos).magnitude | |
781 | end | |
782 | end | |
783 | end | |
784 | end | |
785 | return torso, dist | |
786 | end | |
787 | ||
788 | --[[ | |
789 | Thanks for using Build-To-Lua by jarredbcv. | |
790 | ]]-- | |
791 | ||
792 | New = function(Object, Parent, Name, Data) | |
793 | local Object = Instance.new(Object) | |
794 | for Index, Value in pairs(Data or {}) do | |
795 | Object[Index] = Value | |
796 | end | |
797 | Object.Parent = Parent | |
798 | Object.Name = Name | |
799 | return Object | |
800 | end | |
801 | ||
802 | Revolver = New("Model",Character,"Revolver",{}) | |
803 | 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),}) | |
804 | 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,}) | |
805 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
806 | 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),}) | |
807 | 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,}) | |
808 | 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),}) | |
809 | 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,}) | |
810 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748272181),}) | |
811 | 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),}) | |
812 | 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,}) | |
813 | 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),}) | |
814 | 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,}) | |
815 | 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),}) | |
816 | 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,}) | |
817 | 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),}) | |
818 | 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,}) | |
819 | 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),}) | |
820 | 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),}) | |
821 | 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),}) | |
822 | 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),}) | |
823 | 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),}) | |
824 | 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),}) | |
825 | 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),}) | |
826 | 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),}) | |
827 | 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),}) | |
828 | 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),}) | |
829 | 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),}) | |
830 | 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),}) | |
831 | 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),}) | |
832 | 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),}) | |
833 | 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),}) | |
834 | 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),}) | |
835 | 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),}) | |
836 | 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,}) | |
837 | 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),}) | |
838 | 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,}) | |
839 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
840 | 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),}) | |
841 | 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,}) | |
842 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
843 | 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),}) | |
844 | 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,}) | |
845 | 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),}) | |
846 | 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,}) | |
847 | 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),}) | |
848 | 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,}) | |
849 | 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),}) | |
850 | 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,}) | |
851 | 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),}) | |
852 | 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,}) | |
853 | 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),}) | |
854 | 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,}) | |
855 | 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),}) | |
856 | 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,}) | |
857 | 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),}) | |
858 | 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,}) | |
859 | 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),}) | |
860 | 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),}) | |
861 | 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),}) | |
862 | 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),}) | |
863 | 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),}) | |
864 | 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),}) | |
865 | 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),}) | |
866 | 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),}) | |
867 | 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),}) | |
868 | 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),}) | |
869 | 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),}) | |
870 | 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,}) | |
871 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.748267233, 1),}) | |
872 | 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),}) | |
873 | 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,}) | |
874 | 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),}) | |
875 | 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,}) | |
876 | 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),}) | |
877 | 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,}) | |
878 | 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),}) | |
879 | 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,}) | |
880 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.748267591),}) | |
881 | 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),}) | |
882 | 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,}) | |
883 | 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),}) | |
884 | 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),}) | |
885 | 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),}) | |
886 | 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),}) | |
887 | 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),}) | |
888 | 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),}) | |
889 | 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),}) | |
890 | 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,}) | |
891 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.868122339),MeshType = Enum.MeshType.Cylinder,}) | |
892 | 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),}) | |
893 | 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,}) | |
894 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
895 | 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),}) | |
896 | 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,}) | |
897 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.523787498, 0.823096395),}) | |
898 | 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),}) | |
899 | 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),}) | |
900 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.748268664, 1),MeshType = Enum.MeshType.Wedge,}) | |
901 | 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),}) | |
902 | 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),}) | |
903 | 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),}) | |
904 | 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,}) | |
905 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),}) | |
906 | 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),}) | |
907 | 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,}) | |
908 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.37413469, 1),}) | |
909 | 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),}) | |
910 | 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,}) | |
911 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.374134958, 1, 1),}) | |
912 | 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),}) | |
913 | 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,}) | |
914 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.37413469, 1, 1),}) | |
915 | 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),}) | |
916 | ||
917 | moter = New("Motor",Handle,"mot",{Part0 =RightArm, Part1 = Handle,}) | |
918 | ||
919 | Partasd = Shootpart | |
920 | ||
921 | game.ContentProvider:Preload("rbxassetid://642849721") | |
922 | game.ContentProvider:Preload("rbxassetid://931130559") | |
923 | ||
924 | local hello = Instance.new("Sound") | |
925 | hello.SoundId = "rbxassetid://642849721" | |
926 | hello.PlaybackSpeed = 1 | |
927 | hello.Volume = 5.5 | |
928 | hello.Parent = Head | |
929 | hello.Looped = true | |
930 | hello:Play() | |
931 | ||
932 | local BladeHitSounds = { | |
933 | "199149137", | |
934 | "199149186", | |
935 | "199149221", | |
936 | "199149235", | |
937 | "199149269", | |
938 | "199149297" | |
939 | } | |
940 | ||
941 | local FistHitSounds = { | |
942 | "199149137", | |
943 | "199149186", | |
944 | "199149221", | |
945 | "199149235", | |
946 | "199149269", | |
947 | "199149297" | |
948 | } | |
949 | ||
950 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
951 | if hit.Parent == nil then | |
952 | return | |
953 | end | |
954 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
955 | for _, v in pairs(hit.Parent:children()) do | |
956 | if v:IsA("Humanoid") then | |
957 | h = v | |
958 | end | |
959 | end | |
960 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
961 | warn'No R15 allowed' | |
962 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
963 | end | |
964 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
965 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
966 | if hit.Parent.DebounceHit.Value == true then | |
967 | return | |
968 | end | |
969 | end | |
970 | local c = Create("ObjectValue"){ | |
971 | Name = "creator", | |
972 | Value = game:service("Players").LocalPlayer, | |
973 | Parent = h, | |
974 | } | |
975 | game:GetService("Debris"):AddItem(c, .5) | |
976 | if HitSound ~= nil and HitPitch ~= nil then | |
977 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
978 | end | |
979 | local Damage = math.random(minim, maxim) | |
980 | local blocked = false | |
981 | local block = hit.Parent:findFirstChild("Block") | |
982 | if block ~= nil then | |
983 | if block.className == "IntValue" then | |
984 | if block.Value > 0 then | |
985 | blocked = true | |
986 | block.Value = block.Value - 1 | |
987 | print(block.Value) | |
988 | end | |
989 | end | |
990 | end | |
991 | if blocked == false then | |
992 | h.Health = h.Health - Damage | |
993 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Toothpaste").Color) | |
994 | else | |
995 | h.Health = h.Health - (Damage / 2) | |
996 | 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) | |
997 | end | |
998 | if Type == "Knockdown" then | |
999 | local hum = hit.Parent.Humanoid | |
1000 | hum.PlatformStand = true | |
1001 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1002 | swait(1) | |
1003 | HHumanoid.PlatformStand = false | |
1004 | end), hum) | |
1005 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1006 | local bodvol = Create("BodyVelocity"){ | |
1007 | velocity = angle * knockback, | |
1008 | P = 5000, | |
1009 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1010 | Parent = hit, | |
1011 | } | |
1012 | local rl = Create("BodyAngularVelocity"){ | |
1013 | P = 3000, | |
1014 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1015 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1016 | Parent = hit, | |
1017 | } | |
1018 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1019 | game:GetService("Debris"):AddItem(rl, .5) | |
1020 | elseif Type == "Normal" then | |
1021 | local vp = Create("BodyVelocity"){ | |
1022 | P = 500, | |
1023 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1024 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1025 | } | |
1026 | if knockback > 0 then | |
1027 | vp.Parent = hit.Parent.Torso | |
1028 | end | |
1029 | game:GetService("Debris"):AddItem(vp, .5) | |
1030 | elseif Type == "Up" then | |
1031 | local bodyVelocity = Create("BodyVelocity"){ | |
1032 | velocity = Vector3.new(0, 20, 0), | |
1033 | P = 5000, | |
1034 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1035 | Parent = hit, | |
1036 | } | |
1037 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1038 | elseif Type == "DarkUp" then | |
1039 | coroutine.resume(coroutine.create(function() | |
1040 | for i = 0, 1, 0.1 do | |
1041 | swait() | |
1042 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1043 | end | |
1044 | end)) | |
1045 | local bodyVelocity = Create("BodyVelocity"){ | |
1046 | velocity = Vector3.new(0, 20, 0), | |
1047 | P = 5000, | |
1048 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1049 | Parent = hit, | |
1050 | } | |
1051 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1052 | elseif Type == "Snare" then | |
1053 | local bp = Create("BodyPosition"){ | |
1054 | P = 2000, | |
1055 | D = 100, | |
1056 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1057 | position = hit.Parent.Torso.Position, | |
1058 | Parent = hit.Parent.Torso, | |
1059 | } | |
1060 | game:GetService("Debris"):AddItem(bp, 1) | |
1061 | elseif Type == "Freeze" then | |
1062 | local BodPos = Create("BodyPosition"){ | |
1063 | P = 50000, | |
1064 | D = 1000, | |
1065 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1066 | position = hit.Parent.Torso.Position, | |
1067 | Parent = hit.Parent.Torso, | |
1068 | } | |
1069 | local BodGy = Create("BodyGyro") { | |
1070 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1071 | P = 20e+003, | |
1072 | Parent = hit.Parent.Torso, | |
1073 | cframe = hit.Parent.Torso.CFrame, | |
1074 | } | |
1075 | hit.Parent.Torso.Anchored = true | |
1076 | coroutine.resume(coroutine.create(function(Part) | |
1077 | swait(1.5) | |
1078 | Part.Anchored = false | |
1079 | end), hit.Parent.Torso) | |
1080 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1081 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1082 | end | |
1083 | local debounce = Create("BoolValue"){ | |
1084 | Name = "DebounceHit", | |
1085 | Parent = hit.Parent, | |
1086 | Value = true, | |
1087 | } | |
1088 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1089 | c = Create("ObjectValue"){ | |
1090 | Name = "creator", | |
1091 | Value = Player, | |
1092 | Parent = h, | |
1093 | } | |
1094 | game:GetService("Debris"):AddItem(c, .5) | |
1095 | end | |
1096 | end | |
1097 | ||
1098 | function ShowDamage(Pos, Text, Time, Color) | |
1099 | local Rate = (1 / 30) | |
1100 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1101 | local Text = (Text or "") | |
1102 | local Time = (Time or 2) | |
1103 | local Color = (Color or Color3.new(1, 0, 1)) | |
1104 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1105 | EffectPart.Anchored = true | |
1106 | local BillboardGui = Create("BillboardGui"){ | |
1107 | Size = UDim2.new(3, 0, 3, 0), | |
1108 | Adornee = EffectPart, | |
1109 | Parent = EffectPart, | |
1110 | } | |
1111 | local TextLabel = Create("TextLabel"){ | |
1112 | BackgroundTransparency = 1, | |
1113 | Size = UDim2.new(1, 0, 1, 0), | |
1114 | Text = Text, | |
1115 | Font = "SciFi", | |
1116 | TextColor3 = Color, | |
1117 | TextScaled = true, | |
1118 | Parent = BillboardGui, | |
1119 | } | |
1120 | game.Debris:AddItem(EffectPart, (Time)) | |
1121 | EffectPart.Parent = game:GetService("Workspace") | |
1122 | delay(0, function() | |
1123 | local Frames = (Time / Rate) | |
1124 | for Frame = 1, Frames do | |
1125 | wait(Rate) | |
1126 | local Percent = (Frame / Frames) | |
1127 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1128 | TextLabel.TextTransparency = Percent | |
1129 | end | |
1130 | if EffectPart and EffectPart.Parent then | |
1131 | EffectPart:Destroy() | |
1132 | end | |
1133 | end) | |
1134 | end | |
1135 | ||
1136 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1137 | for _, c in pairs(workspace:children()) do | |
1138 | local hum = c:findFirstChild("Humanoid") | |
1139 | if hum ~= nil then | |
1140 | local head = c:findFirstChild("Torso") | |
1141 | if head ~= nil then | |
1142 | local targ = head.Position - Part.Position | |
1143 | local mag = targ.magnitude | |
1144 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1145 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1146 | end | |
1147 | end | |
1148 | end | |
1149 | end | |
1150 | end | |
1151 | ||
1152 | EffectModel = Create("Model"){ | |
1153 | Parent = Character, | |
1154 | Name = "Effects", | |
1155 | } | |
1156 | ||
1157 | Effects = { | |
1158 | ||
1159 | Block = { | |
1160 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
1161 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1162 | prt.Anchored = true | |
1163 | prt.CFrame = cframe | |
1164 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1165 | game:GetService("Debris"):AddItem(prt, 10) | |
1166 | if Type == 1 or Type == nil then | |
1167 | table.insert(Effects, { | |
1168 | prt, | |
1169 | "Block1", | |
1170 | delay, | |
1171 | x3, | |
1172 | y3, | |
1173 | z3, | |
1174 | msh | |
1175 | }) | |
1176 | elseif Type == 2 then | |
1177 | table.insert(Effects, { | |
1178 | prt, | |
1179 | "Block2", | |
1180 | delay, | |
1181 | x3, | |
1182 | y3, | |
1183 | z3, | |
1184 | msh | |
1185 | }) | |
1186 | elseif Type == 3 then | |
1187 | table.insert(Effects, { | |
1188 | prt, | |
1189 | "Block3", | |
1190 | delay, | |
1191 | x3, | |
1192 | y3, | |
1193 | z3, | |
1194 | msh, | |
1195 | Part | |
1196 | }) | |
1197 | elseif Type == 4 then | |
1198 | table.insert(Effects, { | |
1199 | prt, | |
1200 | "Block2Fire", | |
1201 | delay, | |
1202 | x3, | |
1203 | y3, | |
1204 | z3, | |
1205 | msh | |
1206 | }) | |
1207 | end | |
1208 | end | |
1209 | ||
1210 | }, | |
1211 | ||
1212 | Cylinder = { | |
1213 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1214 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1215 | prt.Anchored = true | |
1216 | prt.CFrame = cframe | |
1217 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1218 | game:GetService("Debris"):AddItem(prt, 10) | |
1219 | table.insert(Effects, { | |
1220 | prt, | |
1221 | "Cylinder", | |
1222 | delay, | |
1223 | x3, | |
1224 | y3, | |
1225 | z3, | |
1226 | msh | |
1227 | }) | |
1228 | end | |
1229 | ||
1230 | }, | |
1231 | ||
1232 | Sphere = { | |
1233 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
1234 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1235 | prt.Anchored = true | |
1236 | prt.CFrame = cframe | |
1237 | if parent == nil then | |
1238 | prt.Parent = workspace | |
1239 | else | |
1240 | prt.Parent = parent | |
1241 | end | |
1242 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1243 | game:GetService("Debris"):AddItem(prt, 10) | |
1244 | table.insert(Effects, { | |
1245 | prt, | |
1246 | "Cylinder", | |
1247 | delay, | |
1248 | x3, | |
1249 | y3, | |
1250 | z3, | |
1251 | msh | |
1252 | }) | |
1253 | end | |
1254 | }, | |
1255 | ||
1256 | Blood = { | |
1257 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1258 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1259 | prt.Anchored = true | |
1260 | prt.CFrame = cframe | |
1261 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1262 | game:GetService("Debris"):AddItem(prt, 10) | |
1263 | table.insert(Effects, { | |
1264 | prt, | |
1265 | "Blood", | |
1266 | delay, | |
1267 | x3, | |
1268 | y3, | |
1269 | z3, | |
1270 | msh | |
1271 | }) | |
1272 | end | |
1273 | }, | |
1274 | ||
1275 | Head = { | |
1276 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1277 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1278 | prt.Anchored = true | |
1279 | prt.CFrame = cframe | |
1280 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1281 | game:GetService("Debris"):AddItem(prt, 10) | |
1282 | table.insert(Effects, { | |
1283 | prt, | |
1284 | "Cylinder", | |
1285 | delay, | |
1286 | x3, | |
1287 | y3, | |
1288 | z3, | |
1289 | msh | |
1290 | }) | |
1291 | end | |
1292 | }, | |
1293 | ||
1294 | Fire = { | |
1295 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1296 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1297 | prt.Anchored = true | |
1298 | prt.CFrame = cframe | |
1299 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1300 | game:GetService("Debris"):AddItem(prt, 10) | |
1301 | table.insert(Effects, { | |
1302 | prt, | |
1303 | "Fire", | |
1304 | delay, | |
1305 | 1, | |
1306 | 1, | |
1307 | 1, | |
1308 | msh | |
1309 | }) | |
1310 | end; | |
1311 | }; | |
1312 | ||
1313 | Ring = { | |
1314 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, par) | |
1315 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1316 | prt.Anchored = true | |
1317 | if par ~= nil then | |
1318 | prt.Parent = par | |
1319 | end | |
1320 | prt.CFrame = cframe * CFrame.new(x3, y3, z3) | |
1321 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1322 | game:GetService("Debris"):AddItem(prt, 10) | |
1323 | table.insert(Effects, { | |
1324 | prt, | |
1325 | "Cylinder", | |
1326 | delay, | |
1327 | x3, | |
1328 | y3, | |
1329 | z3, | |
1330 | msh | |
1331 | }) | |
1332 | end | |
1333 | }, | |
1334 | ||
1335 | Blast = { | |
1336 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
1337 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1338 | prt.Anchored = true | |
1339 | prt.CFrame = cframe | |
1340 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1341 | game:GetService("Debris"):AddItem(prt, 10) | |
1342 | table.insert(Effects, { | |
1343 | prt, | |
1344 | "Block4", | |
1345 | delay, | |
1346 | x3, | |
1347 | y3, | |
1348 | z3, | |
1349 | msh, | |
1350 | Part | |
1351 | }) | |
1352 | end | |
1353 | }, | |
1354 | ||
1355 | Wave = { | |
1356 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1357 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1358 | prt.Anchored = true | |
1359 | prt.CFrame = cframe | |
1360 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1361 | game:GetService("Debris"):AddItem(prt, 10) | |
1362 | table.insert(Effects, { | |
1363 | prt, | |
1364 | "Cylinder", | |
1365 | delay, | |
1366 | x3, | |
1367 | y3, | |
1368 | z3, | |
1369 | msh | |
1370 | }) | |
1371 | end | |
1372 | }, | |
1373 | ||
1374 | Elec = { | |
1375 | Create = function(cff, x, y, z) | |
1376 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Medium blue"), "Part", Vector3.new(1, 1, 1)) | |
1377 | prt.Anchored = true | |
1378 | 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) | |
1379 | prt.CFrame = CFrame.new(prt.Position) | |
1380 | game:GetService("Debris"):AddItem(prt, 10) | |
1381 | local xval = math.random() / 9 | |
1382 | local yval = math.random() / 9 | |
1383 | local zval = math.random() / 9 | |
1384 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1385 | local eul1 = math.random(-50, 50) | |
1386 | local eul2 = math.random(-50, 50) | |
1387 | local eul3 = math.random(-50, 50) | |
1388 | local euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
1389 | local euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
1390 | Effects[#Effects + 1] = { | |
1391 | prt, | |
1392 | "Elec", | |
1393 | .05, | |
1394 | x, | |
1395 | y, | |
1396 | z, | |
1397 | xval, | |
1398 | yval, | |
1399 | zval, | |
1400 | msh, | |
1401 | euld, | |
1402 | euld2 | |
1403 | } | |
1404 | end | |
1405 | }, | |
1406 | ||
1407 | Break = { | |
1408 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1409 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1410 | prt.Anchored = true | |
1411 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1412 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1413 | local num = math.random(10, 50) / 1000 | |
1414 | game:GetService("Debris"):AddItem(prt, 10) | |
1415 | table.insert(Effects, { | |
1416 | prt, | |
1417 | "Shatter", | |
1418 | num, | |
1419 | prt.CFrame, | |
1420 | math.random() - math.random(), | |
1421 | 0, | |
1422 | math.random(50, 100) / 100 | |
1423 | }) | |
1424 | end; | |
1425 | }; | |
1426 | ||
1427 | Ice = { | |
1428 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1429 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1430 | prt.Anchored = true | |
1431 | prt.CFrame = cframe | |
1432 | msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1433 | game:GetService("Debris"):AddItem(prt, 10) | |
1434 | for i = 1, 5 do | |
1435 | Effects.Break.Create(BrickColor.new("White"), Torso.CFrame, 10, 1, 2.6) | |
1436 | end | |
1437 | for i = 1, 15 do | |
1438 | 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())) | |
1439 | freezepart.Anchored = true | |
1440 | freezepart.CanCollide = true | |
1441 | 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)) | |
1442 | game:GetService("Debris"):AddItem(freezepart, 10) | |
1443 | end | |
1444 | table.insert(Effects, { | |
1445 | prt, | |
1446 | "Ice", | |
1447 | delay, | |
1448 | msh, | |
1449 | 1, | |
1450 | .2 | |
1451 | }) | |
1452 | end | |
1453 | }, | |
1454 | ||
1455 | Lightning = { | |
1456 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1457 | local magz = (p0 - p1).magnitude | |
1458 | local curpos = p0 | |
1459 | local trz = { | |
1460 | -ofs, | |
1461 | ofs | |
1462 | } | |
1463 | for i = 1, tym do | |
1464 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1465 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1466 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1467 | li.Material = "Neon" | |
1468 | if tym == i then | |
1469 | local magz2 = (curpos - p1).magnitude | |
1470 | li.Size = Vector3.new(th, th, magz2) | |
1471 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1472 | table.insert(Effects, { | |
1473 | li, | |
1474 | "Disappear", | |
1475 | last | |
1476 | }) | |
1477 | else | |
1478 | do | |
1479 | do | |
1480 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1481 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1482 | game.Debris:AddItem(li, 10) | |
1483 | table.insert(Effects, { | |
1484 | li, | |
1485 | "Disappear", | |
1486 | last | |
1487 | }) | |
1488 | end | |
1489 | end | |
1490 | end | |
1491 | end | |
1492 | end | |
1493 | }; | |
1494 | ||
1495 | EffectTemplate = { | |
1496 | ||
1497 | }; | |
1498 | ||
1499 | } | |
1500 | ||
1501 | function Shoot7(Part) | |
1502 | sp = Part.Position | |
1503 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
1504 | local hit, pos = rayCast(sp, dirr.lookVector, 1000, Character) | |
1505 | local las = Instance.new("Part", Character) | |
1506 | las.Anchored = true | |
1507 | las.Locked = true | |
1508 | las.CanCollide = false | |
1509 | las.TopSurface = 0 | |
1510 | las.BottomSurface = 0 | |
1511 | las.BrickColor = BrickColor.new("White") | |
1512 | las.Size = Vector3.new(10, 1, 10) | |
1513 | las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0) | |
1514 | local msh = Instance.new("SpecialMesh", las) | |
1515 | mag = (Part.Position - pos).magnitude | |
1516 | msh.Scale = Vector3.new(0.001, mag, 0.001) | |
1517 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1518 | for i = 0, 0.8, 0.1 do | |
1519 | swait() | |
1520 | Part.Transparency = Part.Transparency + 0.1 | |
1521 | Mesh.Scale = Mesh.Scale + Vector3.new(1, 0.02, 1) | |
1522 | end | |
1523 | Part.Parent = nil | |
1524 | end), las, msh) | |
1525 | if pos ~= nil then | |
1526 | local las2 = Instance.new("Part", Character) | |
1527 | las2.Anchored = true | |
1528 | las2.Locked = true | |
1529 | las2.CanCollide = false | |
1530 | las2.TopSurface = 0 | |
1531 | las2.BottomSurface = 0 | |
1532 | las2.Transparency = 1 | |
1533 | las2.BrickColor = BrickColor.new("White") | |
1534 | las2.Size = Vector3.new(1, 1, 1) | |
1535 | las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0) | |
1536 | local msh = Instance.new("SpecialMesh", las2) | |
1537 | msh.MeshType = "Sphere" | |
1538 | mag = (Part.Position - pos).magnitude | |
1539 | msh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1540 | 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) | |
1541 | Effects.Sphere.Create(BrickColor.new("White"), las2.CFrame, 12, 12, 12, 80, 80, 80, 0.07) | |
1542 | MagnitudeDamage(las2, 40, 20, 20, 1, "Snare", "0", 1) | |
1543 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.7) | |
1544 | ||
1545 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1546 | for i = 0, 0.8, 0.1 do | |
1547 | swait() | |
1548 | Part.Transparency = Part.Transparency + 1 | |
1549 | Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0) | |
1550 | end | |
1551 | Part.Parent = nil | |
1552 | end), las2, msh) | |
1553 | end | |
1554 | if hit ~= nil and pos ~= nil then | |
1555 | if hit.Parent.className == "Accessory" then | |
1556 | hit:BreakJoints() | |
1557 | hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5)) | |
1558 | end | |
1559 | ||
1560 | end | |
1561 | end | |
1562 | ||
1563 | ||
1564 | function attackone() | |
1565 | attack = true | |
1566 | for i = 0, 1, 0.1 do | |
1567 | swait() | |
1568 | PlayAnimationFromTable({ | |
1569 | 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), | |
1570 | 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), | |
1571 | 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), | |
1572 | 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), | |
1573 | 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), | |
1574 | 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), | |
1575 | }, .3, false) | |
1576 | 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) | |
1577 | end | |
1578 | for i = 0, 5 do | |
1579 | shootmain(Mouse, Shootpart,1, 1) | |
1580 | for i = 0, 1, 0.1 do | |
1581 | swait() | |
1582 | RootPart.Velocity = RootPart.CFrame.lookVector * -10 | |
1583 | PlayAnimationFromTable({ | |
1584 | 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), | |
1585 | 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), | |
1586 | 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), | |
1587 | 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), | |
1588 | 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), | |
1589 | 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), | |
1590 | }, .3, false) | |
1591 | 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) | |
1592 | end | |
1593 | end | |
1594 | attack = false | |
1595 | end | |
1596 | ||
1597 | function skill1() | |
1598 | attack = true | |
1599 | Humanoid.WalkSpeed = 0 | |
1600 | for i = 0, 1, 0.1 do | |
1601 | swait() | |
1602 | PlayAnimationFromTable({ | |
1603 | 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), | |
1604 | 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), | |
1605 | 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), | |
1606 | 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), | |
1607 | 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), | |
1608 | 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), | |
1609 | }, .3, false) | |
1610 | 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) | |
1611 | end | |
1612 | badabing = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "Reference", Vector3.new()) | |
1613 | badabing.Anchored=true | |
1614 | badabing.CFrame = RootPart.CFrame * CFrame.new(0, 150, 0) | |
1615 | randomizer = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "White", "groundref", Vector3.new()) | |
1616 | randomizer.Anchored=true | |
1617 | randomizer.CFrame = RootPart.CFrame * CFrame.new(0, -1, 0) | |
1618 | ||
1619 | CFuncs.Sound.Create("rbxassetid://231917975", Torso, 3, 1) | |
1620 | for i = 1, 100 do | |
1621 | swait(.0001) | |
1622 | randomizer.CFrame = RootPart.CFrame * CFrame.new(math.random(-0, 0), -1.3, math.random(-0, 0)) | |
1623 | Effects.Sphere.Create(BrickColor.new('White'), randomizer.CFrame, 50, 50, 50, 1, 1, 1, .1) | |
1624 | end | |
1625 | CFuncs.Sound.Create("rbxassetid://231917833", Torso, 4, 1) | |
1626 | for i = 0, 1, 0.1 do | |
1627 | swait() | |
1628 | hail(badabing, badabing, 10, 1.5) | |
1629 | Effects.Break.Create(BrickColor.new("Light blue"), Shootpart.CFrame * CFrame.new(0, 0, 0)) | |
1630 | hail(badabing, badabing, 10, 1.5) | |
1631 | hail(badabing, badabing, 10, 1.5) | |
1632 | hail(badabing, badabing, 10, 1.5) | |
1633 | hail(badabing, badabing, 10, 1.5) | |
1634 | PlayAnimationFromTable({ | |
1635 | 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), | |
1636 | 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), | |
1637 | 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), | |
1638 | 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), | |
1639 | 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), | |
1640 | 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), | |
1641 | }, .3, false) | |
1642 | 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) | |
1643 | end | |
1644 | badabing:Remove() | |
1645 | randomizer:Remove() | |
1646 | Humanoid.WalkSpeed = 16 | |
1647 | attack = false | |
1648 | end | |
1649 | ||
1650 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1651 | ||
1652 | local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1653 | prt.Anchored = true | |
1654 | prt.CFrame = cframe | |
1655 | prt.Material = "Neon" | |
1656 | prt.BrickColor = BrickColor.new("Toothpaste") | |
1657 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1658 | game:GetService("Debris"):AddItem(prt, 10) | |
1659 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1660 | ||
1661 | for i = 0, 1, delay do | |
1662 | swait() | |
1663 | Part.Transparency = i | |
1664 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
1665 | end | |
1666 | Part.Parent = nil | |
1667 | end | |
1668 | ), prt, msh) | |
1669 | end | |
1670 | ||
1671 | hail = function(mouse, partt, SpreadAmount, multiply) | |
1672 | ||
1673 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1674 | local MainPos = badabing.Position | |
1675 | local MainPos2 = randomizer.Position + SpreadVectors | |
1676 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1677 | local speed = 9001 | |
1678 | local num = 70 | |
1679 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=341336307", partt, 1, 1) | |
1680 | coroutine.resume(coroutine.create(function() | |
1681 | ||
1682 | repeat | |
1683 | swait() | |
1684 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1685 | local mag = (MainPos - pos).magnitude | |
1686 | Laser(BrickColor.new("Toothpaste"), 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) | |
1687 | MainPos = MainPos + MouseLook.lookVector * speed | |
1688 | num = num - 1 | |
1689 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1690 | if hit ~= nil then | |
1691 | num = 0 | |
1692 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Toothpaste", "Effect", Vector3.new()) | |
1693 | refpart.Anchored = true | |
1694 | refpart.CFrame = CFrame.new(pos) | |
1695 | game:GetService("Debris"):AddItem(refpart, 2) | |
1696 | end | |
1697 | do | |
1698 | if num <= 0 then | |
1699 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1700 | refpart.Anchored = true | |
1701 | refpart.CFrame = CFrame.new(pos) | |
1702 | Effects.Block.Create(BrickColor.new('Toothpaste'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1) | |
1703 | if hit ~= nil then | |
1704 | MagnitudeDamage(refpart, 10, 10 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
1705 | end | |
1706 | game:GetService("Debris"):AddItem(refpart, 0) | |
1707 | end | |
1708 | end | |
1709 | until num <= 0 | |
1710 | end | |
1711 | )) | |
1712 | end | |
1713 | ||
1714 | function skill2() | |
1715 | attack = true | |
1716 | Humanoid.Health = Humanoid.Health + 100 | |
1717 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=165487479", Head, 1, 1) | |
1718 | for i = 0, 1.05, 0.1 do | |
1719 | swait() | |
1720 | PlayAnimationFromTable({ | |
1721 | 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), | |
1722 | 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), | |
1723 | 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), | |
1724 | 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), | |
1725 | 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), | |
1726 | 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), | |
1727 | }, .3, false) | |
1728 | 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) | |
1729 | end | |
1730 | attack = false | |
1731 | end | |
1732 | ||
1733 | Shoota = function(orgpos) | |
1734 | ||
1735 | local MouseLook = CFrame.new((orgpos + Mouse.Hit.p) / 2, Mouse.Hit.p) | |
1736 | Effects.Block.Create(BrickColor.new("Toothpaste"), CFrame.new(orgpos), 30, 30, 30, 6, 6, 6, 0.09) | |
1737 | Effects.Block.Create(BrickColor.new("Toothpaste"), CFrame.new(orgpos), 32, 32, 32, 7, 7, 7, 0.09) | |
1738 | table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1}) | |
1739 | end | |
1740 | ||
1741 | shootmain = function(Mouse, partt, SpreadAmount, multiply) | |
1742 | ||
1743 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
1744 | local MainPos = partt.Position | |
1745 | local MainPos2 = Mouse.Hit.p + SpreadVectors | |
1746 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
1747 | local speed = 666 | |
1748 | local num = 20 | |
1749 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1) | |
1750 | coroutine.resume(coroutine.create(function() | |
1751 | ||
1752 | repeat | |
1753 | swait() | |
1754 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
1755 | local mag = (MainPos - pos).magnitude | |
1756 | Laser(BrickColor.new("Toothpaste"), 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) | |
1757 | MainPos = MainPos + MouseLook.lookVector * speed | |
1758 | num = num - 1 | |
1759 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
1760 | if hit ~= nil then | |
1761 | num = 0 | |
1762 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1763 | refpart.Anchored = true | |
1764 | refpart.CFrame = CFrame.new(pos) | |
1765 | game:GetService("Debris"):AddItem(refpart, 2) | |
1766 | end | |
1767 | do | |
1768 | if num <= 0 then | |
1769 | local refpart = CFuncs.Part.Create(effect, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) | |
1770 | refpart.Anchored = true | |
1771 | refpart.CFrame = CFrame.new(pos) | |
1772 | Effects.Block.Create(BrickColor.new('Toothpaste'), refpart.CFrame, 10, 10, 10, 5, 5, 5, .1) | |
1773 | if hit ~= nil then | |
1774 | MagnitudeDamage(refpart, 10, 10 * multiply, 15 * multiply, 0, "Normal", "231917784", 1) | |
1775 | end | |
1776 | game:GetService("Debris"):AddItem(refpart, 0) | |
1777 | end | |
1778 | end | |
1779 | until num <= 0 | |
1780 | end | |
1781 | )) | |
1782 | end | |
1783 | ||
1784 | function skill3() | |
1785 | attack = true | |
1786 | local con = RightLeg.Touched:connect(function(hit) | |
1787 | Damage(RightLeg, hit, 10, 18, math.random(2, 10), "Normal", RootPart, 3, "rbxassetid://165586617", 1) | |
1788 | end) | |
1789 | Humanoid.WalkSpeed = 0 | |
1790 | for i = 0, 5, 0.1 do | |
1791 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=330640599", Torso, 1, 1) | |
1792 | swait() | |
1793 | RootPart.Velocity = RootPart.CFrame.lookVector * 53 | |
1794 | PlayAnimationFromTable({ | |
1795 | 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), | |
1796 | 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), | |
1797 | 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), | |
1798 | 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), | |
1799 | 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), | |
1800 | 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), | |
1801 | }, .3, false) | |
1802 | 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) | |
1803 | end | |
1804 | Humanoid.WalkSpeed = 16 | |
1805 | attack = false | |
1806 | con:disconnect() | |
1807 | end | |
1808 | ||
1809 | function cringe() | |
1810 | attack = true | |
1811 | for i = 0, .99, 0.1 do | |
1812 | swait() | |
1813 | PlayAnimationFromTable({ | |
1814 | 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), | |
1815 | 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), | |
1816 | 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), | |
1817 | 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), | |
1818 | 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), | |
1819 | 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), | |
1820 | }, .3, false) | |
1821 | 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) | |
1822 | end | |
1823 | for i = 0, .99, 0.1 do | |
1824 | swait() | |
1825 | PlayAnimationFromTable({ | |
1826 | 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), | |
1827 | 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), | |
1828 | 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), | |
1829 | 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), | |
1830 | 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), | |
1831 | 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), | |
1832 | }, .3, false) | |
1833 | 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) | |
1834 | end | |
1835 | for i = 0, .99, 0.1 do | |
1836 | swait() | |
1837 | PlayAnimationFromTable({ | |
1838 | 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), | |
1839 | 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), | |
1840 | 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), | |
1841 | 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), | |
1842 | 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), | |
1843 | 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), | |
1844 | }, .3, false) | |
1845 | 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) | |
1846 | end | |
1847 | for i = 0, .99, 0.1 do | |
1848 | swait() | |
1849 | PlayAnimationFromTable({ | |
1850 | 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), | |
1851 | 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), | |
1852 | 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), | |
1853 | 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), | |
1854 | 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), | |
1855 | 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), | |
1856 | }, .3, false) | |
1857 | 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) | |
1858 | end | |
1859 | for i = 0, .99, 0.1 do | |
1860 | swait() | |
1861 | PlayAnimationFromTable({ | |
1862 | 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), | |
1863 | 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), | |
1864 | 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), | |
1865 | 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), | |
1866 | 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), | |
1867 | 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), | |
1868 | }, .3, false) | |
1869 | 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) | |
1870 | end | |
1871 | for i = 0, .99, 0.1 do | |
1872 | swait() | |
1873 | PlayAnimationFromTable({ | |
1874 | 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), | |
1875 | 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), | |
1876 | 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), | |
1877 | 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), | |
1878 | 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), | |
1879 | 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), | |
1880 | }, .3, false) | |
1881 | 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) | |
1882 | end | |
1883 | for i = 0, .99, 0.1 do | |
1884 | swait() | |
1885 | PlayAnimationFromTable({ | |
1886 | 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), | |
1887 | 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), | |
1888 | 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), | |
1889 | 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), | |
1890 | 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), | |
1891 | 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), | |
1892 | }, .3, false) | |
1893 | 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) | |
1894 | end | |
1895 | for i = 0, .99, 0.1 do | |
1896 | swait() | |
1897 | PlayAnimationFromTable({ | |
1898 | 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), | |
1899 | 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), | |
1900 | 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), | |
1901 | 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), | |
1902 | 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), | |
1903 | 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), | |
1904 | }, .3, false) | |
1905 | 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) | |
1906 | end | |
1907 | attack = false | |
1908 | end | |
1909 | ||
1910 | function skill4() | |
1911 | attack = true | |
1912 | Humanoid.WalkSpeed = 0 | |
1913 | local con = Shootpart.Touched:connect(function(hit) | |
1914 | Damage(Shootpart, hit, 9999, 9999, math.random(1, 5), "Normal", RootPart, 3, "rbxassetid://146163534", 1) | |
1915 | end) | |
1916 | for i = 0, 1, 0.1 do | |
1917 | swait() | |
1918 | PlayAnimationFromTable({ | |
1919 | 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), | |
1920 | 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), | |
1921 | 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), | |
1922 | 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), | |
1923 | 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), | |
1924 | 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), | |
1925 | }, .3, false) | |
1926 | 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) | |
1927 | end | |
1928 | for i = 0, 1, 0.1 do | |
1929 | swait() | |
1930 | PlayAnimationFromTable({ | |
1931 | 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), | |
1932 | 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), | |
1933 | 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), | |
1934 | 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), | |
1935 | 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), | |
1936 | 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), | |
1937 | }, .3, false) | |
1938 | 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) | |
1939 | end | |
1940 | Humanoid.WalkSpeed = 16 | |
1941 | con:Disconnect() | |
1942 | attack = false | |
1943 | end | |
1944 | ||
1945 | function cringe2() | |
1946 | attack = true | |
1947 | Humanoid.WalkSpeed = 0 | |
1948 | for i = 0, 3, 0.1 do | |
1949 | swait() | |
1950 | PlayAnimationFromTable({ | |
1951 | 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), | |
1952 | 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), | |
1953 | 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), | |
1954 | 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), | |
1955 | 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), | |
1956 | 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), | |
1957 | }, .3, false) | |
1958 | 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) | |
1959 | end | |
1960 | Humanoid.Health = 0.001 | |
1961 | Effects.Block.Create(BrickColor.new("Toothpaste"), Shootpart.CFrame * CFrame.new(0, 0, 0), 4, 4, 4, 2, 2, 2, .07) | |
1962 | Effects.Break.Create(BrickColor.new("Toothpaste"), Shootpart.CFrame, 5, .7, .7) | |
1963 | Effects.Break.Create(BrickColor.new("Toothpaste"), Shootpart.CFrame, 5, .7, .7) | |
1964 | Effects.Break.Create(BrickColor.new("Toothpaste"), Shootpart.CFrame, 5, .7, .7) | |
1965 | Effects.Break.Create(BrickColor.new("Toothpaste"), Shootpart.CFrame, 5, .7, .7) | |
1966 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=846233576", Shootpart, 1, 1) | |
1967 | for i = 0, 1, 0.1 do | |
1968 | swait() | |
1969 | PlayAnimationFromTable({ | |
1970 | 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), | |
1971 | 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), | |
1972 | 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), | |
1973 | 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), | |
1974 | 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), | |
1975 | 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), | |
1976 | }, .3, false) | |
1977 | 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) | |
1978 | end | |
1979 | Humanoid.WalkSpeed = 16 | |
1980 | attack = false | |
1981 | end | |
1982 | ||
1983 | Mouse.Button1Down:connect(function() | |
1984 | if attack == false then | |
1985 | attackone() | |
1986 | end | |
1987 | end) | |
1988 | ||
1989 | Mouse.KeyDown:connect(function(k) | |
1990 | k = k:lower() | |
1991 | if attack == false and k == 'z' then | |
1992 | skill1() | |
1993 | elseif attack == false and k == 'x' then | |
1994 | skill2() | |
1995 | elseif attack == false and k == 'c' and Anim == 'Walk' then | |
1996 | skill3() | |
1997 | elseif attack == false and k == 'v' then | |
1998 | skill4() | |
1999 | elseif attack == false and k == 'q' then | |
2000 | cringe() | |
2001 | elseif attack == false and k == 'e' then | |
2002 | cringe2() | |
2003 | end | |
2004 | end) | |
2005 | ||
2006 | while true do | |
2007 | swait() | |
2008 | for i, v in pairs(Character:GetChildren()) do | |
2009 | if v:IsA("Part") then | |
2010 | v.Material = "SmoothPlastic" | |
2011 | elseif v:IsA("Accessory") then | |
2012 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2013 | end | |
2014 | end | |
2015 | for i, v in pairs(Character:GetChildren()) do | |
2016 | if v:IsA'Model' then | |
2017 | for _, c in pairs(v:GetChildren()) do | |
2018 | if c:IsA'BasePart' then | |
2019 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
2020 | end | |
2021 | end | |
2022 | end | |
2023 | end | |
2024 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2025 | velocity = RootPart.Velocity.y | |
2026 | sine = sine + change | |
2027 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2028 | if RootPart.Velocity.y > 1 and hit == nil then | |
2029 | Anim = "Jump" | |
2030 | if attack == false then | |
2031 | PlayAnimationFromTable({ | |
2032 | 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), | |
2033 | 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), | |
2034 | 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), | |
2035 | 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), | |
2036 | 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), | |
2037 | 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), | |
2038 | }, .3, false) | |
2039 | ||
2040 | end | |
2041 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2042 | Anim = "Fall" | |
2043 | if attack == false then | |
2044 | PlayAnimationFromTable({ | |
2045 | 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), | |
2046 | 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), | |
2047 | 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), | |
2048 | 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), | |
2049 | 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), | |
2050 | 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), | |
2051 | }, .3, false) | |
2052 | end | |
2053 | elseif Torsovelocity < 1 and hit ~= nil then | |
2054 | Anim = "Idle" | |
2055 | if attack == false then | |
2056 | change = 1 | |
2057 | for i = 0, .3, 0.1 do | |
2058 | swait() | |
2059 | PlayAnimationFromTable({ | |
2060 | 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), | |
2061 | 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), | |
2062 | 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), | |
2063 | 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), | |
2064 | 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), | |
2065 | 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), | |
2066 | }, .3, false) | |
2067 | 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) | |
2068 | end | |
2069 | end | |
2070 | elseif Torsovelocity > 2 and hit ~= nil then | |
2071 | Anim = "Walk" | |
2072 | if attack == false then | |
2073 | PlayAnimationFromTable({ | |
2074 | 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), | |
2075 | 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), | |
2076 | 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), | |
2077 | 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), | |
2078 | 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)), | |
2079 | 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)), | |
2080 | }, .3, false) | |
2081 | 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) | |
2082 | end | |
2083 | end | |
2084 | if #Effects > 0 then | |
2085 | for e = 1, #Effects do | |
2086 | if Effects[e] ~= nil then | |
2087 | local Thing = Effects[e] | |
2088 | if Thing ~= nil then | |
2089 | Part = Thing[1] | |
2090 | Mode = Thing[2] | |
2091 | Delay = Thing[3] | |
2092 | IncX = Thing[4] | |
2093 | IncY = Thing[5] | |
2094 | IncZ = Thing[6] | |
2095 | if Thing[2] == "Shoot" then | |
2096 | Look = Thing[1] | |
2097 | hit, pos = rayCast(Thing[4], Look, 5, Character) | |
2098 | mag = (Thing[4] - pos).magnitude | |
2099 | Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(-1.57, 0, 0) | |
2100 | Thing[4] = Thing[4] + (Look * 5) | |
2101 | Thing[3] = Thing[3] - 1 | |
2102 | if hit ~= nil then | |
2103 | print(hit.Parent) | |
2104 | Thing[3] = 0 | |
2105 | --Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
2106 | --MagniDamage(Thing[9], 5, Thing[5], Thing[6], Thing[7], "Normal", RootPart, .2, 2, math.random(1, 5), nil, nil, true, "Movement", .02, 500) | |
2107 | end | |
2108 | if Thing[3] <= 0 then | |
2109 | if hit == nil then | |
2110 | Effects.Sphere.Create(BrickColor.new("Crimson"), Thing[9].CFrame, 1, 1, 1, 2, 2, 2, .1) | |
2111 | CFuncs.Sound.Create("285370517", Thing[9], 1, 1) | |
2112 | else | |
2113 | Effects.Wave.Create(BrickColor.new("Crimson"), Thing[9].CFrame * CFrame.fromEulerAnglesXYZ(3.2, 0, 0), .2, .2, .2, .6, .8, .6, .1) | |
2114 | CFuncs.Sound.Create("285370517", Thing[9], .6, 1) | |
2115 | CFuncs.Sound.Create("285370545", Thing[9], 1, 1) | |
2116 | end | |
2117 | for i = 1, math.random(2, 4) do | |
2118 | Effects.Break.Create(BrickColor.new("Crimson"), Thing[9].CFrame, math.random(20, 40) / 100, math.random(100, 600) / 100, math.random(20, 40) / 100) | |
2119 | end | |
2120 | Thing[9].Transparency = 1 | |
2121 | game:GetService("Debris"):AddItem(Thing[9], 1) | |
2122 | table.remove(Effects, e) | |
2123 | end | |
2124 | end | |
2125 | if Thing[2] ~= "Shoot" then | |
2126 | if Thing[1].Transparency <= 1 then | |
2127 | if Thing[2] == "Block1" then | |
2128 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2129 | Mesh = Thing[7] | |
2130 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2131 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2132 | elseif Thing[2] == "Block2" then | |
2133 | Thing[1].CFrame = Thing[1].CFrame | |
2134 | Mesh = Thing[7] | |
2135 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2136 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2137 | elseif Thing[2] == "Block3" then | |
2138 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2139 | Mesh = Thing[7] | |
2140 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2141 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2142 | elseif Thing[2] == "Block4" then | |
2143 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
2144 | Mesh = Thing[7] | |
2145 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2146 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2147 | elseif Thing[2] == "Block2Fire" then | |
2148 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2149 | Mesh = Thing[7] | |
2150 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2151 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2152 | if Thing[1].Transparency >= .3 then | |
2153 | Thing[1].BrickColor = BrickColor.new("Bright red") | |
2154 | else | |
2155 | Thing[1].BrickColor = BrickColor.new("Bright yellow") | |
2156 | end | |
2157 | elseif Thing[2] == "Ice" then | |
2158 | if Thing[6] <= Thing[5] then | |
2159 | Thing[6] = Thing[6] + .3 | |
2160 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 1, 0) | |
2161 | else | |
2162 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2163 | end | |
2164 | elseif Thing[2] == "Shatter" then | |
2165 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2166 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2167 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2168 | Thing[6] = Thing[6] + Thing[5] | |
2169 | elseif Thing[2] == "Fire" then | |
2170 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2171 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2172 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2173 | elseif Thing[2] == "Cylinder" then | |
2174 | Mesh = Thing[7] | |
2175 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2176 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2177 | elseif Thing[2] == "Cylinder2" then | |
2178 | Mesh = Thing[7] | |
2179 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2180 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0) | |
2181 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2182 | elseif Thing[2] == "Blood" then | |
2183 | Mesh = Thing[7] | |
2184 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0) | |
2185 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2186 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2187 | elseif Thing[2] == "Elec" then | |
2188 | Mesh = Thing[7] | |
2189 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2190 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2191 | elseif Thing[2] == "Disappear" then | |
2192 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2193 | end | |
2194 | else | |
2195 | Part.Parent = nil | |
2196 | table.remove(Effects, e) | |
2197 | end | |
2198 | end | |
2199 | end | |
2200 | end | |
2201 | end | |
2202 | end | |
2203 | end |