SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | - | local Plr = Plrs.LocalPlayer |
12 | + | Event.Name = "UserInput_Event" |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | - | local Mouse = Plr:GetMouse() |
27 | + | --Merged 2 functions into one by checking amount of arguments |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | -- Created by Nebula_Zorua -- | |
88 | -- Banisher Infinite -- | |
89 | -- A fanmade banisher -- | |
90 | -- Discord: Nebula the Zorua#6969 | |
91 | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA | |
92 | ||
93 | wait(1/60) | |
94 | ||
95 | --// Initializing \\-- | |
96 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
97 | local Plrs = S.Players | |
98 | local Plr = owner | |
99 | local Char = Plr.Character | |
100 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
101 | local RArm = Char["Right Arm"] | |
102 | local LArm = Char["Left Arm"] | |
103 | local RLeg = Char["Right Leg"] | |
104 | local LLeg = Char["Left Leg"] | |
105 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
106 | local Torso = Char.Torso | |
107 | local Head = Char.Head | |
108 | local NeutralAnims = true | |
109 | local Attack = false | |
110 | local BloodPuddles = {} | |
111 | local Effects = {} | |
112 | local Debounces = {Debounces={}} | |
113 | local Hit = {} | |
114 | local Sine = 0 | |
115 | local Change = 1 | |
116 | local BanishedEvents = {} | |
117 | ||
118 | ||
119 | --// Effect Thread System \\-- | |
120 | ||
121 | ||
122 | --// Debounce System \\-- | |
123 | ||
124 | function Debounces:New(name,cooldown) | |
125 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
126 | setmetatable(aaaaa,{__index = Debounces}) | |
127 | Debounces.Debounces[name] = aaaaa | |
128 | return aaaaa | |
129 | end | |
130 | ||
131 | function Debounces:Use(overrideUsable) | |
132 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
133 | if(self.Usable or overrideUsable)then | |
134 | self.Usable = false | |
135 | self.CoolingDown = true | |
136 | local LastUse = time() | |
137 | self.LastUse = LastUse | |
138 | delay(self.Cooldown or 2,function() | |
139 | if(self.LastUse == LastUse)then | |
140 | self.CoolingDown = false | |
141 | self.Usable = true | |
142 | end | |
143 | end) | |
144 | end | |
145 | end | |
146 | ||
147 | function Debounces:Get(name) | |
148 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
149 | for i,v in next, Debounces.Debounces do | |
150 | if(i == name)then | |
151 | return v; | |
152 | end | |
153 | end | |
154 | end | |
155 | ||
156 | function Debounces:GetProgressPercentage() | |
157 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
158 | if(self.CoolingDown and not self.Usable)then | |
159 | return math.max( | |
160 | math.floor( | |
161 | ( | |
162 | (time()-self.LastUse)/self.Cooldown or 2 | |
163 | )*100 | |
164 | ) | |
165 | ) | |
166 | - | local MusicID = 1119237438 |
166 | + | |
167 | return 100 | |
168 | end | |
169 | end | |
170 | ||
171 | --// Shortcut Variables \\-- | |
172 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
173 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
174 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
175 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
176 | local R3 = {N=Region3.new} | |
177 | local De = S.Debris | |
178 | local WS = workspace | |
179 | local Lght = S.Lighting | |
180 | local RepS = S.ReplicatedStorage | |
181 | local IN = Instance.new | |
182 | --// Instance Creation Functions \\-- | |
183 | ||
184 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
185 | local Sound = IN("Sound") | |
186 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
187 | Sound.Pitch = pitch or 1 | |
188 | Sound.Volume = volume or 1 | |
189 | Sound.Looped = looped or false | |
190 | if(autoPlay)then | |
191 | coroutine.wrap(function() | |
192 | repeat wait() until Sound.IsLoaded | |
193 | Sound.Playing = autoPlay or false | |
194 | end)() | |
195 | end | |
196 | if(not looped and effect)then | |
197 | Sound.Stopped:connect(function() | |
198 | Sound.Volume = 0 | |
199 | Sound:destroy() | |
200 | end) | |
201 | elseif(effect)then | |
202 | warn("Sound can't be looped and a sound effect!") | |
203 | end | |
204 | Sound.Parent =parent or Torso | |
205 | return Sound | |
206 | end | |
207 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
208 | local part = IN("Part") | |
209 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
210 | part.Material = material or Enum.Material.SmoothPlastic | |
211 | part.TopSurface,part.BottomSurface=10,10 | |
212 | part.Size = size or V3.N(1,1,1) | |
213 | part.CFrame = cframe or CF.N(0,0,0) | |
214 | part.Anchored = anchored or true | |
215 | part.CanCollide = cancollide or false | |
216 | part.Parent = parent or Char | |
217 | return part | |
218 | end | |
219 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
220 | local part = IN("SpecialMesh") | |
221 | part.MeshId = meshid or "" | |
222 | part.TextureId = textid or "" | |
223 | part.Scale = scale or V3.N(1,1,1) | |
224 | part.Offset = offset or V3.N(0,0,0) | |
225 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
226 | part.Parent = parent | |
227 | return part | |
228 | end | |
229 | ||
230 | NewInstance = function(instance,parent,properties) | |
231 | local inst = Instance.new(instance,parent) | |
232 | if(properties)then | |
233 | for i,v in next, properties do | |
234 | pcall(function() inst[i] = v end) | |
235 | end | |
236 | end | |
237 | return inst; | |
238 | end | |
239 | ||
240 | ||
241 | ||
242 | --// Extended ROBLOX tables \\-- | |
243 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
244 | --// Customization \\-- | |
245 | ||
246 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
247 | local Remove_Hats = false | |
248 | local Remove_Clothing = false | |
249 | local PlayerSize = 1 | |
250 | local DamageColor = BrickColor.new'Really red' | |
251 | local MusicID = 0 | |
252 | local ChatSounds = {["You will know pain."] = 907333294,["Submit now."] = 907330103,["I will show you true power."] = 907329532, ["Your death is assured."] = 907332670, ["My attacks will tear you apart!"] = 907329893, ["Most worrying indeed."] = 1395854043} | |
253 | local TauntDialogues = {"I'll cut you!", "I'll blast your head off!","Submit now.","Your death is assured.", "I will show you true power.", "You will know pain.","My attacks will tear you apart!"} | |
254 | ||
255 | --// Weapon and GUI creation, and Character Customization \\-- | |
256 | ||
257 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
258 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
259 | local Effects = IN("Folder",Char) | |
260 | Effects.Name = "Effects" | |
261 | ||
262 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye1.Material = 'Glass' end) | |
263 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end) | |
264 | pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end) | |
265 | ||
266 | New = function(Object, Parent, Name, Data) | |
267 | local Object = Instance.new(Object) | |
268 | for Index, Value in pairs(Data or {}) do | |
269 | Object[Index] = Value | |
270 | end | |
271 | Object.Parent = Parent | |
272 | Object.Name = Name | |
273 | return Object | |
274 | end | |
275 | ||
276 | Ulta_Caliber = New("Model",Char,"Ulta_Caliber",{}) | |
277 | Handle = New("Part",Ulta_Caliber,"Handle",{Material = Enum.Material.Metal,Size = Vector3.new(1.13946342, 0.351685941, 0.328840196),CFrame = CFrame.new(-52.3439636, 4.31768751, -59.3824234, 0.5, -0.866025269, -1.57914513e-07, 0.866025269, 0.5, 3.60109915e-08, 4.7770822e-08, -1.5476347e-07, 1),CanCollide = false,}) | |
278 | WMesh =New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) | |
279 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.87730086, 0.396701694, 0.328840196),CFrame = CFrame.new(-50.9256058, 4.80724812, -59.3824234, 0.99999994, -2.24410021e-21, -1.57914513e-07, 0, 0.99999994, 3.60109773e-08, 1.57914499e-07, -3.60109809e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
280 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 1, 1.11225295),}) | |
281 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.13315201, -0.98355484, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
282 | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Quill grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.572665811),CFrame = CFrame.new(-50.9072571, 4.11668205, -59.3754196, -2.32669322e-07, -0.00661635399, 0.999977946, -1.28771217e-06, 0.999977946, 0.00661635399, -1, -1.28614465e-06, -2.41184125e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) | |
283 | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.790156424, 1),MeshType = Enum.MeshType.Wedge,}) | |
284 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -2.32669336e-07, -1.28771228e-06, -1, -0.00661629438, 0.999978125, -1.28614465e-06, 0.999978125, 0.00661629438, -2.41184125e-07),C1 = CFrame.new(0.544277191, -1.34472656, 0.00700378418, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
285 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1684952, 4.40930319, -59.3824196, 0.70710665, -0.70710665, -1.57914471e-07, 0.70710665, 0.70710665, 3.60109986e-08, 8.61987672e-08, -1.37126023e-07, 1),CanCollide = false,}) | |
286 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.385011137, 0.748631597, 0.855579317),}) | |
287 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707106829, 0.707106829, 8.61987814e-08, -0.707106829, 0.707106829, -1.37126037e-07, -1.57914471e-07, 3.60110022e-08, 1),C1 = CFrame.new(1.16707611, -1.83820343, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
288 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.6288223, 3.82322454, -59.3824234, 5.96046377e-08, -0.999999881, -2.24250414e-08, 0.999999881, 5.96046519e-08, -5.41976775e-09, 5.41976064e-09, -2.2425013e-08, 1),CanCollide = false,}) | |
289 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.543293059, 0.924025238, 0.855579317),}) | |
290 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 5.96046519e-08, 1, 5.41976819e-09, -1, 5.96046519e-08, -2.24250307e-08, -2.24250307e-08, -5.41976686e-09, 1),C1 = CFrame.new(-0.570646286, -0.000537872314, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
291 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.8299942, 3.82262015, -59.3813744, 1.57915409e-07, 5.96046306e-08, 0.999999881, 4.68513015e-08, 0.999999881, -5.96046448e-08, -1, 4.68513228e-08, 1.57915395e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
292 | WMesh =New("SpecialMesh",WPart,"Mesh",{Scale = Vector3.new(0.861996353, 0.541153729, 0.299452811),MeshType = Enum.MeshType.Wedge,}) | |
293 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.57915409e-07, 4.68513122e-08, -1, 5.96046519e-08, 1, 4.68513264e-08, 1, -5.9604659e-08, 1.57915409e-07),C1 = CFrame.new(-0.671756744, 0.173381805, 0.00104904175, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
294 | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.344652593, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.1012497, 4.28257656, -59.3753929, 0.70710665, 0.70710665, -1.20777344e-07, -0.70710665, 0.70710665, 1.25668052e-07, 1.74263192e-07, -3.45828965e-09, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
295 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.98605454, 0.727242351),}) | |
296 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.707106829, -0.707106829, 1.74263207e-07, 0.707106829, 0.707106829, -3.45827589e-09, -1.20777329e-07, 1.25668066e-07, 1),C1 = CFrame.new(0.590950012, -1.0937767, 0.00703048706, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
297 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.7306976, 4.31373549, -59.3824272, 0.432455212, -0.901655316, 1.27368111e-07, 0.901655316, 0.432455212, -3.95984443e-07, 3.01960569e-07, 2.86087754e-07, 1),CanCollide = false,}) | |
298 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.541154027, 0.370038033, 0.855579317),}) | |
299 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.432455301, 0.901655436, 3.01960569e-07, -0.901655436, 0.432455301, 2.86087754e-07, 1.27368125e-07, -3.959845e-07, 1),C1 = CFrame.new(0.303211212, -0.533081055, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
300 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.7885818, 4.20838785, -59.3824234, 0.587423027, -0.809279799, -2.19202548e-07, 0.809279799, 0.587423027, -1.98992353e-07, 2.89805143e-07, -6.05034742e-08, 1),CanCollide = false,}) | |
301 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) | |
302 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.587423146, 0.809279919, 2.89805172e-07, -0.809279919, 0.587423146, -6.05035027e-08, -2.19202548e-07, -1.98992367e-07, 1),C1 = CFrame.new(0.183034897, -0.535625458, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
303 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.8400269, 4.15359306, -59.3824234, 0.760836244, -0.648943782, -2.6871362e-07, 0.648943782, 0.760836244, -1.52704587e-07, 3.035438e-07, -5.81968678e-08, 1),CanCollide = false,}) | |
304 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) | |
305 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.760836303, 0.648943841, 3.035438e-07, -0.648943841, 0.760836303, -5.8196882e-08, -2.68713649e-07, -1.52704587e-07, 1),C1 = CFrame.new(0.109859467, -0.518470764, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
306 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9011612, 4.11773586, -59.3824234, 0.91851747, -0.395380199, -1.96948804e-08, 0.395380199, 0.91851747, -6.96443863e-07, 2.93450228e-07, 6.31909018e-07, 1),CanCollide = false,}) | |
307 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.275924385, 0.370038033, 0.855579317),}) | |
308 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.91851759, 0.395380259, 2.93450228e-07, -0.395380259, 0.91851759, 6.31909018e-07, -1.96948431e-08, -6.96443919e-07, 1),C1 = CFrame.new(0.0482387543, -0.483455658, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
309 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.356609762, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.0863571, 4.12933016, -59.3824234, 0.991345346, 0.131278723, -5.39203029e-08, -0.131278723, 0.991345346, -9.33255933e-07, -6.90630628e-08, 9.32257819e-07, 1),CanCollide = false,}) | |
310 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.370038033, 0.855579317),}) | |
311 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.991345525, -0.131278753, -6.90630415e-08, 0.131278753, 0.991345525, 9.32257819e-07, -5.392031e-08, -9.33256047e-07, 1),C1 = CFrame.new(-0.034318924, -0.317272186, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
312 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.1749916, 4.05356789, -59.3820763, 0.991345346, 0.131278723, -5.39203029e-08, -0.131278723, 0.991345346, -9.33255933e-07, -6.90630628e-08, 9.32257819e-07, 1),CanCollide = false,}) | |
313 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.994611204, 0.301591754, 0.699436307),}) | |
314 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.991345525, -0.131278753, -6.90630415e-08, 0.131278753, 0.991345525, 9.32257819e-07, -5.392031e-08, -9.33256047e-07, 1),C1 = CFrame.new(-0.144248962, -0.278392792, 0.000347137451, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
315 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-52.0123367, 4.06675053, -59.3824272, 0.793815136, -0.608158827, -7.65793686e-08, 0.608158827, 0.793815136, -8.4843424e-07, 5.7677272e-07, 6.26927658e-07, 1),CanCollide = false,}) | |
316 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.346509725, 0.370038033, 0.684463739),}) | |
317 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.793815255, 0.608158886, 5.7677272e-07, -0.608158886, 0.793815255, 6.26927715e-07, -7.65793615e-08, -8.48434354e-07, 1),C1 = CFrame.new(-0.0515041351, -0.412666321, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
318 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.827166021, 0.351685941, 0.328840196),CFrame = CFrame.new(-52.1878128, 4.82334518, -59.3845367, 0.999954939, 0.00948500633, -7.15095894e-09, -0.00948500633, 0.999954939, 7.46392743e-08, 7.85854581e-09, -7.45681135e-08, 1),CanCollide = false,}) | |
319 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.573238373),}) | |
320 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999955058, -0.00948503613, 7.85857424e-09, 0.00948503613, 0.999955058, -7.45681064e-08, -7.1509394e-09, 7.46392885e-08, 1),C1 = CFrame.new(0.515987396, 0.117599487, -0.00211334229, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
321 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.364346951, 0.350982577, 0.328840196),CFrame = CFrame.new(-52.3578377, 4.71502256, -59.3845367, -0.870376885, -0.492385834, 1.83688564e-06, 0.492385834, -0.870376885, 4.2302986e-07, 1.3904895e-06, 1.2726523e-06, 1),CanCollide = false,}) | |
322 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.573238373),}) | |
323 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.870377064, 0.492385924, 1.3904895e-06, -0.492385924, -0.870377064, 1.2726523e-06, 1.83688599e-06, 4.2302986e-07, 1),C1 = CFrame.new(0.337165833, 0.210681915, -0.00211334229, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
324 | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.2399673, 4.18922997, -59.3753929, 0.470120013, 0.882602334, -6.54556175e-07, -0.882602334, 0.470120013, -3.05826063e-07, 3.77971503e-08, 7.21487936e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
325 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(0.789272487, 0.271646053, 0.727242351),}) | |
326 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.470120043, -0.882602453, 3.77971396e-08, 0.882602453, 0.470120043, 7.21487936e-07, -6.54556288e-07, -3.0582612e-07, 1),C1 = CFrame.new(0.440750122, -1.02031708, 0.00703048706, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
327 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(1.22879124, 0.618263781, 0.328840196),CFrame = CFrame.new(-50.7363968, 4.58814573, -59.3824234, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,}) | |
328 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) | |
329 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.03800774, -1.25696564, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
330 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.859521151, 0.531045794, 0.328840196),CFrame = CFrame.new(-51.7777481, 4.63175058, -59.3824234, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,}) | |
331 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.855579317),}) | |
332 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(0.555093765, -0.333324432, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
333 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.414286286, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.4174423, 4.47936392, -59.3824234, 0.5, 0.866025209, 2.92257027e-08, -0.866025209, 0.5, 1.03682424e-07, 7.51787468e-08, -7.7151455e-08, 1),CanCollide = false,}) | |
334 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.265229613, 0.855579317),}) | |
335 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.50000006, -0.866025329, 7.51787468e-08, 0.866025329, 0.50000006, -7.7151455e-08, 2.92257365e-08, 1.03682439e-07, 1),C1 = CFrame.new(0.603277206, -0.721553802, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
336 | WPart = New("Part",Ulta_Caliber,"Part",{Material = Enum.Material.Metal,Size = Vector3.new(0.527529478, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.0795135, 4.63236904, -59.3824196, -2.98023366e-08, -0.999999881, 3.74803335e-08, 0.999999881, -2.98023153e-08, -4.49242386e-08, 4.49242386e-08, 3.74803761e-08, 1),CanCollide = false,}) | |
337 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 0.263090521, 0.855579317),}) | |
338 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.38707111e-16, 1, 4.49242421e-08, -1, -1.54506983e-15, 3.74803619e-08, 3.74803619e-08, -4.49242421e-08, 1),C1 = CFrame.new(1.40474701, -1.80373001, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
339 | WPart = New("Part",Ulta_Caliber,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.17252171, 0.576061606, 0.328840196),CFrame = CFrame.new(-50.7363968, 4.55438519, -59.3753891, 0.999999881, -2.98023224e-08, -1.57914513e-07, 2.98023224e-08, 0.999999881, 3.60109738e-08, 1.57914499e-07, -3.60109844e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
340 | WMesh =New("BlockMesh",WPart,"Mesh",{Scale = Vector3.new(1, 1, 0.727242351),}) | |
341 | mot = New("Motor",WPart,"mot",{Part0 = WPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -6.12576133e-15, 1.57914513e-07, 1.18124174e-14, 1, -3.60109809e-08, -1.57914513e-07, 3.60109809e-08, 1),C1 = CFrame.new(1.00876999, -1.27384567, 0.00703430176, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
342 | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Quill grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.605763316),CFrame = CFrame.new(-49.3369522, 4.12218142, -59.3754158, 1.84564726e-07, 0.00661724806, -0.999978065, 5.00432975e-07, -0.999978065, -0.00661724806, -1, -4.99200723e-07, -1.87872132e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) | |
343 | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.779461861, 1),MeshType = Enum.MeshType.Wedge,}) | |
344 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.84564712e-07, 5.00432975e-07, -1, 0.00661721826, -0.999978185, -4.9920078e-07, -0.999978185, -0.00661721826, -1.8787216e-07),C1 = CFrame.new(1.33419228, -2.70190048, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
345 | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Quill grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.835727096),CFrame = CFrame.new(-50.0582809, 4.11805487, -59.3754158, -2.32669322e-07, -0.00661635399, 0.999977946, -1.28771217e-06, 0.999977946, 0.00661635399, -1, -1.28614465e-06, -2.41184125e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) | |
346 | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.790156424, 1),MeshType = Enum.MeshType.Wedge,}) | |
347 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -2.32669336e-07, -1.28771228e-06, -1, -0.00661629438, 0.999978125, -1.28614465e-06, 0.999978125, 0.00661629438, -2.41184125e-07),C1 = CFrame.new(0.969955444, -2.07927704, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
348 | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Quill grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-49.5309296, 4.30089998, -59.3754158, -5.15544457e-07, -0.00661677122, -0.999978065, 1.41483298e-07, 0.999978065, -0.00661677122, 1, -1.44891516e-07, -5.14597104e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) | |
349 | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.31531024, 0.65928185),MeshType = Enum.MeshType.Wedge,}) | |
350 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -5.15544514e-07, 1.41483355e-07, 1, -0.00661674142, 0.999978185, -1.44891501e-07, -0.999978185, -0.00661674142, -5.14597104e-07),C1 = CFrame.new(1.39197922, -2.44455338, 0.00700759888, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
351 | Blade2 = New("Part",Ulta_Caliber,"Blade2",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.328840256, 0.328840226, 1.44360781),CFrame = CFrame.new(-50.3589401, 4.14609241, -59.3749352, -1.8456474e-07, -0.00555405021, 0.999984503, 9.5615583e-08, -0.999984503, -0.00555405021, 1, 9.45890548e-08, 1.85092958e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
352 | WMesh =New("BlockMesh",Blade2,"Mesh",{Scale = Vector3.new(0.0458685458, 0.541722536, 1),}) | |
353 | mot = New("Motor",Blade2,"mot",{Part0 = Blade2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.8456474e-07, 9.56156043e-08, 1, -0.00555405021, -0.999984622, 9.45890548e-08, 0.999984622, -0.00555405021, 1.85092958e-07),C1 = CFrame.new(0.843906403, -1.80487823, 0.00748825073, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
354 | Blade = New("Part",Ulta_Caliber,"Blade",{BrickColor = BrickColor.new("Quill grey"),Material = Enum.Material.Ice,Size = Vector3.new(0.328840256, 0.328840226, 0.705641866),CFrame = CFrame.new(-50.2675247, 4.12026787, -59.3754196, 1.84564726e-07, 0.00661724806, -0.999978065, 5.00432975e-07, -0.999978065, -0.00661724806, -1, -4.99200723e-07, -1.87872132e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.87451, 0.87451, 0.870588),}) | |
355 | WMesh =New("SpecialMesh",Blade,"Mesh",{Scale = Vector3.new(0.0978527591, 0.779461861, 1),MeshType = Enum.MeshType.Wedge,}) | |
356 | mot = New("Motor",Blade,"mot",{Part0 = Blade,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.84564712e-07, 5.00432975e-07, -1, 0.00661721826, -0.999978185, -4.9920078e-07, -0.999978185, -0.00661721826, -1.8787216e-07),C1 = CFrame.new(0.867248535, -1.8969574, 0.00700378418, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
357 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2174072, 4.39788437, -59.3824196, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
358 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) | |
359 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.13273048, -1.80155182, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
360 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.520495594, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9148941, 4.73376513, -59.3824234, 0.499999881, -0.866025329, -1.02213342e-07, 0.866025329, 0.499999881, 2.49974264e-09, 4.89418106e-08, -8.97692303e-08, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
361 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.575376868, 1.11225307),}) | |
362 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.5, 0.866025507, 4.89418248e-08, -0.866025507, 0.5, -8.97692303e-08, -1.02213335e-07, 2.49974352e-09, 1),C1 = CFrame.new(0.574869156, -0.163547516, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
363 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.730803668, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3537521, 4.49474096, -59.3824234, 0.999999881, -1.49011655e-07, -3.99031308e-07, 1.49011626e-07, 0.999999881, -1.96114058e-07, 3.99031364e-07, 1.9611403e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
364 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.701574802, 1.11225307),}) | |
365 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 1.49011598e-07, 3.99031393e-07, -1.49011683e-07, 1, 1.9611403e-07, -3.99031364e-07, -1.96114087e-07, 1),C1 = CFrame.new(1.14843941, -1.63504791, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
366 | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.4424782, 4.61851454, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) | |
367 | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) | |
368 | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.21126747, -1.49632263, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
369 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.365753591, 0.62600112, 0.328840196),CFrame = CFrame.new(-49.9626884, 4.69178581, -59.3826065, 7.68042241e-07, -0.00064355135, -0.999999762, -9.31381408e-08, -0.999999762, 0.00064355135, -1, 9.26439014e-08, -7.68102325e-07),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
370 | WMesh =New("SpecialMesh",Part2,"Mesh",{Scale = Vector3.new(1, 1, 0.168976992),MeshType = Enum.MeshType.Wedge,}) | |
371 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 7.68042412e-07, -9.31381976e-08, -1, -0.00064358121, -0.999999881, 9.26438943e-08, -0.999999881, 0.000643581152, -7.68102325e-07),C1 = CFrame.new(1.51461601, -1.87519455, -0.000183105469, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
372 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2704659, 4.60726166, -59.3824196, -0.258819252, -0.965925813, -2.34842005e-07, 0.965925813, -0.258819252, -3.7912713e-08, -2.41607623e-08, -2.36652539e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
373 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) | |
374 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.28752899, -1.65091705, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
375 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3136215, 4.95879316, -59.379261, 0.787994385, -0.615682065, 2.82908672e-07, 0.615682065, 0.787994385, -6.01714532e-07, 1.47534422e-07, 6.4832966e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
376 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(0.840607285, 0.938997805, 0.442120701),}) | |
377 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.787994564, 0.615682125, 1.47534436e-07, -0.615682125, 0.787994564, 6.4832966e-07, 2.82908701e-07, -6.01714646e-07, 1),C1 = CFrame.new(1.57038498, -1.43777466, 0.00316238403, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
378 | CylinderWMesh =New("Part",Ulta_Caliber,"CylinderMesh",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.378414333, 0.377710849, 0.328840196),CFrame = CFrame.new(-50.0357437, 4.80339193, -59.39114, 2.98023224e-08, -0.999999881, 1.57914499e-07, -0.999999881, -2.98023224e-08, -3.60109773e-08, 3.60109915e-08, -1.57914499e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
379 | WMesh =New("CylinderMesh",CylinderWMesh,"Mesh",{Scale = Vector3.new(1, 1, 0.876968741),}) | |
380 | mot = New("Motor",CylinderWMesh,"mot",{Part0 = CylinderWMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.05101373e-15, -1, 3.6010988e-08, -1, -6.73767064e-15, -1.57914513e-07, 1.57914513e-07, -3.6010988e-08, -1),C1 = CFrame.new(1.57474327, -1.7561264, -0.00871658325, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
381 | Barrel = New("Part",Ulta_Caliber,"Barrel",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.378414333, 0.377710849, 0.328840196),CFrame = CFrame.new(-50.0357437, 4.80443621, -59.3890343, 2.98023224e-08, -0.999999881, 1.57914499e-07, -0.999999881, -2.98023224e-08, -3.60109773e-08, 3.60109915e-08, -1.57914499e-07, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
382 | WMesh =New("CylinderMesh",Barrel,"Mesh",{Scale = Vector3.new(1, 1.00999999, 0.79932487),}) | |
383 | mot = New("Motor",Barrel,"mot",{Part0 = Barrel,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.05101373e-15, -1, 3.6010988e-08, -1, -6.73767064e-15, -1.57914513e-07, 1.57914513e-07, -3.6010988e-08, -1),C1 = CFrame.new(1.57564735, -1.75560379, -0.00661087036, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
384 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.5515137, 4.3936615, -59.3824234, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
385 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) | |
386 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(0.962020874, -1.51432037, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
387 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1192398, 4.60677624, -59.3824196, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
388 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) | |
389 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.36272049, -1.78212357, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
390 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.497987658, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6954193, 4.64329672, -59.3824234, 0.258819222, 0.965925694, -2.51750805e-07, -0.965925694, 0.258819222, -1.35819789e-07, -6.60338912e-08, 2.78325388e-07, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
391 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(1, 0.562543094, 1.11225307),}) | |
392 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.258819252, -0.965925813, -6.60338841e-08, 0.965925813, 0.258819252, 2.78325388e-07, -2.51750834e-07, -1.35819803e-07, 1),C1 = CFrame.new(1.10625839, -1.26487732, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
393 | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.2807121, 4.61570024, -59.3824196, -0.258819252, -0.965925813, -2.34842005e-07, 0.965925813, -0.258819252, -3.7912713e-08, -2.41607623e-08, -2.36652539e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) | |
394 | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) | |
395 | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.28971481, -1.63782501, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
396 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6045723, 4.60303879, -59.3824234, -0.258819282, -0.965925932, -2.34842005e-07, 0.965925932, -0.258819282, -3.79127094e-08, -2.41607623e-08, -2.36652568e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
397 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) | |
398 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.11681747, -1.36368942, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
399 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.066185, 4.39740467, -59.3824196, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
400 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) | |
401 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.2079258, -1.93275452, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
402 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.419210047, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.4315338, 4.60514545, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
403 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(1, 0.188227236, 1.12080872),}) | |
404 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.20516205, -1.5124855, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
405 | Part2 = New("Part",Ulta_Caliber,"Part2",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-51.9104652, 4.60788345, -59.3824272, -0.588878095, -0.808221817, 1.09032158e-06, 0.808221817, -0.588878095, 8.42210341e-07, -3.86262684e-08, 1.37718132e-06, 1),CanCollide = false,Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
406 | WMesh =New("BlockMesh",Part2,"Mesh",{Scale = Vector3.new(0.534737229, 0.787132502, 1.11225307),}) | |
407 | mot = New("Motor",Part2,"mot",{Part0 = Part2,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.588878155, 0.808221936, -3.8626272e-08, -0.808221936, -0.588878155, 1.37718132e-06, 1.0903218e-06, 8.42210511e-07, 1),C1 = CFrame.new(0.468067169, -0.230323792, -3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
408 | Part3 = New("Part",Ulta_Caliber,"Part3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,Size = Vector3.new(0.328840256, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.3784828, 4.39577246, -59.3824234, -1.49011626e-07, -0.999999881, -1.98068761e-07, 0.999999881, -1.49011612e-07, -3.30714123e-08, 3.30713661e-08, -1.98068761e-07, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
409 | WMesh =New("BlockMesh",Part3,"Mesh",{Scale = Vector3.new(0.0855581015, 0.188227236, 1.12080872),}) | |
410 | mot = New("Motor",Part3,"mot",{Part0 = Part3,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.49011612e-07, 1, 3.30713732e-08, -1, -1.49011612e-07, -1.98068776e-07, -1.98068776e-07, -3.30714016e-08, 1),C1 = CFrame.new(1.05036354, -1.66311264, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
411 | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.1280746, 4.61569977, -59.3824196, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) | |
412 | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) | |
413 | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.36603165, -1.7700119, 3.81469727e-06, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
414 | Neon = New("Part",Ulta_Caliber,"Neon",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.368567139, 0.328840226, 0.328840196),CFrame = CFrame.new(-50.6162033, 4.61738539, -59.3824234, -0.258819222, -0.965925694, -2.34842005e-07, 0.965925694, -0.258819222, -3.79127165e-08, -2.41607623e-08, -2.36652511e-07, 1),CanCollide = false,Color = Color3.new(1, 0, 0),}) | |
415 | WMesh =New("BlockMesh",Neon,"Mesh",{Scale = Vector3.new(1, 0.109086163, 1.12936485),}) | |
416 | mot = New("Motor",Neon,"mot",{Part0 = Neon,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.258819252, 0.965925813, -2.41607623e-08, -0.965925813, -0.258819252, -2.36652511e-07, -2.3484202e-07, -3.79127165e-08, 1),C1 = CFrame.new(1.12342644, -1.34643555, 0, 0.50000006, 0.866025329, 4.77708291e-08, -0.866025329, 0.50000006, -1.5476347e-07, -1.57914513e-07, 3.60109951e-08, 1),}) | |
417 | ||
418 | ||
419 | if(PlayerSize ~= 1)then | |
420 | for _,v in next, Char:GetDescendats() do | |
421 | if(v:IsA'BasePart')then | |
422 | v.Size = v.Size * PlayerSize | |
423 | end | |
424 | end | |
425 | end | |
426 | ||
427 | for _,v in next, Ulta_Caliber:GetDescendants() do | |
428 | if(v:IsA'BasePart')then | |
429 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
430 | end | |
431 | end | |
432 | local Music = Sound(Char,MusicID,1,3,true,false,true) | |
433 | Music.Name = 'Music' | |
434 | ||
435 | --// Stop animations \\-- | |
436 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
437 | v:Stop(); | |
438 | end | |
439 | ||
440 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
441 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
442 | ||
443 | --// Joints \\-- | |
444 | ||
445 | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
446 | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
447 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
448 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
449 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
450 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
451 | local HW = NewInstance('Weld',Char,{Part0=RArm,Part1=Handle,C0 = CF.N(0,-.5,-.4)* CF.A(M.R(0),M.R(90),M.R(-30))}) | |
452 | local LSC0 = LS.C0 | |
453 | local RSC0 = RS.C0 | |
454 | local NKC0 = NK.C0 | |
455 | local LHC0 = LH.C0 | |
456 | local RHC0 = RH.C0 | |
457 | local RJC0 = RJ.C0 | |
458 | ||
459 | --// Artificial HB \\-- | |
460 | ||
461 | local ArtificialHB = IN("BindableEvent", script) | |
462 | ArtificialHB.Name = "Heartbeat" | |
463 | ||
464 | script:WaitForChild("Heartbeat") | |
465 | ||
466 | local tf = 0 | |
467 | local allowframeloss = false | |
468 | local tossremainder = false | |
469 | local lastframe = tick() | |
470 | local frame = 1/Frame_Speed | |
471 | ArtificialHB:Fire() | |
472 | ||
473 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
474 | tf = tf + s | |
475 | if tf >= frame then | |
476 | if allowframeloss then | |
477 | script.Heartbeat:Fire() | |
478 | lastframe = tick() | |
479 | else | |
480 | for i = 1, math.floor(tf / frame) do | |
481 | ArtificialHB:Fire() | |
482 | end | |
483 | lastframe = tick() | |
484 | end | |
485 | if tossremainder then | |
486 | tf = 0 | |
487 | else | |
488 | tf = tf - frame * math.floor(tf / frame) | |
489 | end | |
490 | end | |
491 | end) | |
492 | ||
493 | function swait(num) | |
494 | if num == 0 or num == nil then | |
495 | ArtificialHB.Event:wait() | |
496 | else | |
497 | for i = 0, num do | |
498 | ArtificialHB.Event:wait() | |
499 | end | |
500 | end | |
501 | end | |
502 | ||
503 | --// Effect Function(s) \\-- | |
504 | ||
505 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
506 | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) | |
507 | local tween = S.TweenService:Create(obj, info, props) | |
508 | ||
509 | tween:Play() | |
510 | end | |
511 | ||
512 | function OnceWas(who,dontRemove) | |
513 | coroutine.wrap(function() | |
514 | local c = who:children() | |
515 | if(not dontRemove)then who:destroy() end | |
516 | for _,v in next, c do | |
517 | if(v:IsA'BasePart' and v.Transparency < 0.9)then | |
518 | local Prt = v:Clone() | |
519 | Prt.Parent = Effects | |
520 | Prt.BrickColor = BrickColor.new'Crimson' | |
521 | Prt.Material = Enum.Material.Glass | |
522 | Prt.CanCollide = false | |
523 | Prt.Anchored = true | |
524 | Prt:breakJoints() | |
525 | ||
526 | ||
527 | local part = Effect{ | |
528 | Manual=Prt, | |
529 | Effect='Fade', | |
530 | Frames = 90, | |
531 | } | |
532 | end | |
533 | end | |
534 | end)() | |
535 | end | |
536 | ||
537 | function Bezier(startpos, pos2, pos3, endpos, t) | |
538 | local A = startpos:lerp(pos2, t) | |
539 | local B = pos2:lerp(pos3, t) | |
540 | local C = pos3:lerp(endpos, t) | |
541 | local lerp1 = A:lerp(B, t) | |
542 | local lerp2 = B:lerp(C, t) | |
543 | local cubic = lerp1:lerp(lerp2, t) | |
544 | return cubic | |
545 | end | |
546 | ||
547 | function Effect(data) | |
548 | local FX = data.Effect or 'ResizeAndFade' | |
549 | local Parent = data.Parent or Effects | |
550 | local Color = data.Color or C3.N(0,0,0) | |
551 | local Size = data.Size or V3.N(1,1,1) | |
552 | local MoveDir = data.MoveDirection or nil | |
553 | local MeshData = data.Mesh or nil | |
554 | local SndData = data.Sound or nil | |
555 | local Frames = data.Frames or 45 | |
556 | local Manual = data.Manual or nil | |
557 | local Material = data.Material or nil | |
558 | local CFra = data.CFrame or Torso.CFrame | |
559 | local Settings = data.FXSettings or {} | |
560 | local Snd,Prt,Msh; | |
561 | local Shape = data.Shape or Enum.PartType.Block | |
562 | coroutine.resume(coroutine.create(function() | |
563 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
564 | Prt = Manual | |
565 | else | |
566 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
567 | Prt.Shape = Shape | |
568 | end | |
569 | if(typeof(MeshData) == 'table')then | |
570 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
571 | elseif(typeof(MeshData) == 'Instance')then | |
572 | Msh = MeshData:Clone() | |
573 | Msh.Parent = Prt | |
574 | elseif(Shape == Enum.PartType.Block)then | |
575 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
576 | end | |
577 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
578 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
579 | end | |
580 | if(Snd)then | |
581 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
582 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
583 | end | |
584 | local MoveSpeed = nil; | |
585 | if(MoveDir)then | |
586 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
587 | end | |
588 | local Inc = M.RNG()-M.RNG() | |
589 | local Thingie = 0 | |
590 | local Thingie2 = M.RNG(50,100)/100 | |
591 | if(FX ~= 'Arc')then | |
592 | for i = 1, Frames do | |
593 | if(swait and typeof(swait) == 'function')then | |
594 | swait() | |
595 | else | |
596 | wait() | |
597 | end | |
598 | if(FX == 'ResizeAndFade')then | |
599 | if(not Settings.EndSize)then | |
600 | Settings.EndSize = V3.N(0,0,0) | |
601 | end | |
602 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
603 | if(Settings.EndIsIncrement)then | |
604 | Prt.Size = Prt.Size + Settings.EndSize | |
605 | else | |
606 | Prt.Size = Prt.Size - grow/Frames | |
607 | end | |
608 | Prt.Transparency = (i/Frames) | |
609 | elseif(FX == 'Fade')then | |
610 | Prt.Transparency = (i/Frames) | |
611 | end | |
612 | ||
613 | if(Settings.RandomizeCFrame)then | |
614 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
615 | end | |
616 | if(MoveDir and MoveSpeed)then | |
617 | local Orientation = Prt.Orientation | |
618 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
619 | Prt.Orientation = Orientation | |
620 | end | |
621 | end | |
622 | Prt:destroy() | |
623 | else | |
624 | - | c:destroy() |
624 | + | |
625 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
626 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
627 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
628 | assert(start ~= nil,"You need to specify a start point!") | |
629 | assert(endP ~= nil,"You need to specify an end point!") | |
630 | for i = 0, 1, Settings.Speed or 0.01 do | |
631 | if(swait and typeof(swait) == 'function')then | |
632 | swait() | |
633 | else | |
634 | wait() | |
635 | end | |
636 | if(Settings.Home)then | |
637 | endP = Settings.Home.CFrame | |
638 | end | |
639 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
640 | end | |
641 | if(Settings.RemoveOnGoal)then | |
642 | Prt:destroy() | |
643 | end | |
644 | end | |
645 | end)) | |
646 | return Prt,Msh,Snd | |
647 | end | |
648 | ||
649 | ||
650 | function SoulSteal(whom) | |
651 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
652 | print(torso) | |
653 | if(torso and torso:IsA'BasePart')then | |
654 | local Model = Instance.new("Model",Effects) | |
655 | Model.Name = whom.Name.."'s Soul" | |
656 | whom:BreakJoints() | |
657 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
658 | Soul.Name = 'Head' | |
659 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
660 | Effect{ | |
661 | Effect="Arc", | |
662 | Manual = Soul, | |
663 | FXSettings={ | |
664 | Start=torso.CFrame, | |
665 | Home = Torso, | |
666 | RemoveOnGoal = true, | |
667 | } | |
668 | } | |
669 | local lastPoint = Soul.CFrame.p | |
670 | ||
671 | for i = 0, 1, 0.01 do | |
672 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
673 | local mag = (lastPoint - Soul.Position).magnitude | |
674 | Effect{ | |
675 | Effect = "Fade", | |
676 | CFrame = point * CF.N(0, mag/2, 0), | |
677 | Size = V3.N(.5,mag+.5,.5), | |
678 | Color = Soul.BrickColor | |
679 | } | |
680 | lastPoint = Soul.CFrame.p | |
681 | swait() | |
682 | end | |
683 | for i = 1, 15 do | |
684 | Effect{ | |
685 | Effect="Fade", | |
686 | Color = BrickColor.new'Really red', | |
687 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
688 | } | |
689 | end | |
690 | end | |
691 | end | |
692 | ||
693 | --// Other Functions \\ -- | |
694 | ||
695 | function Turn(position) | |
696 | Root.CFrame=CFrame.new(Root.CFrame.p,V3.N(position.X,Root.Position.Y,position.Z)) | |
697 | end | |
698 | ||
699 | function Shoot(startP,endP) | |
700 | local part,pos,norm,dist = CastRay(startP,endP,1500) | |
701 | if(part and part.Parent and part.Parent ~= workspace)then | |
702 | local part = part | |
703 | local who = part.Parent; | |
704 | OnceWas(who) | |
705 | local plr = S.Players:GetPlayerFromCharacter(who) | |
706 | warn("Banished "..who.Name) | |
707 | if(plr)then | |
708 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
709 | c.Parent = nil | |
710 | end) | |
711 | end | |
712 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
713 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0)) | |
714 | end | |
715 | end | |
716 | Effect{ | |
717 | Effect='ResizeAndFade', | |
718 | Frames=45, | |
719 | Size=V3.N(.1,.1,.1), | |
720 | CFrame=Barrel.CFrame, | |
721 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
722 | Color=BrickColor.new'Really red', | |
723 | FXSettings={ | |
724 | EndSize=V3.N(.05,.05,.05), | |
725 | EndIsIncrement=true, | |
726 | } | |
727 | } | |
728 | Effect{ | |
729 | Effect='ResizeAndFade', | |
730 | Frames=45, | |
731 | Size=V3.N(.1,.1,.1), | |
732 | CFrame=Barrel.CFrame, | |
733 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
734 | Color=BrickColor.new'Really red', | |
735 | FXSettings={ | |
736 | EndSize=V3.N(.1,.1,.1), | |
737 | EndIsIncrement=true, | |
738 | } | |
739 | } | |
740 | Effect{ | |
741 | Effect='Fade', | |
742 | Frames=15, | |
743 | Size=V3.N(.15,.15,dist), | |
744 | CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2), | |
745 | Color=BrickColor.new'Really red', | |
746 | } | |
747 | Effect{ | |
748 | Effect='ResizeAndFade', | |
749 | Frames=45, | |
750 | Size=V3.N(.5,.5,.5), | |
751 | CFrame=CF.N(pos), | |
752 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
753 | Color=BrickColor.new'Really red', | |
754 | FXSettings={ | |
755 | EndSize=V3.N(.05,.05,.05), | |
756 | EndIsIncrement=true, | |
757 | } | |
758 | } | |
759 | for i = 1, 5 do | |
760 | Effect{ | |
761 | Effect='ResizeAndFade', | |
762 | Frames=65, | |
763 | Size=V3.N(.2,.2,1), | |
764 | CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos), | |
765 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
766 | Material=Enum.Material.Neon, | |
767 | Color=BrickColor.new'Really red', | |
768 | FXSettings={ | |
769 | EndSize=V3.N(.005,.005,.05), | |
770 | EndIsIncrement=true, | |
771 | } | |
772 | } | |
773 | end | |
774 | end | |
775 | ||
776 | function Chat(text) | |
777 | if(ChatSounds[text])then | |
778 | Sound(Head,ChatSounds[text],1,3,false,true,true) | |
779 | end | |
780 | --if(game.PlaceId ~= 843468296)then | |
781 | coroutine.wrap(function() | |
782 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
783 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
784 | local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
785 | local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true) | |
786 | for i = 1, #text do | |
787 | delay(i/25, function() | |
788 | SND.Pitch = M.RNG(9,11)/10 | |
789 | SND.Volume = 3 | |
790 | SND.Parent = Effects | |
791 | SND:Play() | |
792 | Txt.Text = text:sub(1,i) | |
793 | end) | |
794 | end | |
795 | delay((#text/25)+2, function() | |
796 | Txt.Text = "" | |
797 | for i = 1, #text do | |
798 | Txt.Text = Txt.Text.. string.char(M.RNG(0,126)) | |
799 | end | |
800 | end) | |
801 | delay((#text/25)+3, function() | |
802 | BBG:destroy() | |
803 | SND:destroy() | |
804 | end) | |
805 | end)() | |
806 | --else | |
807 | -- Chat2(text) | |
808 | --end | |
809 | end | |
810 | ||
811 | function Chat2(text) | |
812 | coroutine.wrap(function() | |
813 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
814 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
815 | local offset = 0; | |
816 | local xsize = 0; | |
817 | for i = 1, #text do | |
818 | offset = offset - 16 | |
819 | xsize = xsize + 32 | |
820 | delay(i/25, function() | |
821 | local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
822 | offset = offset + 32 | |
823 | while Txt and Txt.Parent do | |
824 | Txt.Rotation = M.RNG(-15,15) | |
825 | swait() | |
826 | end | |
827 | end) | |
828 | end | |
829 | BBG.Size = UDim2.new(0,xsize,0,40) | |
830 | delay((#text/25)+3, function() | |
831 | for _,v in next, BBG:children() do | |
832 | pcall(function() v.Text = string.char(M.RNG(0,126)) end) | |
833 | end | |
834 | end) | |
835 | delay((#text/25)+4, function() | |
836 | BBG:destroy() | |
837 | end) | |
838 | end)() | |
839 | end | |
840 | ||
841 | function getRegion(point,range,ignore) | |
842 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
843 | end | |
844 | ||
845 | function clerp(startCF,endCF,alpha) | |
846 | return startCF:lerp(endCF, alpha) | |
847 | end | |
848 | ||
849 | function GetTorso(char) | |
850 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
851 | end | |
852 | ||
853 | ||
854 | ||
855 | function ShowDamage(Pos, Text, Time, Color) | |
856 | coroutine.wrap(function() | |
857 | local Rate = (1 / 30) | |
858 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
859 | local Text = (Text or "") | |
860 | local Time = (Time or 2) | |
861 | local Color = (Color or Color3.new(1, 0, 1)) | |
862 | local EffectPart = NewInstance("Part",Effects,{ | |
863 | Material=Enum.Material.SmoothPlastic, | |
864 | Reflectance = 0, | |
865 | Transparency = 1, | |
866 | CanCollide=false, | |
867 | BrickColor = BrickColor.new(Color), | |
868 | Name = "Effect", | |
869 | Size = Vector3.new(0,0,0), | |
870 | Anchored = true, | |
871 | CFrame = CFrame.new(Pos) | |
872 | }) | |
873 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
874 | Size = UDim2.new(3.75, 0, 3.75, 0), | |
875 | Adornee = EffectPart, | |
876 | }) | |
877 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
878 | BackgroundTransparency = 1, | |
879 | Size = UDim2.new(1, 0, 1, 0), | |
880 | Text = Text, | |
881 | Font = "Arial", | |
882 | TextColor3 = Color, | |
883 | TextStrokeColor3 = Color3.new(0,0,0), | |
884 | TextStrokeTransparency=0, | |
885 | TextScaled = true, | |
886 | }) | |
887 | game.Debris:AddItem(EffectPart, (Time)) | |
888 | EffectPart.Parent = game:GetService("Workspace") | |
889 | delay(0, function() | |
890 | local Frames = (Time / Rate) | |
891 | for Frame = 1, Frames do | |
892 | wait(Rate) | |
893 | local Percent = (Frame / Frames) | |
894 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
895 | TextLabel.TextTransparency = Percent | |
896 | TextLabel.TextStrokeTransparency = Percent | |
897 | end | |
898 | if EffectPart and EffectPart.Parent then | |
899 | EffectPart:Destroy() | |
900 | end | |
901 | end) end)() | |
902 | end | |
903 | ||
904 | ||
905 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
906 | if(who)then | |
907 | local hum = who:FindFirstChildOfClass'Humanoid' | |
908 | local Damage = M.RNG(minDam,maxDam) | |
909 | local canHit = true | |
910 | if(hum)then | |
911 | for _, p in pairs(Hit) do | |
912 | if p[1] == hum then | |
913 | if(time() - p[2] < 0.1) then | |
914 | canHit = false | |
915 | else | |
916 | Hit[_] = nil | |
917 | end | |
918 | end | |
919 | end | |
920 | if(canHit)then | |
921 | if(hum.Health >= math.huge)then | |
922 | who:BreakJoints() | |
923 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
924 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0)) | |
925 | end | |
926 | else | |
927 | local player = S.Players:GetPlayerFromCharacter(who) | |
928 | if(Type == "Fire")then | |
929 | --idk.. | |
930 | else | |
931 | local c = Instance.new("ObjectValue",hum) | |
932 | c.Name = "creator" | |
933 | c.Value = Plr | |
934 | game:service'Debris':AddItem(c,0.35) | |
935 | if(M.RNG(1,100) <= (critChance or 0))then | |
936 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
937 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color) | |
938 | end | |
939 | hum.Health = hum.Health - Damage*(critMult or 2) | |
940 | else | |
941 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
942 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color) | |
943 | end | |
944 | hum.Health = hum.Health - Damage | |
945 | end | |
946 | if(Type == 'Knockback' and GetTorso(who))then | |
947 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
948 | local body = NewInstance('BodyVelocity',GetTorso(who),{ | |
949 | P = 500, | |
950 | maxForce = V3.N(math.huge,0,math.huge), | |
951 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
952 | }) | |
953 | game:service'Debris':AddItem(body,.5) | |
954 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
955 | local rek = GetTorso(who) | |
956 | print(rek) | |
957 | hum.PlatformStand = true | |
958 | delay(1,function() | |
959 | hum.PlatformStand = false | |
960 | end) | |
961 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
962 | local bodvol = NewInstance("BodyVelocity",rek,{ | |
963 | velocity = angle * Knock, | |
964 | P = 5000, | |
965 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
966 | }) | |
967 | local rl = NewInstance("BodyAngularVelocity",rek,{ | |
968 | P = 3000, | |
969 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
970 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
971 | }) | |
972 | game:GetService("Debris"):AddItem(bodvol, .5) | |
973 | game:GetService("Debris"):AddItem(rl, .5) | |
974 | end | |
975 | end | |
976 | end | |
977 | end | |
978 | table.insert(Hit,{hum,time()}) | |
979 | end | |
980 | end | |
981 | end | |
982 | ||
983 | function ClosestPart(pos,range) | |
984 | local mag,closest = math.huge; | |
985 | for _,v in next, getRegion(pos,range or 10,{Char}) do | |
986 | if((v.CFrame.p-pos).magnitude < mag)then | |
987 | mag = (v.CFrame.p-pos).magnitude | |
988 | closest = v | |
989 | end | |
990 | end | |
991 | return closest | |
992 | end | |
993 | ||
994 | function AOEBanish(pos,range) | |
995 | local mag,closest = math.huge; | |
996 | for _,v in next, getRegion(pos,range or 10,{Char}) do | |
997 | local who = v.Parent | |
998 | if((v.CFrame.p-pos).magnitude < mag and who and who ~= workspace and not Char:IsAncestorOf(v))then | |
999 | local plr = S.Players:GetPlayerFromCharacter(who) | |
1000 | if(plr)then | |
1001 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
1002 | c:destroy() | |
1003 | end) | |
1004 | end | |
1005 | warn("Banished "..who.Name) | |
1006 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
1007 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0)) | |
1008 | end | |
1009 | OnceWas(who) | |
1010 | end | |
1011 | end | |
1012 | end | |
1013 | ||
1014 | function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult) | |
1015 | for _,v in next, getRegion(where,range,{Char}) do | |
1016 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1017 | DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult) | |
1018 | end | |
1019 | end | |
1020 | end | |
1021 | ||
1022 | function AOEHeal(where,range,amount) | |
1023 | local healed = {} | |
1024 | for _,v in next, getRegion(where,range,{Char}) do | |
1025 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1026 | if(hum and not healed[hum])then | |
1027 | hum.Health = hum.Health + amount | |
1028 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1029 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color) | |
1030 | end | |
1031 | end | |
1032 | end | |
1033 | end | |
1034 | ||
1035 | function CastRay(startPos,endPos,range,ignoreList) | |
1036 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1037 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1038 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1039 | end | |
1040 | ||
1041 | --// Attack Functions \\-- | |
1042 | ||
1043 | ||
1044 | function Show_Mercy() | |
1045 | Chat "I will show you mercy." | |
1046 | ShowDamage((Head.CFrame * CF.N(0, 0, (Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "DEBANISHED", 1.5, C3.N(.7,0,0)) | |
1047 | ||
1048 | for p,v in next, BanishedEvents do | |
1049 | warn("Unbanished "..p.Name) | |
1050 | v:disconnect() | |
1051 | BanishedEvents[p] = nil | |
1052 | end | |
1053 | end | |
1054 | ||
1055 | function Banishing_Storm() | |
1056 | Attack = true | |
1057 | NeutralAnims = false | |
1058 | Hum.AutoRotate = false | |
1059 | for i = 0, 2.3, .1 do | |
1060 | swait() | |
1061 | Turn(Mouse.Hit.p) | |
1062 | local Alpha = .15 | |
1063 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1064 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1065 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1066 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1067 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1068 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1069 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1070 | end | |
1071 | local numberFall = 0; | |
1072 | repeat | |
1073 | for i = 0, .8, 0.1 do | |
1074 | swait() | |
1075 | Turn(Mouse.Hit.p) | |
1076 | local Alpha = .3 | |
1077 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1078 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1079 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1080 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1081 | RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha) | |
1082 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1083 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha) | |
1084 | end | |
1085 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1086 | local part,pos,dist = Shoot(Barrel.CFrame.p,Barrel.CFrame*CF.N(0,-1500,0).p) | |
1087 | if(not part)then | |
1088 | numberFall = numberFall + 1 | |
1089 | end | |
1090 | Effect{ | |
1091 | Effect='ResizeAndFade', | |
1092 | Frames=45, | |
1093 | Size=V3.N(.1,.1,.1), | |
1094 | CFrame=Barrel.CFrame, | |
1095 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1096 | Color=BrickColor.new'Really red', | |
1097 | FXSettings={ | |
1098 | EndSize=V3.N(.05,.05,.05), | |
1099 | EndIsIncrement=true, | |
1100 | } | |
1101 | } | |
1102 | Effect{ | |
1103 | Effect='ResizeAndFade', | |
1104 | Frames=45, | |
1105 | Size=V3.N(.1,.1,.1), | |
1106 | CFrame=Barrel.CFrame, | |
1107 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1108 | Color=BrickColor.new'Really red', | |
1109 | FXSettings={ | |
1110 | EndSize=V3.N(.1,.1,.1), | |
1111 | EndIsIncrement=true, | |
1112 | } | |
1113 | } | |
1114 | for i = 0, .7, 0.1 do | |
1115 | swait() | |
1116 | Turn(Mouse.Hit.p) | |
1117 | local Alpha = .3 | |
1118 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1119 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1120 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1121 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1122 | RS.C0 = clerp(RS.C0,CFrame.new(1.47678053, 0.526562393, 0.174270749, 0.947701395, 0.126782924, 0.292896599, 0.194988653, -0.956529498, -0.216866404, 0.252669275, 0.262636065, -0.931225359),Alpha) | |
1123 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1124 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110761039, -0.749590993, -0.415038049, 5.96046448e-07, -4.7236681e-06, 1.00000012, -0.500009775, 0.866019845, 4.39817086e-06, -0.866019845, -0.500009775, -1.90734863e-06),Alpha) | |
1125 | end | |
1126 | until not S.UserInputService:IsKeyDown(Enum.KeyCode.Z) | |
1127 | delay(2, function() | |
1128 | for i = 1, numberFall*2 do | |
1129 | local part,pos,dist = ClosestPart(Mouse.Hit.p,2),Mouse.Hit.p+V3.N(M.RNG(-100,100)/100,0,M.RNG(-100,100)/100),1500 | |
1130 | Effect{ | |
1131 | Effect='Fade', | |
1132 | Frames=15, | |
1133 | Size=V3.N(.15,dist,.15), | |
1134 | CFrame=CF.N(pos)*CF.N(0,dist/2,0), | |
1135 | Color=BrickColor.new'Really red', | |
1136 | } | |
1137 | Effect{ | |
1138 | Effect='ResizeAndFade', | |
1139 | Frames=45, | |
1140 | Size=V3.N(.5,.5,.5), | |
1141 | CFrame=CF.N(pos), | |
1142 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1143 | Color=BrickColor.new'Really red', | |
1144 | FXSettings={ | |
1145 | EndSize=V3.N(.05,.05,.05), | |
1146 | EndIsIncrement=true, | |
1147 | } | |
1148 | } | |
1149 | for i = 1, 5 do | |
1150 | Effect{ | |
1151 | Effect='ResizeAndFade', | |
1152 | Frames=65, | |
1153 | Size=V3.N(.2,.2,1), | |
1154 | CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos), | |
1155 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1156 | Material=Enum.Material.Neon, | |
1157 | Color=BrickColor.new'Really red', | |
1158 | FXSettings={ | |
1159 | EndSize=V3.N(.005,.005,.05), | |
1160 | EndIsIncrement=true, | |
1161 | } | |
1162 | } | |
1163 | end | |
1164 | if(part and part.Parent and part.Parent ~= workspace)then | |
1165 | local part = part | |
1166 | local who = part.Parent | |
1167 | OnceWas(who) | |
1168 | local plr = S.Players:GetPlayerFromCharacter(who) | |
1169 | if(plr)then | |
1170 | BanishedEvents[plr] = plr.CharacterAdded:connect(function(c) | |
1171 | c:destroy() | |
1172 | end) | |
1173 | end | |
1174 | if(who:FindFirstChild'Head' and Hum.Health > 0)then | |
1175 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0)) | |
1176 | end | |
1177 | end | |
1178 | swait(5) | |
1179 | end | |
1180 | end) | |
1181 | Hum.AutoRotate = true | |
1182 | Attack = false | |
1183 | NeutralAnims = true | |
1184 | end | |
1185 | ||
1186 | function Spectral_Banish() | |
1187 | Attack = true | |
1188 | Chat "If you desire to be a ghost.." | |
1189 | swait(120) | |
1190 | Chat "Then move on to the afterlife!" | |
1191 | NeutralAnims = false | |
1192 | Hum.AutoRotate = false | |
1193 | for i = 0, 6, .1 do | |
1194 | swait() | |
1195 | Turn(Mouse.Hit.p) | |
1196 | local Alpha = .15 | |
1197 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1198 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1199 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1200 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1201 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1202 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1203 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1204 | end | |
1205 | for i = 0, .8, 0.1 do | |
1206 | swait() | |
1207 | Turn(Mouse.Hit.p) | |
1208 | local Alpha = .3 | |
1209 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1210 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1211 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1212 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1213 | RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha) | |
1214 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1215 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha) | |
1216 | end | |
1217 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1218 | Effect{ | |
1219 | Effect='ResizeAndFade', | |
1220 | Frames=45, | |
1221 | Size=V3.N(.1,.1,.1), | |
1222 | CFrame=Barrel.CFrame, | |
1223 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1224 | Color=BrickColor.new'Really red', | |
1225 | FXSettings={ | |
1226 | EndSize=V3.N(.05,.05,.05), | |
1227 | EndIsIncrement=true, | |
1228 | } | |
1229 | } | |
1230 | Effect{ | |
1231 | Effect='ResizeAndFade', | |
1232 | Frames=45, | |
1233 | Size=V3.N(.1,.1,.1), | |
1234 | CFrame=Barrel.CFrame, | |
1235 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1236 | Color=BrickColor.new'Really red', | |
1237 | FXSettings={ | |
1238 | EndSize=V3.N(.1,.1,.1), | |
1239 | EndIsIncrement=true, | |
1240 | } | |
1241 | } | |
1242 | for i = 1, 5 do | |
1243 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1244 | local cf = Barrel.CFrame | |
1245 | Effect{ | |
1246 | Effect='ResizeAndFade', | |
1247 | Frames=65, | |
1248 | Size=V3.N(.2,.2,1), | |
1249 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p), | |
1250 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1251 | Material=Enum.Material.Neon, | |
1252 | Color=BrickColor.new'Really red', | |
1253 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p, | |
1254 | FXSettings={ | |
1255 | EndSize=V3.N(.005,.005,.05), | |
1256 | EndIsIncrement=true, | |
1257 | } | |
1258 | } | |
1259 | end | |
1260 | Effect{ | |
1261 | Effect='Fade', | |
1262 | Frames=35, | |
1263 | Size=V3.N(.15,2048,.15), | |
1264 | CFrame=CF.N(Barrel.CFrame.p)*CF.N(0,2048/2,0), | |
1265 | Color=BrickColor.new'Really red', | |
1266 | } | |
1267 | for i = 0, .8, .1 do | |
1268 | swait() | |
1269 | Turn(Mouse.Hit.p) | |
1270 | local Alpha = .15 | |
1271 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha) | |
1272 | LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1273 | RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha) | |
1274 | LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha) | |
1275 | RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha) | |
1276 | NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha) | |
1277 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha) | |
1278 | end | |
1279 | for _,v in next, S.Players:players() do | |
1280 | if(v.Character and v.Character:FindFirstChild'Head' and not v.Character.Parent)then | |
1281 | pcall(function() | |
1282 | v.Character.Parent = workspace | |
1283 | local tor = v.Character:FindFirstChild'Head' | |
1284 | Effect{ | |
1285 | Effect='Fade', | |
1286 | Frames=15, | |
1287 | Size=V3.N(.15,2048,.15), | |
1288 | CFrame=CF.N(tor.CFrame.p)*CF.N(0,2048/2,0), | |
1289 | Color=BrickColor.new'Really red', | |
1290 | } | |
1291 | Effect{ | |
1292 | Effect='ResizeAndFade', | |
1293 | Frames=45, | |
1294 | Size=V3.N(.5,.5,.5), | |
1295 | CFrame=CF.N(tor.CFrame.p), | |
1296 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1297 | Color=BrickColor.new'Really red', | |
1298 | FXSettings={ | |
1299 | EndSize=V3.N(.05,.05,.05), | |
1300 | EndIsIncrement=true, | |
1301 | } | |
1302 | } | |
1303 | for i = 1, 5 do | |
1304 | Effect{ | |
1305 | Effect='ResizeAndFade', | |
1306 | Frames=65, | |
1307 | Size=V3.N(.2,.2,1), | |
1308 | CFrame=CF.N(CF.N(tor.CFrame.p)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,tor.CFrame.p), | |
1309 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1310 | Material=Enum.Material.Neon, | |
1311 | Color=BrickColor.new'Really red', | |
1312 | FXSettings={ | |
1313 | EndSize=V3.N(.005,.005,.05), | |
1314 | EndIsIncrement=true, | |
1315 | } | |
1316 | } | |
1317 | end | |
1318 | local asd = v.Character; | |
1319 | OnceWas(asd) | |
1320 | v.Character:destroy() | |
1321 | BanishedEvents[v] = v.CharacterAdded:connect(function(c) | |
1322 | c:destroy() | |
1323 | end) | |
1324 | end) | |
1325 | end | |
1326 | end | |
1327 | Hum.AutoRotate = true | |
1328 | Attack = false | |
1329 | NeutralAnims = true | |
1330 | end | |
1331 | ||
1332 | function Teleport() | |
1333 | Attack = true | |
1334 | NeutralAnims = false | |
1335 | Hum.AutoRotate = false | |
1336 | repeat | |
1337 | Turn(Mouse.Hit.p) | |
1338 | swait() | |
1339 | local Alpha = .1 | |
1340 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1341 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1342 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1343 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1344 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1345 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1346 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1347 | until not S.UserInputService:IsKeyDown(Enum.KeyCode.C) | |
1348 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1349 | local pos,dist = Mouse.Hit.p,(Barrel.CFrame.p-Mouse.Hit.p).magnitude | |
1350 | Effect{ | |
1351 | Effect='ResizeAndFade', | |
1352 | Frames=45, | |
1353 | Size=V3.N(.1,.1,.1), | |
1354 | CFrame=Barrel.CFrame, | |
1355 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1356 | Color=BrickColor.new'Really red', | |
1357 | FXSettings={ | |
1358 | EndSize=V3.N(.05,.05,.05), | |
1359 | EndIsIncrement=true, | |
1360 | } | |
1361 | } | |
1362 | Effect{ | |
1363 | Effect='ResizeAndFade', | |
1364 | Frames=45, | |
1365 | Size=V3.N(.1,.1,.1), | |
1366 | CFrame=Barrel.CFrame, | |
1367 | Mesh ={MeshType=Enum.MeshType.Sphere}, | |
1368 | Color=BrickColor.new'Really red', | |
1369 | FXSettings={ | |
1370 | EndSize=V3.N(.1,.1,.1), | |
1371 | EndIsIncrement=true, | |
1372 | } | |
1373 | } | |
1374 | ||
1375 | Effect{ | |
1376 | Effect='Fade', | |
1377 | Frames=15, | |
1378 | Size=V3.N(.15,.15,dist), | |
1379 | CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2), | |
1380 | Color=BrickColor.new'Really red', | |
1381 | } | |
1382 | for i = 0, .3, .05 do | |
1383 | swait() | |
1384 | local Alpha = .3 | |
1385 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1386 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1387 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1388 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1389 | RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha) | |
1390 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1391 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha) | |
1392 | end | |
1393 | OnceWas(Char,true) | |
1394 | Torso.CFrame = CF.N(pos)*CF.N(0,3,0) | |
1395 | for i = 1, 15 do | |
1396 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1397 | local cf = Torso.CFrame | |
1398 | Effect{ | |
1399 | Effect='ResizeAndFade', | |
1400 | Frames=65, | |
1401 | Size=V3.N(2,2,10), | |
1402 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p), | |
1403 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1404 | Material=Enum.Material.Neon, | |
1405 | Color=BrickColor.new'Really red', | |
1406 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p, | |
1407 | FXSettings={ | |
1408 | EndSize=V3.N(.005,.005,.05), | |
1409 | EndIsIncrement=true, | |
1410 | } | |
1411 | } | |
1412 | end | |
1413 | OnceWas(Char,true) | |
1414 | for i = 0, .4, .05 do | |
1415 | swait() | |
1416 | local Alpha = .3 | |
1417 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1418 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1419 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1420 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1421 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1422 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1423 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1424 | end | |
1425 | Attack = false | |
1426 | NeutralAnims = true | |
1427 | Hum.AutoRotate = true | |
1428 | end | |
1429 | ||
1430 | function BGone() | |
1431 | Attack = true | |
1432 | NeutralAnims = false | |
1433 | Hum.AutoRotate = false | |
1434 | Chat "Be gone.." | |
1435 | --repeat | |
1436 | for i = 0, 9, .1 do | |
1437 | Turn(Mouse.Hit.p) | |
1438 | swait() | |
1439 | Hum.WalkSpeed = 0 | |
1440 | local Alpha = .1 | |
1441 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0296121463, -0.249109969, -0.153551444, -0.000328990631, -0.0094739655, -0.999952853, 0.204196915, 0.978885293, -0.0093415454, 0.978927732, -0.204190359, 0.0016125096),Alpha) | |
1442 | LH.C0 = clerp(LH.C0,CFrame.new(-0.475788742, -0.651965797, 0.0191618577, 0.978805363, 0.204197079, 0.0156120053, -0.204313993, 0.978885233, 0.00628500246, -0.0139989806, -0.0093415454, 0.999858379),Alpha) | |
1443 | RH.C0 = clerp(RH.C0,CFrame.new(0.498535633, -0.912865818, 0.0149653442, 0.999878168, 5.14090061e-06, 0.0156120053, -0.000103279948, 0.999980271, 0.00628500246, -0.0156116625, -0.00628584996, 0.999858379),Alpha) | |
1444 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29815638, 0.566930115, -0.00661327224, -0.237626657, 0.971231222, 0.0156120053, -0.971307039, -0.237746239, 0.00628500246, 0.00981588662, -0.0136705656, 0.999858379),Alpha) | |
1445 | RS.C0 = clerp(RS.C0,CFrame.new(1.24513125, 0.449408412, -0.155189604, 0.502771139, -0.519900203, -0.690597773, 0.303394169, 0.854222655, -0.422203362, 0.809427798, 0.00274830475, 0.587213099),Alpha) | |
1446 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0153051838, 1.498806, -0.0364812165, 1.34855509e-06, 0.0477146953, 0.998861074, -0.00628432725, 0.998841345, -0.0477137454, -0.999980271, -0.00627710624, 0.000301202759),Alpha) | |
1447 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110760681, -0.749610901, -0.415069938, -1.63912773e-06, 9.19401646e-06, 1.00000024, -0.500005245, 0.866022348, -8.86109865e-06, -0.866022408, -0.500005245, 3.1888485e-06),Alpha) | |
1448 | end | |
1449 | --until not S.UserInputService:IsKeyDown(Enum.KeyCode.V) | |
1450 | ||
1451 | for i = 0, .7, 0.1 do | |
1452 | swait() | |
1453 | Hum.WalkSpeed = 0 | |
1454 | local Alpha = .3 | |
1455 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00766070001, -0.269241363, -0.0518192649, 0.00021806825, 0.00368537591, 0.99999094, -0.166544884, 0.9860273, -0.00359759619, -0.986031651, -0.166542619, 0.000828802586),Alpha) | |
1456 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497863114, -0.984335184, 0.0215952508, 0.987798393, 0.154953942, 0.0156120034, -0.155066714, 0.987884164, 0.00628500665, -0.0144489631, -0.00862922147, 0.999858379),Alpha) | |
1457 | RH.C0 = clerp(RH.C0,CFrame.new(0.462316692, -0.882526457, 0.015341443, 0.985910237, -0.166545048, 0.0156120034, 0.166465312, 0.9860273, 0.00628500665, -0.0164405983, -0.00359759573, 0.999858379),Alpha) | |
1458 | LS.C0 = clerp(LS.C0,CFrame.new(-1.34305215, 0.64557004, 0.206238627, 0.819938838, 0.417069167, 0.392114401, -0.412350535, 0.905431569, -0.100800663, -0.397073597, -0.0790382028, 0.914377153),Alpha) | |
1459 | RS.C0 = clerp(RS.C0,CFrame.new(1.3656987, 0.557721138, -0.0314715505, 0.0156120034, -0.985910237, 0.166545048, 0.00628500665, -0.166465312, -0.9860273, 0.999858379, 0.0164405983, 0.00359759573),Alpha) | |
1460 | NK.C0 = clerp(NK.C0,CFrame.new(0.0260951146, 1.49902618, -0.00289419782, -1.0067597e-06, 0.0574942529, -0.998345912, 0.00628517801, 0.998326182, 0.0574931316, 0.999980211, -0.00627472438, -0.000362364575),Alpha) | |
1461 | HW.C0 = clerp(HW.C0,CFrame.new(-0.11075601, -0.749610424, -0.415073156, 0, 0, 1, -0.500000238, 0.866025388, 0, -0.866025388, -0.500000238, 0),Alpha) | |
1462 | end | |
1463 | ||
1464 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1465 | Sound(Barrel,415700134,1.6,10,false,true,true) | |
1466 | Sound(Barrel,138677306,1.2,7,false,true,true) | |
1467 | coroutine.wrap(function() | |
1468 | local cf = Root.CFrame * CF.N(0,0,-2) | |
1469 | for i = 1, 100 do | |
1470 | Effect{ | |
1471 | Effect='ResizeAndFade', | |
1472 | CFrame = cf*CF.A(M.R(90),0,M.R(90)), | |
1473 | Size=V3.N(2,5,5), | |
1474 | Material=Enum.Material.Neon, | |
1475 | Color=BrickColor.new'Crimson', | |
1476 | Shape='Cylinder', | |
1477 | FXSettings={ | |
1478 | EndSize=V3.N(0,.3,.3), | |
1479 | EndIsIncrement=true | |
1480 | } | |
1481 | } | |
1482 | for i = 1, 3 do | |
1483 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1484 | Effect{ | |
1485 | Effect='ResizeAndFade', | |
1486 | Frames=65, | |
1487 | Size=V3.N(1,1,1), | |
1488 | CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-10).p,cf.p), | |
1489 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1490 | Material=Enum.Material.Neon, | |
1491 | Color=BrickColor.new'Really red', | |
1492 | MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-50).p,cf.p).p, | |
1493 | FXSettings={ | |
1494 | EndSize=V3.N(0,0,.3), | |
1495 | EndIsIncrement=true, | |
1496 | } | |
1497 | } | |
1498 | end | |
1499 | AOEBanish(cf.p,8) | |
1500 | cf = cf*CF.N(0,0,-2) | |
1501 | swait() | |
1502 | end | |
1503 | end)() | |
1504 | swait(30) | |
1505 | Hum.WalkSpeed = 16 | |
1506 | Attack = false | |
1507 | NeutralAnims = true | |
1508 | Hum.AutoRotate = true | |
1509 | end | |
1510 | function Banisher_Bullet() | |
1511 | Attack = true | |
1512 | NeutralAnims = false | |
1513 | Hum.AutoRotate = false | |
1514 | for i = 0, .4, .1/3 do | |
1515 | Turn(Mouse.Hit.p) | |
1516 | swait() | |
1517 | local Alpha = .1 | |
1518 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1519 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1520 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1521 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1522 | RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha) | |
1523 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1524 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha) | |
1525 | end | |
1526 | repeat | |
1527 | for i = 0, .2, .1/3 do | |
1528 | Turn(Mouse.Hit.p) | |
1529 | swait() | |
1530 | local Alpha = .1 | |
1531 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1532 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1533 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1534 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1535 | RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha) | |
1536 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1537 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha) | |
1538 | end | |
1539 | Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true) | |
1540 | Shoot(Barrel.CFrame.p,Mouse.Hit.p) | |
1541 | for i = 0, .3, .1/3 do | |
1542 | swait() | |
1543 | local Alpha = .1 | |
1544 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha) | |
1545 | LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1546 | RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha) | |
1547 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha) | |
1548 | RS.C0 = clerp(RS.C0,CFrame.new(1.46904922, 0.532365739, -0.0222326554, 0.0156120034, -0.987360775, 0.157718793, 0.00628500059, -0.157637998, -0.987477064, 0.999858379, 0.0164077543, 0.00374451769),Alpha) | |
1549 | NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha) | |
1550 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749605894, -0.415075004, 0, 0, 1, -0.50000155, 0.866024613, 0, -0.866024613, -0.50000149, 0),Alpha) | |
1551 | end | |
1552 | until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) | |
1553 | Hum.AutoRotate = true | |
1554 | Attack = false | |
1555 | NeutralAnims = true | |
1556 | end | |
1557 | ||
1558 | function Taunt() | |
1559 | Attack = true | |
1560 | NeutralAnims = false | |
1561 | local taunt = 1 --M.RNG(1,3) | |
1562 | if(taunt == 1)then | |
1563 | ||
1564 | local rad = 0 | |
1565 | for i = 0, 6, 0.1 do | |
1566 | swait() | |
1567 | rad = rad + 35 | |
1568 | local Alpha = .3 | |
1569 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1570 | LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha) | |
1571 | RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha) | |
1572 | LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha) | |
1573 | RS.C0 = clerp(RS.C0,CFrame.new(1.41887283, 0.461011291, -0.0306870341, 0.0158389043, -0.994383454, -0.104623824, 0.00844715256, 0.104766518, -0.994461119, 0.999836862, 0.0148673952, 0.0100591201),Alpha) | |
1574 | NK.C0 = clerp(NK.C0,CFrame.new(8.88854265e-06, 1.49895382, -0.0144050419, 0.566473544, 0.0473791771, -0.82271415, 0.00518015958, 0.99812144, 0.0610474497, 0.824061036, -0.0388435796, 0.56516397),Alpha) | |
1575 | HW.C0 = clerp(HW.C0,CFrame.new(-0.11075747, -0.749606431, -0.415068656, -5.63569483e-06, -1.58343755e-06, 1.00000012, -0.500001132, 0.866024792, -1.44650403e-06, -0.866024852, -0.500001192, -5.67225288e-06)*CF.A(0,0,M.R(rad)),Alpha) | |
1576 | end | |
1577 | Chat (TauntDialogues[M.RNG(1,#TauntDialogues)]) | |
1578 | for i = 0, 6, 0.1 do | |
1579 | swait() | |
1580 | local Alpha = .3 | |
1581 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1582 | LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha) | |
1583 | RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha) | |
1584 | LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha) | |
1585 | RS.C0 = clerp(RS.C0,CFrame.new(1.30098641, 0.458334863, -0.45630464, 0.97372508, 0.226236522, 0.0259280894, 0.00073058781, 0.110756524, -0.99384743, -0.227716282, 0.967752993, 0.10768114),Alpha) | |
1586 | NK.C0 = clerp(NK.C0,CFrame.new(8.21147114e-06, 1.49895406, -0.0144038275, 0.99988234, -0.000873879122, 0.0151748769, -9.55477299e-05, 0.997964978, 0.0637657493, -0.015199719, -0.0637597144, 0.997847497),Alpha) | |
1587 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110763341, -0.749599576, -0.415068239, -6.5267086e-06, -2.71201134e-06, 1.00000012, -0.500001013, 0.866024971, -9.23871994e-07, -0.866024971, -0.500001013, -7.01099634e-06),Alpha) | |
1588 | end | |
1589 | end | |
1590 | Attack = false | |
1591 | NeutralAnims = true | |
1592 | end | |
1593 | ||
1594 | Mouse.KeyDown:connect(function(k) | |
1595 | if(Attack)then return end | |
1596 | if(k == 'x')then Show_Mercy() end | |
1597 | if(k == 'z')then Banishing_Storm() end | |
1598 | if(k == 'b')then Spectral_Banish() end | |
1599 | if(k == 'c')then Teleport() end | |
1600 | if(k == 'v')then BGone() end | |
1601 | if(k == 't')then Taunt() end | |
1602 | ||
1603 | end) | |
1604 | Mouse.Button1Down:connect(function() | |
1605 | if(Attack)then return end | |
1606 | Banisher_Bullet() | |
1607 | end) | |
1608 | --// Wrap it all up \\-- | |
1609 | ||
1610 | Plr.Chatted:connect(function(m) | |
1611 | local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(m,Plr) end) | |
1612 | if(not succ)then | |
1613 | text = string.rep("_",#text) | |
1614 | end | |
1615 | Chat(text) | |
1616 | end) | |
1617 | while true do | |
1618 | swait() | |
1619 | Sine = Sine + Change | |
1620 | --[[if(not Music or not Music.Parent)then | |
1621 | local a = Music.TimePosition | |
1622 | Music = Sound(Char,MusicID,1,1,true,false,true) | |
1623 | Music.Name = 'Music' | |
1624 | Music.TimePosition = a | |
1625 | end | |
1626 | Music.Volume = 1 | |
1627 | Music.Pitch = 1 | |
1628 | Music.Playing = true]] | |
1629 | Sine = Sine + Change | |
1630 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) | |
1631 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
1632 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
1633 | if(State == 'Walk')then | |
1634 | local wsVal = 32 / (Hum.WalkSpeed/14) | |
1635 | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) | |
1636 | Change = 2 | |
1637 | RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha) | |
1638 | LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha) | |
1639 | else | |
1640 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1) | |
1641 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1) | |
1642 | end | |
1643 | if(NeutralAnims)then | |
1644 | if(State == 'Idle')then | |
1645 | Change = .5 | |
1646 | local Alpha = .1 | |
1647 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.95311994e-13, 0.00629388914+.2*M.C(Sine/20), 1.41759301e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha) | |
1648 | LH.C0 = clerp(LH.C0,CFrame.new(-0.560905516, -0.984790266-.2*M.C(Sine/20), 0.0225828942, 0.997905374, 0.0627432317, 0.0156119671, -0.062847726, 0.998003423, 0.00628523249, -0.0151864393, -0.00725326827, 0.999856234),Alpha) | |
1649 | RH.C0 = clerp(RH.C0,CFrame.new(0.507978499, -0.98526901-.2*M.C(Sine/20), 0.0152739538, 0.995106399, -0.0975458771, 0.0156119671, 0.0974583924, 0.995219886, 0.00628523249, -0.016150441, -0.00473298226, 0.999856234),Alpha) | |
1650 | LS.C0 = clerp(LS.C0,CFrame.new(-0.997352481, 0.328557909+.1*M.C(Sine/20), 0.373372614, 0.726782799, -0.595508456, 0.342274755, 0.369578063, 0.759076476, 0.535924494, -0.578960299, -0.263003558, 0.771770597),Alpha) | |
1651 | RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589+.1*M.C(Sine/20), 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha) | |
1652 | NK.C0 = clerp(NK.C0,CFrame.new(4.35163702e-06, 1.4989562, -0.0144046843, 0.99999553, 3.67523171e-07, -1.62050128e-07, -3.56434612e-07, 0.997964919, 0.0637686774, 1.8440187e-07, -0.0637684539, 0.997960329)*CF.A(M.R(-6*-M.C(Sine/20)),0,0),Alpha) | |
1653 | HW.C0 = clerp(HW.C0,CFrame.new(-0.110785089, -0.749598742, -0.415072441, 2.87592411e-06, 1.69873238e-06, 1.00000012, -0.500000358, 0.866025329, 0, -0.866025269, -0.500000358, 3.33799494e-06),Alpha) | |
1654 | elseif(State == 'Walk')then | |
1655 | local wsVal = 32 / (Hum.WalkSpeed/14) | |
1656 | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) | |
1657 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha) | |
1658 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
1659 | LH.C0 = LH.C0:lerp(LHC0,Alpha) | |
1660 | RH.C0 = RH.C0:lerp(RHC0,Alpha) | |
1661 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha) | |
1662 | RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589, 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha) | |
1663 | elseif(State == 'Jump' or State == 'Fall')then | |
1664 | if(Walking)then | |
1665 | local Alpha = .1 | |
1666 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
1667 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) | |
1668 | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) | |
1669 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
1670 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
1671 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
1672 | else | |
1673 | local Alpha = .1 | |
1674 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
1675 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) | |
1676 | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) | |
1677 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
1678 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
1679 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
1680 | end | |
1681 | elseif(State == 'Paralyzed')then | |
1682 | -- paralyzed | |
1683 | elseif(State == 'Sit')then | |
1684 | -- sit | |
1685 | end | |
1686 | end | |
1687 | end |