SHOW:
|
|
- or go back to the newest paste.
1 | --meme smash!11!!! pls just stop | |
2 | ||
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | - | do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end if owner:IsFriendsWith(204448429) or owner.UserId == 204448429 then else print'bru' while wait() do error'stuP' end end |
5 | + | do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end if owner:IsFriendsWith(673462376) or owner.UserId == 673462376 then else print'bru' while wait() do error'stuP' end end |
6 | ||
7 | Player = owner | |
8 | Character = Player.Character | |
9 | PlayerGui = Player.PlayerGui | |
10 | Backpack = Player.Backpack | |
11 | Torso = Character.Torso | |
12 | Head = Character.Head | |
13 | Humanoid = Character.Humanoid | |
14 | LeftArm = Character["Left Arm"] | |
15 | LeftLeg = Character["Left Leg"] | |
16 | RightArm = Character["Right Arm"] | |
17 | RightLeg = Character["Right Leg"] | |
18 | LS = Torso["Left Shoulder"] | |
19 | LH = Torso["Left Hip"] | |
20 | RS = Torso["Right Shoulder"] | |
21 | RH = Torso["Right Hip"] | |
22 | Face = Head.face | |
23 | Neck = Torso.Neck | |
24 | it = Instance.new | |
25 | attacktype = 1 | |
26 | vt = Vector3.new | |
27 | cf = CFrame.new | |
28 | euler = CFrame.fromEulerAnglesXYZ | |
29 | angles = CFrame.Angles | |
30 | cloaked = false | |
31 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
32 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
33 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
34 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
35 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
36 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
37 | RootPart = Character.HumanoidRootPart | |
38 | RootJoint = RootPart.RootJoint | |
39 | RootCF = euler(-1.57, 0, 3.14) | |
40 | attack = false | |
41 | attackdebounce = false | |
42 | deb = false | |
43 | equipped = false | |
44 | hand = false | |
45 | MMouse = nil | |
46 | combo = 0 | |
47 | mana = 0 | |
48 | trispeed = 0.2 | |
49 | attackmode = "none" | |
50 | local idle = 0 | |
51 | local Anim = "Idle" | |
52 | local gun = false | |
53 | local shoot = false | |
54 | player = nil | |
55 | mana = 0 | |
56 | local Player = game.Players.localPlayer | |
57 | local Character = Player.Character | |
58 | local Humanoid = Character.Humanoid | |
59 | local mouse = Player:GetMouse() | |
60 | local LeftArm = Character["Left Arm"] | |
61 | local RightArm = Character["Right Arm"] | |
62 | local LeftLeg = Character["Left Leg"] | |
63 | local RightLeg = Character["Right Leg"] | |
64 | local Head = Character.Head | |
65 | local Torso = Character.Torso | |
66 | local cam = game.Workspace.CurrentCamera | |
67 | local RootPart = Character.HumanoidRootPart | |
68 | local equipped = false | |
69 | local attack = false | |
70 | local Anim = "Idle" | |
71 | local idle = 0 | |
72 | local sprint = false | |
73 | local battlestance = false | |
74 | local attacktype = 1 | |
75 | local state = "none" | |
76 | local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
77 | local velocity = RootPart.Velocity.y | |
78 | local sine = 0 | |
79 | local change = 1 | |
80 | local on = false | |
81 | local grabbed = false | |
82 | local skill1 = false | |
83 | local skill2 = false | |
84 | local skill3 = false | |
85 | local skill4 = false | |
86 | local cooldown1 = 0 | |
87 | local cooldown2 = 0 | |
88 | local cooldown3 = 0 | |
89 | local cooldown4 = 0 | |
90 | local co1 = 0 | |
91 | local co2 = 0 | |
92 | local co3 = 0 | |
93 | local co4 = 0 | |
94 | local inputserv = game:GetService("UserInputService") | |
95 | local typing = false | |
96 | local crit = false | |
97 | local critchance = 2 | |
98 | local critdamageaddmin = 3 | |
99 | local critdamageaddmax = 7 | |
100 | local maxstamina = 100 | |
101 | local stamina = 0 | |
102 | local skill1stam = 0 | |
103 | local skill2stam = 0 | |
104 | local skill3stam = 0 | |
105 | local skill4stam = 0 | |
106 | local recovermana = 3 | |
107 | local mindamage = 5 | |
108 | local maxdamage = 10 | |
109 | local cf = CFrame.new | |
110 | local mr = math.rad | |
111 | local angles = CFrame.Angles | |
112 | local ud = UDim2.new | |
113 | local c3 = Color3.new | |
114 | local skillcolorscheme = c3(1, 1, 1) | |
115 | local defensevalue = 1 | |
116 | local speedvalue = 1 | |
117 | local damagevalue = 1 | |
118 | local cf = CFrame.new | |
119 | local mr = math.rad | |
120 | local angles = CFrame.Angles | |
121 | local ud = UDim2.new | |
122 | local c3 = Color3.new | |
123 | local skillcolorscheme = c3(1, 1, 1) | |
124 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
125 | makeframe = function(par, trans, pos, size, color) | |
126 | local frame = Instance.new("Frame", par) | |
127 | frame.BackgroundTransparency = trans | |
128 | frame.BorderSizePixel = 0 | |
129 | frame.Position = pos | |
130 | frame.Size = size | |
131 | frame.BackgroundColor3 = color | |
132 | return frame | |
133 | end | |
134 | ||
135 | makelabel = function(par, text) | |
136 | local label = Instance.new("TextLabel", par) | |
137 | label.BackgroundTransparency = 1 | |
138 | label.Size = ud(1, 0, 1, 0) | |
139 | label.Position = ud(0, 0, 0, 0) | |
140 | label.TextColor3 = c3(255, 255, 255) | |
141 | label.TextStrokeTransparency = 0 | |
142 | label.FontSize = Enum.FontSize.Size32 | |
143 | label.Font = Enum.Font.SourceSansBold | |
144 | label.BorderSizePixel = 0 | |
145 | label.TextScaled = true | |
146 | label.Text = text | |
147 | end | |
148 | ||
149 | local stats = Instance.new("Folder", Character) | |
150 | stats.Name = "Stats" | |
151 | local block = Instance.new("BoolValue", stats) | |
152 | block.Name = "Block" | |
153 | block.Value = false | |
154 | local stun = Instance.new("BoolValue", stats) | |
155 | stun.Name = "Stun" | |
156 | stun.Value = false | |
157 | local defense = Instance.new("NumberValue", stats) | |
158 | defense.Name = "Defence" | |
159 | defense.Value = defensevalue | |
160 | local speed = Instance.new("NumberValue", stats) | |
161 | speed.Name = "Speed" | |
162 | speed.Value = speedvalue | |
163 | local damagea = Instance.new("NumberValue", stats) | |
164 | damagea.Name = "Damage" | |
165 | damagea.Value = damagevalue | |
166 | framesk1 = makeframe(scrn, 0.5, ud(0.13, 0, 0.56, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 0.5)) | |
167 | bar1 = makeframe(framesk1, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 0.5)) | |
168 | ammolabel = Instance.new("TextLabel", framesk1) | |
169 | ammolabel.BackgroundTransparency = 1 | |
170 | ammolabel.Size = ud(1, 0, 1, 0) | |
171 | ammolabel.Position = ud(0, 0, 0, 0) | |
172 | ammolabel.TextColor3 = c3(255, 255, 255) | |
173 | ammolabel.TextStrokeTransparency = 0 | |
174 | ammolabel.FontSize = Enum.FontSize.Size8 | |
175 | ammolabel.Font = Enum.Font.SourceSans | |
176 | ammolabel.BorderSizePixel = 0 | |
177 | ammolabel.TextScaled = true | |
178 | ammolabel.Text = "Speed [" .. speed.Value .. "]" | |
179 | framesk2 = makeframe(scrn, 0.5, ud(0.13, 0, 0.63, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1)) | |
180 | bar2 = makeframe(framesk2, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.5, 0.25, 0.25)) | |
181 | ammolabel2 = Instance.new("TextLabel", framesk2) | |
182 | ammolabel2.BackgroundTransparency = 1 | |
183 | ammolabel2.Size = ud(1, 0, 1, 0) | |
184 | ammolabel2.Position = ud(0, 0, 0, 0) | |
185 | ammolabel2.TextColor3 = c3(255, 255, 255) | |
186 | ammolabel2.TextStrokeTransparency = 0 | |
187 | ammolabel2.FontSize = Enum.FontSize.Size8 | |
188 | ammolabel2.Font = Enum.Font.SourceSans | |
189 | ammolabel2.BorderSizePixel = 0 | |
190 | ammolabel2.TextScaled = true | |
191 | ammolabel2.Text = "Damage [" .. damagea.Value .. "]" | |
192 | framesk3 = makeframe(scrn, 0.5, ud(0.13, 0, 0.7, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1)) | |
193 | bar3 = makeframe(framesk3, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.25, 0.25, 0.5)) | |
194 | ammolabel3 = Instance.new("TextLabel", framesk3) | |
195 | ammolabel3.BackgroundTransparency = 1 | |
196 | ammolabel3.Size = ud(1, 0, 1, 0) | |
197 | ammolabel3.Position = ud(0, 0, 0, 0) | |
198 | ammolabel3.TextColor3 = c3(255, 255, 255) | |
199 | ammolabel3.TextStrokeTransparency = 0 | |
200 | ammolabel3.FontSize = Enum.FontSize.Size8 | |
201 | ammolabel3.Font = Enum.Font.SourceSans | |
202 | ammolabel3.BorderSizePixel = 0 | |
203 | ammolabel3.TextScaled = true | |
204 | ammolabel3.Text = "Defense [" .. defense.Value .. "]" | |
205 | framesk4 = makeframe(scrn, 0.5, ud(0.13, 0, 0.42, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1)) | |
206 | bar4 = makeframe(framesk4, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1)) | |
207 | ammolabel4 = Instance.new("TextLabel", framesk4) | |
208 | ammolabel4.BackgroundTransparency = 1 | |
209 | ammolabel4.Size = ud(1, 0, 1, 0) | |
210 | ammolabel4.Position = ud(0, 0, 0, 0) | |
211 | ammolabel4.TextColor3 = c3(255, 255, 255) | |
212 | ammolabel4.TextStrokeTransparency = 0 | |
213 | ammolabel4.FontSize = Enum.FontSize.Size8 | |
214 | ammolabel4.Font = Enum.Font.SourceSans | |
215 | ammolabel4.BorderSizePixel = 0 | |
216 | ammolabel4.TextScaled = true | |
217 | ammolabel4.Text = "Press F to equip your weapon." | |
218 | framesk5 = makeframe(scrn, 0.5, ud(0.13, 0, 0.49, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1)) | |
219 | bar5 = makeframe(framesk5, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1)) | |
220 | ammolabel4 = Instance.new("TextLabel", framesk5) | |
221 | ammolabel4.BackgroundTransparency = 1 | |
222 | ammolabel4.Size = ud(1, 0, 1, 0) | |
223 | ammolabel4.Position = ud(0, 0, 0, 0) | |
224 | ammolabel4.TextColor3 = c3(255, 255, 255) | |
225 | ammolabel4.TextStrokeTransparency = 0 | |
226 | ammolabel4.FontSize = Enum.FontSize.Size8 | |
227 | ammolabel4.Font = Enum.Font.SourceSans | |
228 | ammolabel4.BorderSizePixel = 0 | |
229 | ammolabel4.TextScaled = true | |
230 | ammolabel4.Text = "The keys for the abilities are: E, Z, X, C, and V." | |
231 | animate = Character:findFirstChild("Animate") | |
232 | animate.Disabled = false | |
233 | CustomColor = Torso.BrickColor | |
234 | Colorpart1 = Torso.BrickColor.r | |
235 | Colorpart2 = Torso.BrickColor.g | |
236 | Colorpart3 = Torso.BrickColor.b | |
237 | mouse = Player:GetMouse() | |
238 | RW = Torso["Right Shoulder"] | |
239 | LW = Torso["Left Shoulder"] | |
240 | LH = Torso["Left Hip"] | |
241 | RH = Torso["Right Hip"] | |
242 | TorsoColor = Torso.BrickColor | |
243 | NoOutline = function(Part) | |
244 | Part.TopSurface = 10 | |
245 | end | |
246 | ||
247 | local weldBetween = function(a, b) | |
248 | local weldd = Instance.new("ManualWeld") | |
249 | weldd.Part0 = a | |
250 | weldd.Part1 = b | |
251 | weldd.C0 = CFrame.new() | |
252 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
253 | weldd.Parent = a | |
254 | return weldd | |
255 | end | |
256 | ||
257 | swait = function(num) | |
258 | if num == 0 or num == nil then | |
259 | game:service("RunService").Stepped:wait(0) | |
260 | else | |
261 | for i = 0, num do | |
262 | game:service("RunService").Stepped:wait(0) | |
263 | end | |
264 | end | |
265 | end | |
266 | ||
267 | fat = Instance.new("BindableEvent", script) | |
268 | fat.Name = "Heartbeat" | |
269 | script:WaitForChild("Heartbeat") | |
270 | frame = 0.033333333333333 | |
271 | tf = 0 | |
272 | allowframeloss = false | |
273 | tossremainder = false | |
274 | lastframe = tick() | |
275 | script.Heartbeat:Fire() | |
276 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
277 | tf = tf + s | |
278 | if frame <= tf then | |
279 | if allowframeloss then | |
280 | script.Heartbeat:Fire() | |
281 | lastframe = tick() | |
282 | else | |
283 | for i = 1, math.floor(tf / frame) do | |
284 | script.Heartbeat:Fire() | |
285 | end | |
286 | lastframe = tick() | |
287 | end | |
288 | if tossremainder then | |
289 | tf = 0 | |
290 | else | |
291 | tf = tf - frame * math.floor(tf / frame) | |
292 | end | |
293 | end | |
294 | end | |
295 | ) | |
296 | nooutline = function(part) | |
297 | part.TopSurface = 10 | |
298 | end | |
299 | ||
300 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
301 | local fp = it("Part") | |
302 | fp.formFactor = formfactor | |
303 | fp.Parent = parent | |
304 | fp.Reflectance = reflectance | |
305 | fp.Transparency = transparency | |
306 | fp.CanCollide = false | |
307 | fp.Locked = true | |
308 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
309 | fp.Name = name | |
310 | fp.Size = size | |
311 | fp.Position = Character.Torso.Position | |
312 | nooutline(fp) | |
313 | fp.Material = material | |
314 | fp:BreakJoints() | |
315 | return fp | |
316 | end | |
317 | ||
318 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
319 | local mesh = it(Mesh) | |
320 | mesh.Parent = part | |
321 | if Mesh == "SpecialMesh" then | |
322 | mesh.MeshType = meshtype | |
323 | mesh.MeshId = meshid | |
324 | end | |
325 | mesh.Offset = offset | |
326 | mesh.Scale = scale | |
327 | return mesh | |
328 | end | |
329 | ||
330 | weld = function(parent, part0, part1, c0, c1) | |
331 | local weld = it("Weld") | |
332 | weld.Parent = parent | |
333 | weld.Part0 = part0 | |
334 | weld.Part1 = part1 | |
335 | weld.C0 = c0 | |
336 | weld.C1 = c1 | |
337 | return weld | |
338 | end | |
339 | ||
340 | Tool = Instance.new("Tool") | |
341 | Tool.Parent = Backpack | |
342 | Tool.Name = "It\'s Time to Stop" | |
343 | Tool.RequiresHandle = false | |
344 | script.Parent = Tool | |
345 | ||
346 | m = Instance.new("Model", Character) | |
347 | m.Name = "STOP" | |
348 | Handle = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
349 | Handleweld = weld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.14576721e-005, 1.00000191, 1.52587891e-005, -4.37113883e-008, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883e-008)) | |
350 | mesh("SpecialMesh", Handle, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(35, 1.5, 1.5)) | |
351 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
352 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000118, -0.200000763, -1.1920929e-007, 1, 4.37113883e-008, 0, 0, 1.91068547e-015, 1, 4.37113883e-008, -1, 1.91068547e-015)) | |
353 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4)) | |
354 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
355 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1283927, -0.200000763, -2.12839127, 0.707106948, 0.70710659, -1.28027615e-008, -1.28027615e-008, 3.0908609e-008, 1, 0.70710659, -0.707106948, 3.0908609e-008)) | |
356 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981)) | |
357 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
358 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12839174, -0.200000763, -2.1283927, -0.70710659, 0.707106948, -7.46199973e-008, -7.46199973e-008, 3.09086268e-008, 1, 0.707106948, 0.70710659, 3.09086268e-008)) | |
359 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981)) | |
360 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
361 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.200000763, 3.01000118, 1.91068547e-015, -1, -4.37113883e-008, -4.37113883e-008, -4.37113883e-008, 1, -1, 0, -4.37113883e-008)) | |
362 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4)) | |
363 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
364 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724999547, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
365 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
366 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
367 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18500042, -0.210002899, -0.824999571, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
368 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
369 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
370 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.72500062, -0.210002899, 3.0350008, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008)) | |
371 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
372 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
373 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, -0.625000238, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
374 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
375 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
376 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.725000381, -0.210002899, 2.73500061, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008)) | |
377 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
378 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
379 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500023, -0.210002899, -0.305000544, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
380 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
381 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
382 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.1950016, -0.210002899, -0.30500102, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
383 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
384 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
385 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.305000186, -0.210002899, -3.34500217, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
386 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
387 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
388 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.015000701, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
389 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
390 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
391 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.0150001049, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
392 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
393 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
394 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998531, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
395 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
396 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
397 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.315000296, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
398 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
399 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
400 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.315001369, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
401 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
402 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
403 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998174, -0.210002899, -2.73500061, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
404 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
405 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
406 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500214, -0.210002899, 0.535002112, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
407 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
408 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
409 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.535001278, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
410 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
411 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
412 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.834999204, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
413 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
414 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
415 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684997559, -0.210002899, -3.34500027, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
416 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
417 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
418 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684998512, -0.210002899, -3.04500103, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
419 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
420 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
421 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000166, -0.189994812, 0.0100030899, 1, -4.37114025e-008, -1.58932352e-008, -1.58932387e-008, -5.96046377e-008, -1, 4.37114025e-008, 1, -5.96046341e-008)) | |
422 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4)) | |
423 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
424 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1354661, -0.189994812, -2.12131977, 0.707106829, -0.707106769, 4.58097809e-008, -2.24173533e-008, -8.72021815e-008, -1, 0.707106769, 0.707106829, -7.75127234e-008)) | |
425 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981)) | |
426 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
427 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12131834, -0.189994812, -2.13546705, -0.707106292, -0.707107246, -6.07109172e-008, 1.47268324e-007, -6.14099775e-008, -1, 0.707107246, -0.707106292, 1.47557884e-007)) | |
428 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981)) | |
429 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
430 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100032091, -0.189994812, 3.01000166, 2.60540156e-015, 1, -5.96046377e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, 3.55271368e-015, 1.58932636e-008)) | |
431 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4)) | |
432 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
433 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.735001564, -0.199996948, -3.34499979, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
434 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
435 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
436 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18499231, -0.199996948, -0.834997773, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
437 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
438 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
439 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735005498, -0.199996948, 3.03500223, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008)) | |
440 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
441 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
442 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499784, -0.200004578, -0.63499558, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
443 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
444 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
445 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.734998822, -0.199993134, 2.73499918, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008)) | |
446 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
447 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
448 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499594, -0.200000763, -0.315001726, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
449 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
450 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
451 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500494, -0.199996948, -0.31500113, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
452 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
453 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
454 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.315002918, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
455 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1)) | |
456 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
457 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.00499808788, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
458 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
459 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
460 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200000763, 0.00499856472, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
461 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
462 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
463 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154998422, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
464 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
465 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
466 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200004578, 0.305001616, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
467 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
468 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
469 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.305000901, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
470 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
471 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
472 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154993892, -0.199996948, -2.73500013, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
473 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
474 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
475 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.525003314, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
476 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
477 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
478 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.524998307, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
479 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
480 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
481 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.82499969, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
482 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
483 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
484 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.34499884, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
485 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
486 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
487 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.04500151, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
488 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1)) | |
489 | Hitbox = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0.899999976, 2.25, 2.25)) | |
490 | Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 3.01000118, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)) | |
491 | Handleweld.Part0 = Torso | |
492 | Handleweld.Part1 = Handle | |
493 | Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0)) | |
494 | if script.Parent.className ~= "Tool" then | |
495 | Tool = Instance.new("Tool") | |
496 | Tool.Parent = Backpack | |
497 | Tool.Name = "It\'s Time to Stop" | |
498 | script.Parent = Tool | |
499 | end | |
500 | Bin = Tool | |
501 | for i,v in pairs(Character:GetChildren()) do | |
502 | if v:IsA("Model") then | |
503 | for _,c in pairs(v:GetChildren()) do | |
504 | if c:IsA("Part") then | |
505 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
506 | end | |
507 | end | |
508 | end | |
509 | end | |
510 | so = function(id, par, vol, pit) | |
511 | coroutine.resume(coroutine.create(function() | |
512 | local sou = Instance.new("Sound", par or workspace) | |
513 | sou.Volume = vol | |
514 | sou.Pitch = pit or 1 | |
515 | sou.SoundId = id | |
516 | swait() | |
517 | sou:play() | |
518 | game:GetService("Debris"):AddItem(sou, 6) | |
519 | end | |
520 | )) | |
521 | end | |
522 | ||
523 | local CFrameFromTopBack = function(at, top, back) | |
524 | local right = top:Cross(back) | |
525 | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
526 | end | |
527 | ||
528 | Triangle = function(a, b, c) | |
529 | local edg1 = c - a:Dot(b - a.unit) | |
530 | local edg2 = a - b:Dot(c - b.unit) | |
531 | local edg3 = b - c:Dot(a - c.unit) | |
532 | if edg1 <= b - a.magnitude and edg1 >= 0 then | |
533 | a = a | |
534 | else | |
535 | -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg' | |
536 | ||
537 | if edg2 <= c - b.magnitude and edg2 >= 0 then | |
538 | a = b | |
539 | else | |
540 | -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg' | |
541 | ||
542 | -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg' | |
543 | ||
544 | if edg3 <= a - c.magnitude and edg3 >= 0 then | |
545 | a = c | |
546 | else | |
547 | assert(false, "unreachable") | |
548 | end | |
549 | end | |
550 | end | |
551 | local len1 = c - a:Dot(b - a.unit) | |
552 | local len2 = b - a.magnitude - len1 | |
553 | local width = a + b - a.unit * len1 - c.magnitude | |
554 | local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit) | |
555 | local list = {} | |
556 | local TrailColor = "Dark grey" | |
557 | if len1 > 0.01 then | |
558 | local w1 = Instance.new("WedgePart", m) | |
559 | game:GetService("Debris"):AddItem(w1, 5) | |
560 | w1.Material = "SmoothPlastic" | |
561 | w1.FormFactor = "Custom" | |
562 | w1.BrickColor = BrickColor.new(TrailColor) | |
563 | w1.Transparency = 0 | |
564 | w1.Reflectance = 0 | |
565 | w1.Material = "SmoothPlastic" | |
566 | w1.CanCollide = false | |
567 | NoOutline(w1) | |
568 | local sz = Vector3.new(0.2, width, len1) | |
569 | w1.Size = sz | |
570 | local sp = Instance.new("SpecialMesh", w1) | |
571 | sp.MeshType = "Wedge" | |
572 | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size | |
573 | w1:BreakJoints() | |
574 | w1.Anchored = true | |
575 | w1.Parent = workspace | |
576 | w1.Transparency = 0.7 | |
577 | table.insert(Effects, {w1, "Disappear", 0.01}) | |
578 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
579 | table.insert(list, w1) | |
580 | end | |
581 | do | |
582 | if len2 > 0.01 then | |
583 | local w2 = Instance.new("WedgePart", m) | |
584 | game:GetService("Debris"):AddItem(w2, 5) | |
585 | w2.Material = "SmoothPlastic" | |
586 | w2.FormFactor = "Custom" | |
587 | w2.BrickColor = BrickColor.new(TrailColor) | |
588 | w2.Transparency = 0 | |
589 | w2.Reflectance = 0 | |
590 | w2.Material = "SmoothPlastic" | |
591 | w2.CanCollide = false | |
592 | NoOutline(w2) | |
593 | local sz = Vector3.new(0.2, width, len2) | |
594 | w2.Size = sz | |
595 | local sp = Instance.new("SpecialMesh", w2) | |
596 | sp.MeshType = "Wedge" | |
597 | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size | |
598 | w2:BreakJoints() | |
599 | w2.Anchored = true | |
600 | w2.Parent = workspace | |
601 | w2.Transparency = 0.7 | |
602 | table.insert(Effects, {w2, "Disappear", 0.01}) | |
603 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
604 | table.insert(list, w2) | |
605 | end | |
606 | do | |
607 | return unpack(list) | |
608 | end | |
609 | end | |
610 | end | |
611 | ||
612 | rayCast = function(Pos, Dir, Max, Ignore) | |
613 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
614 | end | |
615 | ||
616 | function clerp(a,b,t) | |
617 | local qa = {QuaternionFromCFrame(a)} | |
618 | local qb = {QuaternionFromCFrame(b)} | |
619 | local ax, ay, az = a.x, a.y, a.z | |
620 | local bx, by, bz = b.x, b.y, b.z | |
621 | local _t = 1-t | |
622 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
623 | end | |
624 | ||
625 | function QuaternionFromCFrame(cf) | |
626 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
627 | local trace = m00 + m11 + m22 | |
628 | if trace > 0 then | |
629 | local s = math.sqrt(1 + trace) | |
630 | local recip = 0.5/s | |
631 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
632 | else | |
633 | local i = 0 | |
634 | if m11 > m00 then | |
635 | i = 1 | |
636 | end | |
637 | if m22 > (i == 0 and m00 or m11) then | |
638 | i = 2 | |
639 | end | |
640 | if i == 0 then | |
641 | local s = math.sqrt(m00-m11-m22+1) | |
642 | local recip = 0.5/s | |
643 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
644 | elseif i == 1 then | |
645 | local s = math.sqrt(m11-m22-m00+1) | |
646 | local recip = 0.5/s | |
647 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
648 | elseif i == 2 then | |
649 | local s = math.sqrt(m22-m00-m11+1) | |
650 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
651 | end | |
652 | end | |
653 | end | |
654 | ||
655 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
656 | local xs, ys, zs = x + x, y + y, z + z | |
657 | local wx, wy, wz = w*xs, w*ys, w*zs | |
658 | local xx = x*xs | |
659 | local xy = x*ys | |
660 | local xz = x*zs | |
661 | local yy = y*ys | |
662 | local yz = y*zs | |
663 | local zz = z*zs | |
664 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
665 | end | |
666 | ||
667 | function QuaternionSlerp(a, b, t) | |
668 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
669 | local startInterp, finishInterp; | |
670 | if cosTheta >= 0.0001 then | |
671 | if (1 - cosTheta) > 0.0001 then | |
672 | local theta = math.acos(cosTheta) | |
673 | local invSinTheta = 1/math.sin(theta) | |
674 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
675 | finishInterp = math.sin(t*theta)*invSinTheta | |
676 | else | |
677 | startInterp = 1-t | |
678 | finishInterp = t | |
679 | end | |
680 | else | |
681 | if (1+cosTheta) > 0.0001 then | |
682 | local theta = math.acos(-cosTheta) | |
683 | local invSinTheta = 1/math.sin(theta) | |
684 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
685 | finishInterp = math.sin(t*theta)*invSinTheta | |
686 | else | |
687 | startInterp = t-1 | |
688 | finishInterp = t | |
689 | end | |
690 | end | |
691 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
692 | end | |
693 | ||
694 | rayCast = function(Pos, Dir, Max, Ignore) | |
695 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
696 | end | |
697 | ||
698 | makegui = function(cframe, text) | |
699 | local a = math.random(-10, 10) / 100 | |
700 | local c = Instance.new("Part") | |
701 | c.Transparency = 1 | |
702 | Instance.new("BodyGyro").Parent = c | |
703 | c.Parent = workspace | |
704 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
705 | local f = Instance.new("BodyPosition") | |
706 | f.P = 2000 | |
707 | f.D = 100 | |
708 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
709 | f.position = c.Position + Vector3.new(0, 3, 0) | |
710 | f.Parent = c | |
711 | game:GetService("Debris"):AddItem(c, 6.5) | |
712 | c.CanCollide = false | |
713 | c.Parent = workspace | |
714 | c.CanCollide = false | |
715 | local bg = Instance.new("BillboardGui", c) | |
716 | bg.Adornee = c | |
717 | bg.Size = UDim2.new(1, 0, 1, 0) | |
718 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
719 | bg.AlwaysOnTop = false | |
720 | local tl = Instance.new("TextLabel", bg) | |
721 | tl.BackgroundTransparency = 1 | |
722 | tl.Size = UDim2.new(1, 0, 1, 0) | |
723 | tl.Text = text | |
724 | tl.Font = "SourceSansBold" | |
725 | tl.FontSize = "Size42" | |
726 | if crit == true then | |
727 | tl.TextColor3 = Color3.new(0.70588235294118, 0, 0) | |
728 | else | |
729 | tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2) | |
730 | end | |
731 | tl.TextStrokeTransparency = 0 | |
732 | tl.TextScaled = true | |
733 | tl.TextWrapped = true | |
734 | coroutine.wrap(function() | |
735 | wait(2) | |
736 | for i = 1, 10 do | |
737 | swait() | |
738 | c.Transparency = 1 | |
739 | tl.TextTransparency = tl.TextTransparency + 0.1 | |
740 | end | |
741 | end | |
742 | )() | |
743 | end | |
744 | ||
745 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock) | |
746 | if hit.Parent == nil then | |
747 | return | |
748 | end | |
749 | h = hit.Parent:FindFirstChild("Humanoid") | |
750 | for _,v in pairs(hit.Parent:children()) do | |
751 | if v:IsA("Humanoid") then | |
752 | h = v | |
753 | end | |
754 | end | |
755 | if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then | |
756 | h = hit.Parent.Parent:FindFirstChild("Humanoid") | |
757 | end | |
758 | if hit.Parent.className == "Hat" then | |
759 | hit = hit.Parent.Parent:findFirstChild("Head") | |
760 | end | |
761 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
762 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
763 | return | |
764 | end | |
765 | local blocked = false | |
766 | block = hit.Parent:findFirstChild("Block") | |
767 | if block ~= nil then | |
768 | print(block.className) | |
769 | if block.className == "NumberValue" and block.Value > 0 then | |
770 | blocked = true | |
771 | if decreaseblock == nil then | |
772 | block.Value = block.Value - 1 | |
773 | end | |
774 | end | |
775 | if block.className == "IntValue" and block.Value > 0 then | |
776 | blocked = true | |
777 | if decreaseblock ~= nil then | |
778 | block.Value = block.Value - 1 | |
779 | end | |
780 | end | |
781 | end | |
782 | if blocked == false then | |
783 | local D = math.random(minim, maxim) * damagea.Value | |
784 | if h.Parent:FindFirstChild("Stats") then | |
785 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value | |
786 | else | |
787 | end | |
788 | if not h.Parent:FindFirstChild("Stats") then | |
789 | do | |
790 | h.Health = h.Health - D | |
791 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
792 | local D = math.random(minim, maxim) * damagea.Value | |
793 | if h.Parent:FindFirstChild("Stats") then | |
794 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value | |
795 | else | |
796 | end | |
797 | if not h.Parent:FindFirstChild("Stats") then | |
798 | do | |
799 | h.Health = h.Health - D / 2 | |
800 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
801 | if Type == "Knockdown" then | |
802 | local humanoid = hit.Parent.Humanoid | |
803 | humanoid.PlatformStand = true | |
804 | coroutine.resume(coroutine.create(function(Humanoid) | |
805 | fat.Event:wait() | |
806 | Humanoid.PlatformStand = false | |
807 | end | |
808 | ), humanoid) | |
809 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
810 | local bodvol = Instance.new("BodyVelocity") | |
811 | bodvol.velocity = angle * knockback | |
812 | bodvol.P = 5000 | |
813 | bodvol.maxForce = Vector3.new(8000, 8000, 8000) | |
814 | bodvol.Parent = hit | |
815 | rl = Instance.new("BodyAngularVelocity") | |
816 | rl.P = 3000 | |
817 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
818 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
819 | rl.Parent = hit | |
820 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
821 | game:GetService("Debris"):AddItem(rl, 0.5) | |
822 | else | |
823 | do | |
824 | if Type == "Normal" then | |
825 | local hitsoundchoose = math.random(1, 6) | |
826 | if hitsoundchoose == 1 then | |
827 | so("http://www.roblox.com/asset/?id=199149137", hit, 1, 1) | |
828 | else | |
829 | if hitsoundchoose == 2 then | |
830 | so("http://www.roblox.com/asset/?id=199149186", hit, 1, 1) | |
831 | else | |
832 | if hitsoundchoose == 3 then | |
833 | so("http://www.roblox.com/asset/?id=199149221", hit, 1, 1) | |
834 | else | |
835 | if hitsoundchoose == 4 then | |
836 | so("http://www.roblox.com/asset/?id=199149235", hit, 1, 1) | |
837 | else | |
838 | if hitsoundchoose == 5 then | |
839 | so("http://www.roblox.com/asset/?id=199149269", hit, 1, 1) | |
840 | else | |
841 | if hitsoundchoose == 6 then | |
842 | so("http://www.roblox.com/asset/?id=199149297", hit, 1, 1) | |
843 | end | |
844 | end | |
845 | end | |
846 | end | |
847 | end | |
848 | end | |
849 | vp = Instance.new("BodyVelocity") | |
850 | vp.P = 500 | |
851 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
852 | if KnockbackType == 1 then | |
853 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
854 | else | |
855 | if KnockbackType == 2 then | |
856 | vp.velocity = Property.CFrame.lookVector * knockback | |
857 | end | |
858 | end | |
859 | if knockback > 0 then | |
860 | vp.Parent = hit.Parent.Torso | |
861 | end | |
862 | game:GetService("Debris"):AddItem(vp, 0.5) | |
863 | else | |
864 | do | |
865 | if Type == "QuietNormal" then | |
866 | vp = Instance.new("BodyVelocity") | |
867 | vp.P = 500 | |
868 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
869 | if KnockbackType == 1 then | |
870 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
871 | else | |
872 | if KnockbackType == 2 then | |
873 | vp.velocity = Property.CFrame.lookVector * knockback | |
874 | end | |
875 | end | |
876 | if knockback > 0 then | |
877 | vp.Parent = hit.Parent.Torso | |
878 | end | |
879 | game:GetService("Debris"):AddItem(vp, 0.5) | |
880 | else | |
881 | if Type == "MovementDebuff" then | |
882 | coroutine.resume(coroutine.create(function() | |
883 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.2 | |
884 | speed.Value = speed.Value + 0.2 | |
885 | Humanoid.WalkSpeed = 16 * speed.Value | |
886 | wait(1) | |
887 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.2 | |
888 | speed.Value = speed.Value - 0.2 | |
889 | Humanoid.WalkSpeed = 16 * speed.Value | |
890 | end | |
891 | )) | |
892 | vp = Instance.new("BodyVelocity") | |
893 | vp.P = 500 | |
894 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
895 | if KnockbackType == 1 then | |
896 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
897 | else | |
898 | if KnockbackType == 2 then | |
899 | vp.velocity = Property.CFrame.lookVector * knockback | |
900 | end | |
901 | end | |
902 | if knockback > 0 then | |
903 | vp.Parent = hit.Parent.Torso | |
904 | end | |
905 | game:GetService("Debris"):AddItem(vp, 0.5) | |
906 | else | |
907 | if Type == "CurseAura" then | |
908 | coroutine.resume(coroutine.create(function() | |
909 | local savethewalkspeed = hit.Parent.Humanoid.WalkSpeed | |
910 | hit.Parent.Humanoid.WalkSpeed = 0 | |
911 | wait(0.25) | |
912 | hit.Parent.Humanoid.WalkSpeed = savethewalkspeed | |
913 | end | |
914 | )) | |
915 | vp = Instance.new("BodyVelocity") | |
916 | vp.P = 500 | |
917 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
918 | if KnockbackType == 1 then | |
919 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
920 | else | |
921 | if KnockbackType == 2 then | |
922 | vp.velocity = Property.CFrame.lookVector * knockback | |
923 | end | |
924 | end | |
925 | if knockback > 0 then | |
926 | vp.Parent = hit.Parent.Torso | |
927 | end | |
928 | game:GetService("Debris"):AddItem(vp, 0.5) | |
929 | else | |
930 | if Type == "Up" then | |
931 | local bodyVelocity = Instance.new("BodyVelocity") | |
932 | bodyVelocity.velocity = vt(0, 60, 0) | |
933 | bodyVelocity.P = 5000 | |
934 | bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000) | |
935 | bodyVelocity.Parent = hit | |
936 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
937 | rl = Instance.new("BodyAngularVelocity") | |
938 | rl.P = 3000 | |
939 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
940 | rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30)) | |
941 | rl.Parent = hit | |
942 | game:GetService("Debris"):AddItem(rl, 0.5) | |
943 | else | |
944 | do | |
945 | if Type == "Snare" then | |
946 | wait() | |
947 | bp = Instance.new("BodyPosition") | |
948 | bp.P = 2000 | |
949 | bp.D = 100 | |
950 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
951 | bp.position = hit.Parent.Torso.Position | |
952 | bp.Parent = hit.Parent.Torso | |
953 | game:GetService("Debris"):AddItem(bp, 1) | |
954 | else | |
955 | if Type == "Target" then | |
956 | so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100) | |
957 | vp = Instance.new("BodyVelocity") | |
958 | vp.P = 500 | |
959 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
960 | if KnockbackType == 1 then | |
961 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
962 | else | |
963 | if KnockbackType == 2 then | |
964 | vp.velocity = Property.CFrame.lookVector * knockback | |
965 | end | |
966 | end | |
967 | if knockback > 0 then | |
968 | vp.Parent = hit.Parent.Torso | |
969 | end | |
970 | game:GetService("Debris"):AddItem(vp, 0.5) | |
971 | end | |
972 | end | |
973 | debounce = Instance.new("BoolValue") | |
974 | debounce.Name = "DebounceHit" | |
975 | debounce.Parent = hit.Parent | |
976 | debounce.Value = true | |
977 | game:GetService("Debris"):AddItem(debounce, Delay) | |
978 | c = Instance.new("ObjectValue") | |
979 | c.Name = "creator" | |
980 | c.Value = Player | |
981 | c.Parent = h | |
982 | game:GetService("Debris"):AddItem(c, 0.5) | |
983 | CRIT = false | |
984 | hitDeb = true | |
985 | AttackPos = 6 | |
986 | end | |
987 | end | |
988 | end | |
989 | end | |
990 | end | |
991 | end | |
992 | end | |
993 | end | |
994 | end | |
995 | end | |
996 | end | |
997 | end | |
998 | end | |
999 | end | |
1000 | end | |
1001 | end | |
1002 | ||
1003 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
1004 | for _,c in pairs(workspace:children()) do | |
1005 | local hum = c:findFirstChild("Humanoid") | |
1006 | if hum ~= nil then | |
1007 | local head = c:findFirstChild("Torso") | |
1008 | if head ~= nil then | |
1009 | local targ = head.Position - Part.Position | |
1010 | local mag = targ.magnitude | |
1011 | if mag <= magni and c.Name ~= Player.Name then | |
1012 | Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1) | |
1013 | end | |
1014 | end | |
1015 | end | |
1016 | end | |
1017 | end | |
1018 | ||
1019 | Lightning = function(p0, p1, tym, ofs, brickcolor, th, tra, last) | |
1020 | local magz = p0 - p1.magnitude | |
1021 | local curpos = p0 | |
1022 | local trz = {-ofs, ofs} | |
1023 | for i = 1, tym do | |
1024 | local li = Instance.new("Part", workspace) | |
1025 | do | |
1026 | li.TopSurface = 0 | |
1027 | li.BottomSurface = 0 | |
1028 | li.Anchored = true | |
1029 | li.Transparency = tra or 0.4 | |
1030 | li.BrickColor = brickcolor | |
1031 | li.formFactor = "Custom" | |
1032 | li.CanCollide = false | |
1033 | li.Size = Vector3.new(th, th, magz / tym) | |
1034 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1035 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1036 | if tym == i then | |
1037 | local magz2 = curpos - p1.magnitude | |
1038 | li.Size = Vector3.new(th, th, magz2) | |
1039 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1040 | else | |
1041 | do | |
1042 | do | |
1043 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1044 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1045 | game.Debris:AddItem(li, last) | |
1046 | coroutine.resume(coroutine.create(function() | |
1047 | while li.Transparency ~= 1 do | |
1048 | for i = 0, 1, last do | |
1049 | fat.Event:wait() | |
1050 | li.Transparency = li.Transparency + 0.1 / last | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | )) | |
1055 | end | |
1056 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
1057 | ||
1058 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_STMT | |
1059 | ||
1060 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out DO_STMT | |
1061 | ||
1062 | end | |
1063 | end | |
1064 | end | |
1065 | end | |
1066 | end | |
1067 | ||
1068 | JumpEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
1069 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1070 | prt.Anchored = true | |
1071 | prt.CanCollide = false | |
1072 | prt.CFrame = cframe * angles(math.rad(90), 0, 0) | |
1073 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1)) | |
1074 | game:GetService("Debris"):AddItem(prt, 10) | |
1075 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1076 | for i = 0, 1, delay do | |
1077 | fat.Event:wait() | |
1078 | Part.CFrame = Part.CFrame | |
1079 | Part.Transparency = i | |
1080 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
1081 | end | |
1082 | Part.Parent = nil | |
1083 | end | |
1084 | ), prt, msh) | |
1085 | end | |
1086 | ||
1087 | Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1088 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1089 | prt.Anchored = true | |
1090 | prt.CFrame = cframe | |
1091 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
1092 | game:GetService("Debris"):AddItem(prt, 4) | |
1093 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1094 | for i = 0, 1, delay do | |
1095 | fat.Event:wait() | |
1096 | Part.CFrame = Part.CFrame | |
1097 | Part.Transparency = i | |
1098 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1099 | end | |
1100 | Part.Parent = nil | |
1101 | end | |
1102 | ), prt, msh) | |
1103 | end | |
1104 | ||
1105 | OrbEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
1106 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1107 | prt.Anchored = true | |
1108 | prt.CanCollide = false | |
1109 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1110 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1)) | |
1111 | game:GetService("Debris"):AddItem(prt, 10) | |
1112 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1113 | for i = 0, 1, delay do | |
1114 | fat.Event:wait() | |
1115 | Part.CFrame = Part.CFrame | |
1116 | Part.Transparency = i | |
1117 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
1118 | end | |
1119 | Part.Parent = nil | |
1120 | end | |
1121 | ), prt, msh) | |
1122 | end | |
1123 | ||
1124 | BlockShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1125 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1126 | prt.Anchored = true | |
1127 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1128 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1129 | game:GetService("Debris"):AddItem(prt, 10) | |
1130 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1131 | for i = 0, 1, delay do | |
1132 | fat.Event:wait() | |
1133 | Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1134 | Part.Transparency = i | |
1135 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1136 | end | |
1137 | Part.Parent = nil | |
1138 | end | |
1139 | ), prt, msh) | |
1140 | end | |
1141 | ||
1142 | RainbowBlockShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay) | |
1143 | local rainbowcolor = BrickColor.new(0) | |
1144 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, rainbowcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1145 | prt.Anchored = true | |
1146 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1147 | prt.Material = "Neon" | |
1148 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1149 | game:GetService("Debris"):AddItem(prt, 10) | |
1150 | coroutine.resume(coroutine.create(function() | |
1151 | while prt.Parent ~= nil do | |
1152 | wait() | |
1153 | rainbowcolor = BrickColor.new(23) | |
1154 | wait() | |
1155 | rainbowcolor = BrickColor.new(107) | |
1156 | wait() | |
1157 | rainbowcolor = BrickColor.new(37) | |
1158 | wait() | |
1159 | rainbowcolor = BrickColor.new(119) | |
1160 | wait() | |
1161 | rainbowcolor = BrickColor.new(24) | |
1162 | wait() | |
1163 | rainbowcolor = BrickColor.new(106) | |
1164 | wait() | |
1165 | rainbowcolor = BrickColor.new(21) | |
1166 | wait() | |
1167 | rainbowcolor = BrickColor.new(104) | |
1168 | end | |
1169 | end | |
1170 | )) | |
1171 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1172 | for i = 0, 1, delay do | |
1173 | fat.Event:wait() | |
1174 | Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1175 | Part.Transparency = i | |
1176 | Part.BrickColor = rainbowcolor | |
1177 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1178 | end | |
1179 | Part.Parent = nil | |
1180 | end | |
1181 | ), prt, msh) | |
1182 | end | |
1183 | ||
1184 | RainbowCylinderShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay) | |
1185 | local rainbowcolor = BrickColor.new(0) | |
1186 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1187 | prt.Anchored = true | |
1188 | prt.CFrame = cframe | |
1189 | prt.Material = "Neon" | |
1190 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1191 | game:GetService("Debris"):AddItem(prt, 10) | |
1192 | coroutine.resume(coroutine.create(function() | |
1193 | while prt.Parent ~= nil do | |
1194 | wait() | |
1195 | rainbowcolor = BrickColor.new(23) | |
1196 | wait() | |
1197 | rainbowcolor = BrickColor.new(107) | |
1198 | wait() | |
1199 | rainbowcolor = BrickColor.new(37) | |
1200 | wait() | |
1201 | rainbowcolor = BrickColor.new(119) | |
1202 | wait() | |
1203 | rainbowcolor = BrickColor.new(24) | |
1204 | wait() | |
1205 | rainbowcolor = BrickColor.new(106) | |
1206 | wait() | |
1207 | rainbowcolor = BrickColor.new(21) | |
1208 | wait() | |
1209 | rainbowcolor = BrickColor.new(104) | |
1210 | end | |
1211 | end | |
1212 | )) | |
1213 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1214 | for i = 0, 1, delay do | |
1215 | fat.Event:wait() | |
1216 | Part.BrickColor = rainbowcolor | |
1217 | Part.Transparency = i | |
1218 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1219 | end | |
1220 | Part.Parent = nil | |
1221 | end | |
1222 | ), prt, msh) | |
1223 | end | |
1224 | ||
1225 | CylinderShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1226 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1227 | prt.Anchored = true | |
1228 | prt.CFrame = cframe | |
1229 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1230 | game:GetService("Debris"):AddItem(prt, 10) | |
1231 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1232 | for i = 0, 1, delay do | |
1233 | fat.Event:wait() | |
1234 | Part.Transparency = i | |
1235 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1236 | end | |
1237 | Part.Parent = nil | |
1238 | end | |
1239 | ), prt, msh) | |
1240 | end | |
1241 | ||
1242 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1243 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1244 | prt.Anchored = true | |
1245 | prt.CFrame = cframe | |
1246 | prt.Material = "Neon" | |
1247 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1248 | game:GetService("Debris"):AddItem(prt, 10) | |
1249 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1250 | for i = 0, 1, delay do | |
1251 | fat.Event:wait() | |
1252 | Part.Transparency = i | |
1253 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1254 | end | |
1255 | Part.Parent = nil | |
1256 | end | |
1257 | ), prt, msh) | |
1258 | end | |
1259 | ||
1260 | Laser2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1261 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1262 | prt.Anchored = true | |
1263 | prt.CFrame = cframe | |
1264 | prt.Material = "Neon" | |
1265 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1266 | game:GetService("Debris"):AddItem(prt, 10) | |
1267 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1268 | for i = 0, 1, delay do | |
1269 | fat.Event:wait() | |
1270 | Part.Transparency = i | |
1271 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1272 | end | |
1273 | Part.Parent = nil | |
1274 | end | |
1275 | ), prt, msh) | |
1276 | end | |
1277 | ||
1278 | Laser3 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1279 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1280 | prt.Anchored = true | |
1281 | prt.CFrame = cframe | |
1282 | prt.Material = "Neon" | |
1283 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1284 | game:GetService("Debris"):AddItem(prt, 10) | |
1285 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1286 | for i = 0, 1, delay do | |
1287 | fat.Event:wait() | |
1288 | Part.Transparency = i | |
1289 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1290 | end | |
1291 | Part.Parent = nil | |
1292 | end | |
1293 | ), prt, msh) | |
1294 | end | |
1295 | ||
1296 | SphereShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1297 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1298 | prt.Anchored = true | |
1299 | prt.CFrame = cframe | |
1300 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1301 | game:GetService("Debris"):AddItem(prt, 10) | |
1302 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1303 | for i = 0, 1, delay do | |
1304 | fat.Event:wait() | |
1305 | Part.Transparency = i | |
1306 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1307 | end | |
1308 | Part.Parent = nil | |
1309 | end | |
1310 | ), prt, msh) | |
1311 | end | |
1312 | ||
1313 | SphereShockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1314 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1315 | prt.Anchored = true | |
1316 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
1317 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1318 | game:GetService("Debris"):AddItem(prt, 10) | |
1319 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1320 | for i = 0, 1, delay do | |
1321 | fat.Event:wait() | |
1322 | Part.Transparency = i | |
1323 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1324 | end | |
1325 | Part.Parent = nil | |
1326 | end | |
1327 | ), prt, msh) | |
1328 | end | |
1329 | ||
1330 | Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1331 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1332 | prt.Anchored = true | |
1333 | prt.CFrame = cframe | |
1334 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1335 | game:GetService("Debris"):AddItem(prt, 10) | |
1336 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1337 | for i = 0, 1, delay do | |
1338 | fat.Event:wait() | |
1339 | Part.CFrame = Part.CFrame | |
1340 | Part.Transparency = i | |
1341 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1342 | end | |
1343 | Part.Parent = nil | |
1344 | end | |
1345 | ), prt, msh) | |
1346 | end | |
1347 | ||
1348 | BashEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
1349 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1350 | prt.Anchored = true | |
1351 | prt.CFrame = cframe | |
1352 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
1353 | game:GetService("Debris"):AddItem(prt, 10) | |
1354 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1355 | for i = 0, 1, delay do | |
1356 | fat.Event:wait() | |
1357 | Part.CFrame = Part.CFrame | |
1358 | Part.Transparency = i | |
1359 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
1360 | end | |
1361 | Part.Parent = nil | |
1362 | end | |
1363 | ), prt, msh) | |
1364 | end | |
1365 | ||
1366 | leftlegangle = 0 | |
1367 | leftlegcframe2 = 0 | |
1368 | leftlegcframe3 = 0 | |
1369 | rightlegangle = 0 | |
1370 | rightlegcframe2 = 0 | |
1371 | rightlegcframe3 = 0 | |
1372 | leftarmangle = 0 | |
1373 | rightarmangle = 0 | |
1374 | MMouse = mouse | |
1375 | canidle = true | |
1376 | canwalk = true | |
1377 | local robloxidleanimation = Instance.new("Animation", Torso) | |
1378 | robloxidleanimation.Name = "robloxidleanimation" | |
1379 | robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
1380 | RWC0 = cf(-0.5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) | |
1381 | LWC0 = cf(0.5, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) | |
1382 | coroutine.resume(coroutine.create(function() | |
1383 | while 1 do | |
1384 | while 1 do | |
1385 | leftlegangle = -60 | |
1386 | leftlegcframe3 = 0.1 | |
1387 | leftlegcframe2 = 0.225 | |
1388 | rightlegangle = 60 | |
1389 | rightlegcframe3 = 0.2 | |
1390 | rightlegcframe2 = -0.2 | |
1391 | leftarmangle = -30 | |
1392 | rightarmangle = 60 | |
1393 | if speed.Value > 0.9 then | |
1394 | wait(0.375 / (speed.Value / 0.9)) | |
1395 | else | |
1396 | if speed.Value == 0.9 or speed.Value < 0.9 then | |
1397 | wait(0.375) | |
1398 | end | |
1399 | end | |
1400 | leftlegangle = 60 | |
1401 | leftlegcframe3 = -0.2 | |
1402 | leftlegcframe2 = -0.2 | |
1403 | rightlegangle = -60 | |
1404 | rightlegcframe3 = -0.1 | |
1405 | rightlegcframe2 = 0.225 | |
1406 | leftarmangle = 60 | |
1407 | rightarmangle = -30 | |
1408 | if speed.Value > 0.9 then | |
1409 | wait(0.375 / (speed.Value / 0.9)) | |
1410 | -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1411 | ||
1412 | -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT | |
1413 | ||
1414 | end | |
1415 | end | |
1416 | if speed.Value == 0.9 or speed.Value < 0.9 then | |
1417 | wait(0.375) | |
1418 | end | |
1419 | end | |
1420 | end | |
1421 | )) | |
1422 | leftarmidleangle = 0 | |
1423 | rightarmidleangle = 0 | |
1424 | headidleangle = 0 | |
1425 | idlenumber = 0 | |
1426 | coroutine.resume(coroutine.create(function() | |
1427 | while 1 do | |
1428 | wait() | |
1429 | idlenumber = idlenumber + 1 | |
1430 | if idlenumber == 250 then | |
1431 | idlenumber = 0 | |
1432 | leftarmidleangle = -25 | |
1433 | rightarmidleangle = 25 | |
1434 | headidleangle = 50 | |
1435 | wait(2) | |
1436 | leftarmidleangle = 25 | |
1437 | rightarmidleangle = -25 | |
1438 | headidleangle = -50 | |
1439 | wait(2) | |
1440 | leftarmidleangle = 0 | |
1441 | rightarmidleangle = 0 | |
1442 | headidleangle = 0 | |
1443 | end | |
1444 | if attack == true or equipped == false or Anim ~= "Idle" then | |
1445 | idlenumber = 0 | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | )) | |
1450 | canability1 = true | |
1451 | canability2 = true | |
1452 | canability3 = true | |
1453 | canability4 = true | |
1454 | equipanim = function() | |
1455 | attack = true | |
1456 | for i = 0, 1, 0.1 do | |
1457 | fat.Event:wait() | |
1458 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1459 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
1460 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-50), math.rad(0), math.rad(-40)) * RWC0, 0.3) | |
1461 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
1462 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
1463 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1464 | end | |
1465 | Handleweld.Part0 = RightArm | |
1466 | Handleweld.Part1 = Handle | |
1467 | Handleweld.C0 = cf(0, 0, 0) * angles(math.rad(0), math.rad(145), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(0)) * cf(0, 0.25, 0) | |
1468 | Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 1) | |
1469 | for i = 0, 1, 0.1 do | |
1470 | fat.Event:wait() | |
1471 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1472 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1473 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3) | |
1474 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
1475 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
1476 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1477 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3) | |
1478 | end | |
1479 | speed.Value = speed.Value - 0.1 | |
1480 | attack = false | |
1481 | end | |
1482 | ||
1483 | unequipanim = function() | |
1484 | attack = true | |
1485 | for i = 0, 1, 0.2 do | |
1486 | fat.Event:wait() | |
1487 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1488 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1489 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3) | |
1490 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
1491 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
1492 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1493 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3) | |
1494 | end | |
1495 | for i = 0, 1, 0.08 do | |
1496 | fat.Event:wait() | |
1497 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
1498 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
1499 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(-40)) * RWC0, 0.3) | |
1500 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
1501 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
1502 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1503 | Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 0.3) | |
1504 | end | |
1505 | Handleweld.Part0 = Torso | |
1506 | Handleweld.Part1 = Handle | |
1507 | Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0)) | |
1508 | for i = 0, 1, 0.06 do | |
1509 | fat.Event:wait() | |
1510 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1511 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1512 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 0.3) | |
1513 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 0.3) | |
1514 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1515 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1516 | end | |
1517 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
1518 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
1519 | speed.Value = speed.Value + 0.1 | |
1520 | attack = false | |
1521 | end | |
1522 | ||
1523 | attackone = function() | |
1524 | attack = true | |
1525 | for i = 0, 1, 0.16 do | |
1526 | fat.Event:wait() | |
1527 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
1528 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
1529 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(20)) * RWC0, 0.3) | |
1530 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-45)) * LWC0, 0.3) | |
1531 | RH.C0 = clerp(RH.C0, cf(0.75, -1, -0.25) * angles(math.rad(0), math.rad(150), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1532 | LH.C0 = clerp(LH.C0, cf(-0.75, -1, 0.25) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1533 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1534 | end | |
1535 | con1 = Hitbox.Touched:connect(function(hit) | |
1536 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
1537 | end | |
1538 | ) | |
1539 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1.2) | |
1540 | for i = 0, 1, 0.16 do | |
1541 | fat.Event:wait() | |
1542 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45) | |
1543 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45) | |
1544 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(5), math.rad(0)) * angles(math.rad(60), math.rad(0), math.rad(10)) * RWC0, 0.45) | |
1545 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.45) | |
1546 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1547 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.45) | |
1548 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(0, 0, -1), 0.45) | |
1549 | end | |
1550 | con1:disconnect() | |
1551 | attack = false | |
1552 | end | |
1553 | ||
1554 | attacktwo = function() | |
1555 | attack = true | |
1556 | for i = 0, 1, 0.16 do | |
1557 | fat.Event:wait() | |
1558 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1559 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1560 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(-45)) * RWC0, 0.3) | |
1561 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)) * LWC0, 0.3) | |
1562 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
1563 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
1564 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(20), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3) | |
1565 | end | |
1566 | con1 = Hitbox.Touched:connect(function(hit) | |
1567 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
1568 | end | |
1569 | ) | |
1570 | so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 1) | |
1571 | for i = 0, 1, 0.16 do | |
1572 | fat.Event:wait() | |
1573 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45) | |
1574 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
1575 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)) * RWC0, 0.45) | |
1576 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)) * LWC0, 0.45) | |
1577 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45) | |
1578 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45) | |
1579 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3) | |
1580 | end | |
1581 | con1:disconnect() | |
1582 | attack = false | |
1583 | end | |
1584 | ||
1585 | attackthree = function() | |
1586 | attack = true | |
1587 | for i = 0, 1, 0.16 do | |
1588 | fat.Event:wait() | |
1589 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1590 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3) | |
1591 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3) | |
1592 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
1593 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1594 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1595 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1596 | end | |
1597 | con1 = Hitbox.Touched:connect(function(hit) | |
1598 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
1599 | end | |
1600 | ) | |
1601 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 0.8) | |
1602 | for i = 0, 1, 0.16 do | |
1603 | fat.Event:wait() | |
1604 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30 - 360 * i)), 0.45) | |
1605 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
1606 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
1607 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
1608 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1609 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1610 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
1611 | end | |
1612 | for i = 0, 1, 0.16 do | |
1613 | fat.Event:wait() | |
1614 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1615 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1616 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3) | |
1617 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)) * LWC0, 0.3) | |
1618 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1619 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1620 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3) | |
1621 | end | |
1622 | con1:disconnect() | |
1623 | attack = false | |
1624 | end | |
1625 | ||
1626 | attackfour = function() | |
1627 | attack = true | |
1628 | for i = 0, 1, 0.16 do | |
1629 | fat.Event:wait() | |
1630 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1631 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3) | |
1632 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(135), math.rad(0)) * RWC0, 0.3) | |
1633 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)) * LWC0, 0.3) | |
1634 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1635 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1636 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1637 | end | |
1638 | con1 = Hitbox.Touched:connect(function(hit) | |
1639 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
1640 | end | |
1641 | ) | |
1642 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1) | |
1643 | for i = 0, 1, 0.12 do | |
1644 | fat.Event:wait() | |
1645 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 3) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45) | |
1646 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
1647 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
1648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
1649 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1650 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1651 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
1652 | end | |
1653 | so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 0.9) | |
1654 | for i = 0, 1, 0.12 do | |
1655 | fat.Event:wait() | |
1656 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 4) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45) | |
1657 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
1658 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
1659 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
1660 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1661 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
1662 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
1663 | end | |
1664 | con1:disconnect() | |
1665 | attack = false | |
1666 | end | |
1667 | ||
1668 | Stop = function() | |
1669 | attack = true | |
1670 | for i = 0, 1, 0.1 do | |
1671 | fat.Event:wait() | |
1672 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1673 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1674 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(135), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(30), math.rad(30)) * RWC0, 0.3) | |
1675 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
1676 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1677 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3) | |
1678 | Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1679 | end | |
1680 | for i = 0, 1, 0.1 do | |
1681 | fat.Event:wait() | |
1682 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
1683 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
1684 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(45)) * RWC0, 0.3) | |
1685 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)) * LWC0, 0.3) | |
1686 | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * angles(math.rad(0), math.rad(45), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
1687 | LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3) | |
1688 | Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1689 | end | |
1690 | local stopsignref = part(3, Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt()) | |
1691 | stopsignref.Anchored = true | |
1692 | stopsignref.CanCollide = false | |
1693 | stopsignref.Size = Vector3.new(0.2, 0.2, 0.2) | |
1694 | stopsignref.CFrame = RootPart.CFrame * cf(1.05, 0, -2.5) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
1695 | Handleweld.Part0 = stopsignref | |
1696 | Handleweld.Part1 = Handle | |
1697 | Handleweld.C0 = stopsignref.CFrame * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
1698 | coroutine.resume(coroutine.create(function() | |
1699 | while Handleweld.Part0 == stopsignref do | |
1700 | wait(0.5) | |
1701 | MagniDamage(stopsignref, 15, 5, 10, 0, "QuietNormal") | |
1702 | end | |
1703 | end | |
1704 | )) | |
1705 | for i = 1, math.random(2, 4) do | |
1706 | OrbEffect(CustomColor, stopsignref.CFrame * cf(0, 0, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
1707 | end | |
1708 | coroutine.resume(coroutine.create(function() | |
1709 | while 1 do | |
1710 | wait() | |
1711 | if stopsignref.Parent ~= nil then | |
1712 | wait(0.1) | |
1713 | SphereShockwave(CustomColor, stopsignref.CFrame * cf(0, -2.95, 0), 50, 0.1, 50, 0.1, 0.1, 0.1, 0.1) | |
1714 | BlockShockwave(CustomColor, stopsignref.CFrame * cf(math.random(-6, 6), math.random(-2, 2), math.random(-6, 6)), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
1715 | JumpEffect(CustomColor, stopsignref.CFrame * cf(0, -2.9, 0), 25, 25, 0.1, 0.1, 0.1, 1, 0.1) | |
1716 | end | |
1717 | if Humanoid.Health < 0 or Humanoid.Health == 0 then | |
1718 | stopsignref:Destroy() | |
1719 | end | |
1720 | if (((equipped == false or equipped ~= true) or attack ~= false) and attack ~= true) or Handleweld.Part0 ~= stopsignref then | |
1721 | stopsignref:Destroy() | |
1722 | end | |
1723 | end | |
1724 | end | |
1725 | )) | |
1726 | attack = false | |
1727 | end | |
1728 | ||
1729 | NoStop = function() | |
1730 | attack = true | |
1731 | speed.Value = speed.Value - 0.6 | |
1732 | coroutine.resume(coroutine.create(function() | |
1733 | for i,v in pairs(m:children()) do | |
1734 | do | |
1735 | if v:IsA("Part") and v.Name ~= "Hitbox" then | |
1736 | do | |
1737 | coroutine.resume(coroutine.create(function() | |
1738 | for i = 0, 1, 0.1 do | |
1739 | fat.Event:wait() | |
1740 | v.Transparency = v.Transparency + 1 * i | |
1741 | end | |
1742 | v.Transparency = 1 | |
1743 | end | |
1744 | )) | |
1745 | end | |
1746 | end | |
1747 | end | |
1748 | end | |
1749 | end | |
1750 | )) | |
1751 | for i = 0, 1, 0.1 do | |
1752 | fat.Event:wait() | |
1753 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3) | |
1754 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
1755 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(70), math.rad(30)) * RWC0, 0.3) | |
1756 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)) * LWC0, 0.3) | |
1757 | RH.C0 = clerp(RH.C0, cf(1, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
1758 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-40), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
1759 | SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1) | |
1760 | JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1) | |
1761 | end | |
1762 | coroutine.resume(coroutine.create(function() | |
1763 | for i,v in pairs(m:children()) do | |
1764 | do | |
1765 | if v:IsA("Part") and v.Name ~= "Hitbox" then | |
1766 | do | |
1767 | coroutine.resume(coroutine.create(function() | |
1768 | for i = 0, 1, 0.1 do | |
1769 | fat.Event:wait() | |
1770 | v.Transparency = v.Transparency - 1 * i | |
1771 | end | |
1772 | v.Transparency = 0 | |
1773 | end | |
1774 | )) | |
1775 | -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
1776 | ||
1777 | -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_STMT | |
1778 | ||
1779 | end | |
1780 | end | |
1781 | end | |
1782 | end | |
1783 | end | |
1784 | )) | |
1785 | Handleweld.Part0 = RootPart | |
1786 | Handleweld.Part1 = Handle | |
1787 | Handleweld.C0 = cf(-0.25, -8, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0) | |
1788 | so("http://roblox.com/asset/?id=203691785", Hitbox, 1, 1) | |
1789 | for i = 0, 1, 0.1 do | |
1790 | fat.Event:wait() | |
1791 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1792 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1793 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(70), math.rad(0)) * RWC0, 0.3) | |
1794 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
1795 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1796 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1797 | Handleweld.C0 = clerp(Handleweld.C0, cf(-0.25, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0), 0.3) | |
1798 | SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1) | |
1799 | JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1) | |
1800 | end | |
1801 | Handleweld.Part0 = RightArm | |
1802 | Handleweld.Part1 = Handle | |
1803 | Handleweld.C0 = cf(1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * cf(0, 0, 0) * angles(math.rad(120), math.rad(-70), math.rad(0)) * angles(math.rad(0), math.rad(-70), math.rad(0)) * cf(1, 1, 1) | |
1804 | speed.Value = speed.Value + 0.6 | |
1805 | attack = false | |
1806 | end | |
1807 | ||
1808 | LaserThing = function(Part, Spread1, Spread2, Height1, Height2) | |
1809 | coroutine.resume(coroutine.create(function() | |
1810 | local risespeed = 0.08 | |
1811 | local orbthingy = part(3, Character, "SmoothPlastic", 0, 1, CustomColor, "Orb Thingy", vt()) | |
1812 | orbthingy.Anchored = true | |
1813 | orbthingy.CanCollide = false | |
1814 | local orbthingymesh = mesh("SpecialMesh", orbthingy, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10)) | |
1815 | orbthingy.CFrame = Part.CFrame * cf(math.random(-10, 10), math.random(0, 10), math.random(-10, 10)) | |
1816 | BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1) | |
1817 | so("http://roblox.com/asset/?id=183763498", orbthingy, 1, 1.2) | |
1818 | coroutine.resume(coroutine.create(function() | |
1819 | local cf1 = math.random(Height1, Height2) / 10 | |
1820 | local cf2 = math.random(Spread1, Spread2) / 10 | |
1821 | local cf3 = math.random(Spread1, Spread2) / 10 | |
1822 | local n = 10 | |
1823 | for i = 0, 1, risespeed do | |
1824 | fat.Event:wait() | |
1825 | orbthingy.Transparency = 1 - 0.5 * i | |
1826 | orbthingy.CFrame = orbthingy.CFrame * cf(cf2 * i * n, cf1 * i * n, cf3 * i * n) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
1827 | n = n - 0.8 | |
1828 | end | |
1829 | end | |
1830 | )) | |
1831 | coroutine.resume(coroutine.create(function() | |
1832 | wait(1) | |
1833 | orbthingy.CFrame = orbthingy.CFrame * angles(math.rad(180), math.rad(0), math.rad(0)) | |
1834 | local spread = vt(math.random(-1, 1) / 10, math.random(-1, 1) / 10, math.random(-1, 1) / 10) | |
1835 | local StartingPos = orbthingy.Position + vt(0, -1, 0) | |
1836 | local MouseLook = cf((orbthingy.Position + StartingPos) / 2, StartingPos + spread) | |
1837 | local hit, pos = rayCast(orbthingy.Position, MouseLook.lookVector, 999, Character) | |
1838 | --local mag = orbthingy.Position - pos.magnitude | |
1839 | local mag = 0 | |
1840 | CylinderShockwave(CustomColor, CFrame.new((StartingPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 2, 1, 0.5, 0, 0.5, 0.125) | |
1841 | BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1) | |
1842 | BlockShockwave(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075) | |
1843 | JumpEffect(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075) | |
1844 | local refpart = part(3, Character, "SmoothPlastic", 0, 1, "Really black", "Effect", vt()) | |
1845 | refpart.Anchored = true | |
1846 | refpart.CanCollide = false | |
1847 | refpart.CFrame = cf(pos) | |
1848 | game:getService("Debris"):AddItem(refpart, 2) | |
1849 | so("http://roblox.com/asset/?id=183763487", refpart, 1, 1) | |
1850 | MagniDamage(refpart, 10, 5, 10, 0, "Normal", RootPart) | |
1851 | if hit ~= nil then | |
1852 | Damagefunc(hit, 10, 20, 1, "Normal", RootPart, 0) | |
1853 | end | |
1854 | orbthingy.Parent = nil | |
1855 | end | |
1856 | )) | |
1857 | end | |
1858 | )) | |
1859 | end | |
1860 | ||
1861 | local LaserTarget = RootPart | |
1862 | local spawninglasers = false | |
1863 | Lasers = function() | |
1864 | attack = true | |
1865 | spawninglasers = true | |
1866 | coroutine.resume(coroutine.create(function() | |
1867 | while spawninglasers == true do | |
1868 | LaserThing(Torso, -1, 1, 5, 10) | |
1869 | if Handleweld.Part0 == RightArm then | |
1870 | BlockShockwave(CustomColor, cf(Hitbox.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
1871 | else | |
1872 | if Handleweld.Part0 ~= RightArm then | |
1873 | BlockShockwave(CustomColor, RightArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
1874 | end | |
1875 | end | |
1876 | wait(0.1) | |
1877 | end | |
1878 | end | |
1879 | )) | |
1880 | for i = 1, 3 do | |
1881 | for i = 0, 1, 0.1 do | |
1882 | fat.Event:wait() | |
1883 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1884 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1885 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)) * RWC0, 0.3) | |
1886 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
1887 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1888 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1889 | if Handleweld.Part0 == RightArm then | |
1890 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
1891 | end | |
1892 | end | |
1893 | end | |
1894 | spawninglasers = false | |
1895 | attack = false | |
1896 | end | |
1897 | ||
1898 | hold = false | |
1899 | ob1d = function(mouse) | |
1900 | if attack == true or equipped == false then | |
1901 | return | |
1902 | end | |
1903 | hold = true | |
1904 | if Handleweld.Part0 == RightArm then | |
1905 | if attacktype == 1 then | |
1906 | attacktype = 2 | |
1907 | attackone() | |
1908 | else | |
1909 | if attacktype == 2 then | |
1910 | attacktype = 3 | |
1911 | attacktwo() | |
1912 | else | |
1913 | if attacktype == 3 then | |
1914 | attacktype = 4 | |
1915 | attackthree() | |
1916 | else | |
1917 | if attacktype == 4 then | |
1918 | attacktype = 1 | |
1919 | attackfour() | |
1920 | end | |
1921 | end | |
1922 | end | |
1923 | end | |
1924 | end | |
1925 | coroutine.resume(coroutine.create(function() | |
1926 | for i = 1, 50 do | |
1927 | if attack == false then | |
1928 | swait(1) | |
1929 | end | |
1930 | end | |
1931 | if attack == false then | |
1932 | attacktype = 1 | |
1933 | end | |
1934 | end | |
1935 | )) | |
1936 | end | |
1937 | ||
1938 | ob1u = function(mouse) | |
1939 | hold = false | |
1940 | end | |
1941 | ||
1942 | canablity1 = true | |
1943 | canability2 = true | |
1944 | canability3 = true | |
1945 | ||
1946 | function ka(k) | |
1947 | if k == "f" and attack == false then | |
1948 | if equipped == false then | |
1949 | equipped = true | |
1950 | animate.Disabled = true | |
1951 | local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation) | |
1952 | idleanimation:Play() | |
1953 | equipanim() | |
1954 | else | |
1955 | do | |
1956 | if equipped == true and Handleweld.Part0 == RightArm then | |
1957 | equipped = false | |
1958 | unequipanim() | |
1959 | swait(0) | |
1960 | animate.Disabled = false | |
1961 | end | |
1962 | end | |
1963 | end | |
1964 | end | |
1965 | if k == "e" and attack == false and equipped == true and canability1 == true then | |
1966 | if Handleweld.Part0 == RightArm then | |
1967 | Stop() | |
1968 | else | |
1969 | if Handleweld.Part0 ~= RightArm then | |
1970 | NoStop() | |
1971 | end | |
1972 | end | |
1973 | end | |
1974 | if k == "x" and attack == false and equipped == true and canability2 == true then | |
1975 | Lasers() | |
1976 | end | |
1977 | if k == "c" and attack == false and equipped == true and canability3 == true then | |
1978 | end | |
1979 | end | |
1980 | ||
1981 | k2 = function(ka) | |
1982 | end | |
1983 | ||
1984 | mouse.Button1Down:connect(function(mouse) | |
1985 | ob1d(mouse) | |
1986 | end) | |
1987 | ||
1988 | mouse.Button1Up:connect(function(mouse) | |
1989 | ob1u(mouse) | |
1990 | end) | |
1991 | ||
1992 | mouse.KeyDown:connect(ka) | |
1993 | mouse.KeyUp:connect(k2) | |
1994 | player = Player | |
1995 | ch = Character | |
1996 | MMouse = mouse | |
1997 | ||
1998 | ds = function(mouse) | |
1999 | end | |
2000 | ||
2001 | ||
2002 | local Stats = Instance.new("BoolValue") | |
2003 | Stats.Name = "Stats" | |
2004 | Stats.Parent = Character | |
2005 | local Mvmt = Instance.new("NumberValue") | |
2006 | Mvmt.Name = "Movement" | |
2007 | Mvmt.Parent = Stats | |
2008 | Mvmt.Value = 1 | |
2009 | ||
2010 | --Bin.Selected:connect(s) | |
2011 | --Bin.Deselected:connect(ds) | |
2012 | local donum = 0 | |
2013 | local walk = 0 | |
2014 | local walkforw = true | |
2015 | while true do | |
2016 | swait() | |
2017 | if 0.5 <= donum then | |
2018 | handidle = true | |
2019 | else | |
2020 | if donum <= 0 then | |
2021 | handidle = false | |
2022 | end | |
2023 | end | |
2024 | if handidle == false then | |
2025 | donum = donum + 0.003 | |
2026 | else | |
2027 | donum = donum - 0.003 | |
2028 | end | |
2029 | torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
2030 | velderp=RootPart.Velocity.y | |
2031 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
2032 | if equipped == true then | |
2033 | if Anim == "Walk" then | |
2034 | if walkforw == true then | |
2035 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
2036 | LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
2037 | else | |
2038 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
2039 | LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
2040 | end | |
2041 | else | |
2042 | RH.C1 = clerp(RH.C1, RHC1, 0.2) | |
2043 | LH.C1 = clerp(LH.C1, LHC1, 0.2) | |
2044 | end | |
2045 | if 1 < RootPart.Velocity.y and hitfloor == nil then | |
2046 | Anim = "Jump" | |
2047 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
2048 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15) | |
2049 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15) | |
2050 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
2051 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(30)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
2052 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.25) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
2053 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.25) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
2054 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2055 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2056 | end | |
2057 | if Handleweld.Part0 == RightArm then | |
2058 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
2059 | end | |
2060 | else | |
2061 | if RootPart.Velocity.y < -1 and hitfloor == nil then | |
2062 | Anim = "Fall" | |
2063 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
2064 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
2065 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
2066 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
2067 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
2068 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2069 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2070 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2071 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2072 | end | |
2073 | if attack == false and equipped == true and Handleweld.Part0 ~= RightArm then | |
2074 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2075 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
2076 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)) * RWC0, 0.15) | |
2077 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-10)) * LWC0, 0.15) | |
2078 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2079 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2080 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2081 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2082 | end | |
2083 | else | |
2084 | if torvel < 1 and hitfloor ~= nil then | |
2085 | Anim = "Idle" | |
2086 | if attack == false and equipped == true then | |
2087 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.15) | |
2088 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(30 + headidleangle)), 0.15) | |
2089 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 + (donum) / 0.05 + rightarmidleangle), math.rad(0), math.rad(20 - (donum) / 0.05)) * RWC0, 0.15) | |
2090 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30 - (donum) / 0.05 + leftarmidleangle), math.rad(0), math.rad(-30 + (donum) / 0.05)) * LWC0, 0.15) | |
2091 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.15) | |
2092 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15) | |
2093 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2094 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2095 | end | |
2096 | if Handleweld.Part0 == RightArm then | |
2097 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0.75) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
2098 | end | |
2099 | else | |
2100 | if 2 < torvel and torvel < 30 and hitfloor ~= nil then | |
2101 | Anim = "Walk" | |
2102 | walk = walk + 1 | |
2103 | if 15 - 5 * Mvmt.Value <= walk then | |
2104 | walk = 0 | |
2105 | if walkforw == true then | |
2106 | walkforw = false | |
2107 | else | |
2108 | if walkforw == false then | |
2109 | walkforw = true | |
2110 | end | |
2111 | end | |
2112 | end | |
2113 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
2114 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.15) | |
2115 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.15) | |
2116 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
2117 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
2118 | --RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25) | |
2119 | --LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25) | |
2120 | RH.C0 = clerp(RH.C0, cf(1.05, -1, 0) * angles(math.rad(0), math.rad(105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2121 | LH.C0 = clerp(LH.C0, cf(-1.05, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
2122 | --RH.C1 = clerp(RH.C1, RHC1 * cf(0 + rightlegcframe3, 0 + rightlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + rightlegangle)), 0.175 * (speed.Value / 0.9)) | |
2123 | --LH.C1 = clerp(LH.C1, LHC1 * cf(0 + leftlegcframe3, 0 + leftlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 - leftlegangle)), 0.175 * (speed.Value / 0.9)) | |
2124 | end | |
2125 | if Handleweld.Part0 == RightArm then | |
2126 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
2127 | end | |
2128 | end | |
2129 | end | |
2130 | end | |
2131 | end | |
2132 | end | |
2133 | end |