SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
5 | local Player = game:GetService("Players").SlobberyMist9 | |
6 | local Mouse,mouse,UserInputService,ContextActionService | |
7 | do | |
8 | script.Parent = Player.Character | |
9 | local CAS = {Actions={}} | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | Event.Parent = Player.Character | |
13 | local fakeEvent = function() | |
14 | local t = {_fakeEvent=true} | |
15 | t.Connect = function(self,f)self.Function=f end | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | function CAS:BindAction(name,fun,touch,...) | |
22 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
23 | end | |
24 | function CAS:UnbindAction(name) | |
25 | CAS.Actions[name] = nil | |
26 | end | |
27 | local function te(self,ev,...) | |
28 | local t = m[ev] | |
29 | if t and t._fakeEvent and t.Function then | |
30 | t.Function(...) | |
31 | end | |
32 | end | |
33 | m.TrigEvent = te | |
34 | UIS.TrigEvent = te | |
35 | Event.OnServerEvent:Connect(function(plr,io) | |
36 | if plr~=Player then return end | |
37 | if io.isMouse then | |
38 | m.Target = io.Target | |
39 | m.Hit = io.Hit | |
40 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
41 | if io.UserInputState == Enum.UserInputState.Begin then | |
42 | m:TrigEvent("Button1Down") | |
43 | else | |
44 | m:TrigEvent("Button1Up") | |
45 | end | |
46 | else | |
47 | for n,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | if io.UserInputState == Enum.UserInputState.Begin then | |
55 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
56 | UIS:TrigEvent("InputBegan",io,false) | |
57 | else | |
58 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent("InputEnded",io,false) | |
60 | end | |
61 | end | |
62 | end) | |
63 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
64 | end | |
65 | ----------------------- | |
66 | --[[ Organization : Insanity ]]-- | |
67 | --[[ Name : Ender (Thou who collects the souls of innocents) ]]-- | |
68 | --[[ Creator / Captain : DATA RESTRICTED ]]-- | |
69 | ------------------------------------------------------- | |
70 | --A script By makhail07 | |
71 | ||
72 | --Discord Creterisk#2958 | |
73 | ||
74 | --This script is a fucking mistake have fun skids | |
75 | ------------------------------------------------------- | |
76 | ||
77 | local FavIDs = { | |
78 | 340106355, --Nefl Crystals | |
79 | 927529620, --Dimension | |
80 | 876981900, --Fantasy | |
81 | 398987889, --Ordinary Days | |
82 | 1117396305, --Oh wait, it's you. | |
83 | 885996042, --Action Winter Journey | |
84 | 919231299, --Sprawling Idiot Effigy | |
85 | 743466274, --Good Day Sunshine | |
86 | 727411183, --Knife Fight | |
87 | 1402748531, --The Earth Is Counting On You! | |
88 | 595230126 --Robot Language | |
89 | } | |
90 | ||
91 | ||
92 | ||
93 | --The reality of my life isn't real but a Universe -makhail07 | |
94 | wait() | |
95 | local plr = game:service'Players'.LocalPlayer | |
96 | print('Local User is '..plr.Name) | |
97 | local char = plr.Character | |
98 | local hum = char.Humanoid | |
99 | local ra = char["Right Arm"] | |
100 | local la= char["Left Arm"] | |
101 | local rl= char["Right Leg"] | |
102 | local ll = char["Left Leg"] | |
103 | local hed = char.Head | |
104 | local root = char.HumanoidRootPart | |
105 | local rootj = root.RootJoint | |
106 | local tors = char.Torso | |
107 | local mouse = plr:GetMouse() | |
108 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
109 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
110 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
111 | ------------------------------------------------------- | |
112 | --Start Good Stuff-- | |
113 | ------------------------------------------------------- | |
114 | CF = CFrame.new | |
115 | angles = CFrame.Angles | |
116 | attack = false | |
117 | Euler = CFrame.fromEulerAnglesXYZ | |
118 | Rad = math.rad | |
119 | IT = Instance.new | |
120 | BrickC = BrickColor.new | |
121 | Cos = math.cos | |
122 | Acos = math.acos | |
123 | Sin = math.sin | |
124 | Asin = math.asin | |
125 | Abs = math.abs | |
126 | Mrandom = math.random | |
127 | Floor = math.floor | |
128 | ------------------------------------------------------- | |
129 | --End Good Stuff-- | |
130 | ------------------------------------------------------- | |
131 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
132 | RSH, LSH = nil, nil | |
133 | RW = Instance.new("Weld") | |
134 | LW = Instance.new("Weld") | |
135 | RH = tors["Right Hip"] | |
136 | LH = tors["Left Hip"] | |
137 | RSH = tors["Right Shoulder"] | |
138 | LSH = tors["Left Shoulder"] | |
139 | RSH.Parent = nil | |
140 | LSH.Parent = nil | |
141 | RW.Name = "RW" | |
142 | RW.Part0 = tors | |
143 | RW.C0 = CF(1.5, 0.5, 0) | |
144 | RW.C1 = CF(0, 0.5, 0) | |
145 | RW.Part1 = ra | |
146 | RW.Parent = tors | |
147 | LW.Name = "LW" | |
148 | LW.Part0 = tors | |
149 | LW.C0 = CF(-1.5, 0.5, 0) | |
150 | LW.C1 = CF(0, 0.5, 0) | |
151 | LW.Part1 = la | |
152 | LW.Parent = tors | |
153 | Effects = {} | |
154 | ||
155 | ------------------------------------------------------- | |
156 | --Start HeartBeat-- | |
157 | ------------------------------------------------------- | |
158 | ArtificialHB = Instance.new("BindableEvent", script) | |
159 | ArtificialHB.Name = "Heartbeat" | |
160 | script:WaitForChild("Heartbeat") | |
161 | ||
162 | frame = 1 / 60 | |
163 | tf = 0 | |
164 | allowframeloss = false | |
165 | tossremainder = false | |
166 | ||
167 | ||
168 | lastframe = tick() | |
169 | script.Heartbeat:Fire() | |
170 | ||
171 | ||
172 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
173 | tf = tf + s | |
174 | if tf >= frame then | |
175 | if allowframeloss then | |
176 | script.Heartbeat:Fire() | |
177 | lastframe = tick() | |
178 | else | |
179 | for i = 1, math.floor(tf / frame) do | |
180 | script.Heartbeat:Fire() | |
181 | end | |
182 | lastframe = tick() | |
183 | end | |
184 | if tossremainder then | |
185 | tf = 0 | |
186 | else | |
187 | tf = tf - frame * math.floor(tf / frame) | |
188 | end | |
189 | end | |
190 | end) | |
191 | ------------------------------------------------------- | |
192 | --End HeartBeat-- | |
193 | ------------------------------------------------------- | |
194 | ||
195 | ------------------------------------------------------- | |
196 | --Start Important Functions-- | |
197 | ------------------------------------------------------- | |
198 | function swait(num) | |
199 | if num == 0 or num == nil then | |
200 | game:service("RunService").Stepped:wait(0) | |
201 | else | |
202 | for i = 0, num do | |
203 | game:service("RunService").Stepped:wait(0) | |
204 | end | |
205 | end | |
206 | end | |
207 | function thread(f) | |
208 | coroutine.resume(coroutine.create(f)) | |
209 | end | |
210 | function clerp(a, b, t) | |
211 | local qa = { | |
212 | QuaternionFromCFrame(a) | |
213 | } | |
214 | local qb = { | |
215 | QuaternionFromCFrame(b) | |
216 | } | |
217 | local ax, ay, az = a.x, a.y, a.z | |
218 | local bx, by, bz = b.x, b.y, b.z | |
219 | local _t = 1 - t | |
220 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
221 | end | |
222 | function QuaternionFromCFrame(cf) | |
223 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
224 | local trace = m00 + m11 + m22 | |
225 | if trace > 0 then | |
226 | local s = math.sqrt(1 + trace) | |
227 | local recip = 0.5 / s | |
228 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
229 | else | |
230 | local i = 0 | |
231 | if m00 < m11 then | |
232 | i = 1 | |
233 | end | |
234 | if m22 > (i == 0 and m00 or m11) then | |
235 | i = 2 | |
236 | end | |
237 | if i == 0 then | |
238 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
239 | local recip = 0.5 / s | |
240 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
241 | elseif i == 1 then | |
242 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
243 | local recip = 0.5 / s | |
244 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
245 | elseif i == 2 then | |
246 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
247 | local recip = 0.5 / s | |
248 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
249 | end | |
250 | end | |
251 | end | |
252 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
253 | local xs, ys, zs = x + x, y + y, z + z | |
254 | local wx, wy, wz = w * xs, w * ys, w * zs | |
255 | local xx = x * xs | |
256 | local xy = x * ys | |
257 | local xz = x * zs | |
258 | local yy = y * ys | |
259 | local yz = y * zs | |
260 | local zz = z * zs | |
261 | 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)) | |
262 | end | |
263 | function QuaternionSlerp(a, b, t) | |
264 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
265 | local startInterp, finishInterp | |
266 | if cosTheta >= 1.0E-4 then | |
267 | if 1 - cosTheta > 1.0E-4 then | |
268 | local theta = math.acos(cosTheta) | |
269 | local invSinTheta = 1 / Sin(theta) | |
270 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
271 | finishInterp = Sin(t * theta) * invSinTheta | |
272 | else | |
273 | startInterp = 1 - t | |
274 | finishInterp = t | |
275 | end | |
276 | elseif 1 + cosTheta > 1.0E-4 then | |
277 | local theta = math.acos(-cosTheta) | |
278 | local invSinTheta = 1 / Sin(theta) | |
279 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
280 | finishInterp = Sin(t * theta) * invSinTheta | |
281 | else | |
282 | startInterp = t - 1 | |
283 | finishInterp = t | |
284 | end | |
285 | 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 | |
286 | end | |
287 | function rayCast(Position, Direction, Range, Ignore) | |
288 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
289 | end | |
290 | local RbxUtility = LoadLibrary("RbxUtility") | |
291 | local Create = RbxUtility.Create | |
292 | ||
293 | ------------------------------------------------------- | |
294 | --Start Damage Function-- | |
295 | ------------------------------------------------------- | |
296 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
297 | if hit.Parent == nil then | |
298 | return | |
299 | end | |
300 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
301 | for _, v in pairs(hit.Parent:children()) do | |
302 | if v:IsA("Humanoid") then | |
303 | h = v | |
304 | end | |
305 | end | |
306 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then | |
307 | ||
308 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
309 | end | |
310 | ||
311 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
312 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
313 | if hit.Parent.DebounceHit.Value == true then | |
314 | return | |
315 | end | |
316 | end | |
317 | if insta == true then | |
318 | hit.Parent:FindFirstChild("Head"):BreakJoints() | |
319 | end | |
320 | local c = Create("ObjectValue"){ | |
321 | Name = "creator", | |
322 | Value = game:service("Players").LocalPlayer, | |
323 | Parent = h, | |
324 | } | |
325 | game:GetService("Debris"):AddItem(c, .5) | |
326 | if HitSound ~= nil and HitPitch ~= nil then | |
327 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
328 | end | |
329 | local Damage = math.random(minim, maxim) | |
330 | local blocked = false | |
331 | local block = hit.Parent:findFirstChild("Block") | |
332 | if block ~= nil then | |
333 | if block.className == "IntValue" then | |
334 | if block.Value > 0 then | |
335 | blocked = true | |
336 | block.Value = block.Value - 1 | |
337 | print(block.Value) | |
338 | end | |
339 | end | |
340 | end | |
341 | if blocked == false then | |
342 | h.Health = h.Health - Damage | |
343 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
344 | else | |
345 | h.Health = h.Health - (Damage / 2) | |
346 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
347 | end | |
348 | if Type == "Knockdown" then | |
349 | local hum = hit.Parent.Humanoid | |
350 | hum.PlatformStand = true | |
351 | coroutine.resume(coroutine.create(function(HHumanoid) | |
352 | swait(1) | |
353 | HHumanoid.PlatformStand = false | |
354 | end), hum) | |
355 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
356 | local bodvol = Create("BodyVelocity"){ | |
357 | velocity = angle * knockback, | |
358 | P = 5000, | |
359 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
360 | Parent = hit, | |
361 | } | |
362 | local rl = Create("BodyAngularVelocity"){ | |
363 | P = 3000, | |
364 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
365 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
366 | Parent = hit, | |
367 | } | |
368 | game:GetService("Debris"):AddItem(bodvol, .5) | |
369 | game:GetService("Debris"):AddItem(rl, .5) | |
370 | elseif Type == "Normal" then | |
371 | local vp = Create("BodyVelocity"){ | |
372 | P = 500, | |
373 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
374 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
375 | } | |
376 | if knockback > 0 then | |
377 | vp.Parent = hit.Parent.Torso | |
378 | end | |
379 | game:GetService("Debris"):AddItem(vp, .5) | |
380 | elseif Type == "Up" then | |
381 | local bodyVelocity = Create("BodyVelocity"){ | |
382 | velocity = Vector3.new(0, 20, 0), | |
383 | P = 5000, | |
384 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
385 | Parent = hit, | |
386 | } | |
387 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
388 | elseif Type == "DarkUp" then | |
389 | coroutine.resume(coroutine.create(function() | |
390 | for i = 0, 1, 0.1 do | |
391 | swait() | |
392 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
393 | end | |
394 | end)) | |
395 | local bodyVelocity = Create("BodyVelocity"){ | |
396 | velocity = Vector3.new(0, 20, 0), | |
397 | P = 5000, | |
398 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
399 | Parent = hit, | |
400 | } | |
401 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
402 | elseif Type == "Snare" then | |
403 | local bp = Create("BodyPosition"){ | |
404 | P = 2000, | |
405 | D = 100, | |
406 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
407 | position = hit.Parent.Torso.Position, | |
408 | Parent = hit.Parent.Torso, | |
409 | } | |
410 | game:GetService("Debris"):AddItem(bp, 1) | |
411 | elseif Type == "Freeze" then | |
412 | local BodPos = Create("BodyPosition"){ | |
413 | P = 50000, | |
414 | D = 1000, | |
415 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
416 | position = hit.Parent.Torso.Position, | |
417 | Parent = hit.Parent.Torso, | |
418 | } | |
419 | local BodGy = Create("BodyGyro") { | |
420 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
421 | P = 20e+003, | |
422 | Parent = hit.Parent.Torso, | |
423 | cframe = hit.Parent.Torso.CFrame, | |
424 | } | |
425 | hit.Parent.Torso.Anchored = true | |
426 | coroutine.resume(coroutine.create(function(Part) | |
427 | swait(1.5) | |
428 | Part.Anchored = false | |
429 | end), hit.Parent.Torso) | |
430 | game:GetService("Debris"):AddItem(BodPos, 3) | |
431 | game:GetService("Debris"):AddItem(BodGy, 3) | |
432 | end | |
433 | local debounce = Create("BoolValue"){ | |
434 | Name = "DebounceHit", | |
435 | Parent = hit.Parent, | |
436 | Value = true, | |
437 | } | |
438 | game:GetService("Debris"):AddItem(debounce, Delay) | |
439 | c = Create("ObjectValue"){ | |
440 | Name = "creator", | |
441 | Value = Player, | |
442 | Parent = h, | |
443 | } | |
444 | game:GetService("Debris"):AddItem(c, .5) | |
445 | end | |
446 | end | |
447 | ------------------------------------------------------- | |
448 | --End Damage Function-- | |
449 | ------------------------------------------------------- | |
450 | ||
451 | ------------------------------------------------------- | |
452 | --Start Damage Function Customization-- | |
453 | ------------------------------------------------------- | |
454 | function ShowDamage(Pos, Text, Time, Color) | |
455 | local Rate = (1 / 30) | |
456 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
457 | local Text = (Text or "") | |
458 | local Time = (Time or 2) | |
459 | local Color = (Color or Color3.new(1, 0, 1)) | |
460 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
461 | EffectPart.Anchored = true | |
462 | local BillboardGui = Create("BillboardGui"){ | |
463 | Size = UDim2.new(3, 0, 3, 0), | |
464 | Adornee = EffectPart, | |
465 | Parent = EffectPart, | |
466 | } | |
467 | local TextLabel = Create("TextLabel"){ | |
468 | BackgroundTransparency = 1, | |
469 | Size = UDim2.new(1, 0, 1, 0), | |
470 | Text = Text, | |
471 | Font = "Bodoni", | |
472 | TextColor3 = Color, | |
473 | TextScaled = true, | |
474 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
475 | Parent = BillboardGui, | |
476 | } | |
477 | game.Debris:AddItem(EffectPart, (Time)) | |
478 | EffectPart.Parent = game:GetService("Workspace") | |
479 | delay(0, function() | |
480 | local Frames = (Time / Rate) | |
481 | for Frame = 1, Frames do | |
482 | wait(Rate) | |
483 | local Percent = (Frame / Frames) | |
484 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
485 | TextLabel.TextTransparency = Percent | |
486 | end | |
487 | if EffectPart and EffectPart.Parent then | |
488 | EffectPart:Destroy() | |
489 | end | |
490 | end) | |
491 | end | |
492 | ------------------------------------------------------- | |
493 | --End Damage Function Customization-- | |
494 | ------------------------------------------------------- | |
495 | ||
496 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
497 | for _, c in pairs(workspace:children()) do | |
498 | local hum = c:findFirstChild("Humanoid") | |
499 | if hum ~= nil then | |
500 | local head = c:findFirstChild("Head") | |
501 | if head ~= nil then | |
502 | local targ = head.Position - Part.Position | |
503 | local mag = targ.magnitude | |
504 | if magni >= mag and c.Name ~= plr.Name then | |
505 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
506 | end | |
507 | end | |
508 | end | |
509 | end | |
510 | end | |
511 | ||
512 | ||
513 | CFuncs = { | |
514 | Part = { | |
515 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
516 | local Part = Create("Part")({ | |
517 | Parent = Parent, | |
518 | Reflectance = Reflectance, | |
519 | Transparency = Transparency, | |
520 | CanCollide = false, | |
521 | Locked = true, | |
522 | BrickColor = BrickColor.new(tostring(BColor)), | |
523 | Name = Name, | |
524 | Size = Size, | |
525 | Material = Material | |
526 | }) | |
527 | RemoveOutlines(Part) | |
528 | return Part | |
529 | end | |
530 | }, | |
531 | Mesh = { | |
532 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
533 | local Msh = Create(Mesh)({ | |
534 | Parent = Part, | |
535 | Offset = OffSet, | |
536 | Scale = Scale | |
537 | }) | |
538 | if Mesh == "SpecialMesh" then | |
539 | Msh.MeshType = MeshType | |
540 | Msh.MeshId = MeshId | |
541 | end | |
542 | return Msh | |
543 | end | |
544 | }, | |
545 | Mesh = { | |
546 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
547 | local Msh = Create(Mesh)({ | |
548 | Parent = Part, | |
549 | Offset = OffSet, | |
550 | Scale = Scale | |
551 | }) | |
552 | if Mesh == "SpecialMesh" then | |
553 | Msh.MeshType = MeshType | |
554 | Msh.MeshId = MeshId | |
555 | end | |
556 | return Msh | |
557 | end | |
558 | }, | |
559 | Weld = { | |
560 | Create = function(Parent, Part0, Part1, C0, C1) | |
561 | local Weld = Create("Weld")({ | |
562 | Parent = Parent, | |
563 | Part0 = Part0, | |
564 | Part1 = Part1, | |
565 | C0 = C0, | |
566 | C1 = C1 | |
567 | }) | |
568 | return Weld | |
569 | end | |
570 | }, | |
571 | Sound = { | |
572 | Create = function(id, par, vol, pit) | |
573 | coroutine.resume(coroutine.create(function() | |
574 | local S = Create("Sound")({ | |
575 | Volume = vol, | |
576 | Pitch = pit or 1, | |
577 | SoundId = id, | |
578 | Parent = par or workspace | |
579 | }) | |
580 | wait() | |
581 | S:play() | |
582 | game:GetService("Debris"):AddItem(S, 6) | |
583 | end)) | |
584 | end | |
585 | }, | |
586 | ParticleEmitter = { | |
587 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
588 | local fp = Create("ParticleEmitter")({ | |
589 | Parent = Parent, | |
590 | Color = ColorSequence.new(Color1, Color2), | |
591 | LightEmission = LightEmission, | |
592 | Size = Size, | |
593 | Texture = Texture, | |
594 | Transparency = Transparency, | |
595 | ZOffset = ZOffset, | |
596 | Acceleration = Accel, | |
597 | Drag = Drag, | |
598 | LockedToPart = LockedToPart, | |
599 | VelocityInheritance = VelocityInheritance, | |
600 | EmissionDirection = EmissionDirection, | |
601 | Enabled = Enabled, | |
602 | Lifetime = LifeTime, | |
603 | Rate = Rate, | |
604 | Rotation = Rotation, | |
605 | RotSpeed = RotSpeed, | |
606 | Speed = Speed, | |
607 | VelocitySpread = VelocitySpread | |
608 | }) | |
609 | return fp | |
610 | end | |
611 | } | |
612 | } | |
613 | function RemoveOutlines(part) | |
614 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
615 | end | |
616 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
617 | local Part = Create("Part")({ | |
618 | formFactor = FormFactor, | |
619 | Parent = Parent, | |
620 | Reflectance = Reflectance, | |
621 | Transparency = Transparency, | |
622 | CanCollide = false, | |
623 | Locked = true, | |
624 | BrickColor = BrickColor.new(tostring(BColor)), | |
625 | Name = Name, | |
626 | Size = Size, | |
627 | Material = Material | |
628 | }) | |
629 | RemoveOutlines(Part) | |
630 | return Part | |
631 | end | |
632 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
633 | local Msh = Create(Mesh)({ | |
634 | Parent = Part, | |
635 | Offset = OffSet, | |
636 | Scale = Scale | |
637 | }) | |
638 | if Mesh == "SpecialMesh" then | |
639 | Msh.MeshType = MeshType | |
640 | Msh.MeshId = MeshId | |
641 | end | |
642 | return Msh | |
643 | end | |
644 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
645 | local Weld = Create("Weld")({ | |
646 | Parent = Parent, | |
647 | Part0 = Part0, | |
648 | Part1 = Part1, | |
649 | C0 = C0, | |
650 | C1 = C1 | |
651 | }) | |
652 | return Weld | |
653 | end | |
654 | ||
655 | ||
656 | ------------------------------------------------------- | |
657 | --Start Effect Function-- | |
658 | ------------------------------------------------------- | |
659 | EffectModel = Instance.new("Model", char) | |
660 | Effects = { | |
661 | Block = { | |
662 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
663 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
664 | prt.Anchored = true | |
665 | prt.CFrame = cframe | |
666 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
667 | game:GetService("Debris"):AddItem(prt, 10) | |
668 | if Type == 1 or Type == nil then | |
669 | table.insert(Effects, { | |
670 | prt, | |
671 | "Block1", | |
672 | delay, | |
673 | x3, | |
674 | y3, | |
675 | z3, | |
676 | msh | |
677 | }) | |
678 | elseif Type == 2 then | |
679 | table.insert(Effects, { | |
680 | prt, | |
681 | "Block2", | |
682 | delay, | |
683 | x3, | |
684 | y3, | |
685 | z3, | |
686 | msh | |
687 | }) | |
688 | else | |
689 | table.insert(Effects, { | |
690 | prt, | |
691 | "Block3", | |
692 | delay, | |
693 | x3, | |
694 | y3, | |
695 | z3, | |
696 | msh | |
697 | }) | |
698 | end | |
699 | end | |
700 | }, | |
701 | Sphere = { | |
702 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
703 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
704 | prt.Anchored = true | |
705 | prt.CFrame = cframe | |
706 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
707 | game:GetService("Debris"):AddItem(prt, 10) | |
708 | table.insert(Effects, { | |
709 | prt, | |
710 | "Cylinder", | |
711 | delay, | |
712 | x3, | |
713 | y3, | |
714 | z3, | |
715 | msh | |
716 | }) | |
717 | end | |
718 | }, | |
719 | Cylinder = { | |
720 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
721 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
722 | prt.Anchored = true | |
723 | prt.CFrame = cframe | |
724 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
725 | game:GetService("Debris"):AddItem(prt, 10) | |
726 | table.insert(Effects, { | |
727 | prt, | |
728 | "Cylinder", | |
729 | delay, | |
730 | x3, | |
731 | y3, | |
732 | z3, | |
733 | msh | |
734 | }) | |
735 | end | |
736 | }, | |
737 | Wave = { | |
738 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
739 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
740 | prt.Anchored = true | |
741 | prt.CFrame = cframe | |
742 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
743 | game:GetService("Debris"):AddItem(prt, 10) | |
744 | table.insert(Effects, { | |
745 | prt, | |
746 | "Cylinder", | |
747 | delay, | |
748 | x3 / 60, | |
749 | y3 / 60, | |
750 | z3 / 60, | |
751 | msh | |
752 | }) | |
753 | end | |
754 | }, | |
755 | Ring = { | |
756 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
757 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
758 | prt.Anchored = true | |
759 | prt.CFrame = cframe | |
760 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
761 | game:GetService("Debris"):AddItem(prt, 10) | |
762 | table.insert(Effects, { | |
763 | prt, | |
764 | "Cylinder", | |
765 | delay, | |
766 | x3, | |
767 | y3, | |
768 | z3, | |
769 | msh | |
770 | }) | |
771 | end | |
772 | }, | |
773 | Break = { | |
774 | Create = function(brickcolor, cframe, x1, y1, z1) | |
775 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
776 | prt.Anchored = true | |
777 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
778 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
779 | local num = math.random(10, 50) / 1000 | |
780 | game:GetService("Debris"):AddItem(prt, 10) | |
781 | table.insert(Effects, { | |
782 | prt, | |
783 | "Shatter", | |
784 | num, | |
785 | prt.CFrame, | |
786 | math.random() - math.random(), | |
787 | 0, | |
788 | math.random(50, 100) / 100 | |
789 | }) | |
790 | end | |
791 | }, | |
792 | Spiral = { | |
793 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
794 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
795 | prt.Anchored = true | |
796 | prt.CFrame = cframe | |
797 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
798 | game:GetService("Debris"):AddItem(prt, 10) | |
799 | table.insert(Effects, { | |
800 | prt, | |
801 | "Cylinder", | |
802 | delay, | |
803 | x3, | |
804 | y3, | |
805 | z3, | |
806 | msh | |
807 | }) | |
808 | end | |
809 | }, | |
810 | Push = { | |
811 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
812 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
813 | prt.Anchored = true | |
814 | prt.CFrame = cframe | |
815 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
816 | game:GetService("Debris"):AddItem(prt, 10) | |
817 | table.insert(Effects, { | |
818 | prt, | |
819 | "Cylinder", | |
820 | delay, | |
821 | x3, | |
822 | y3, | |
823 | z3, | |
824 | msh | |
825 | }) | |
826 | end | |
827 | } | |
828 | } | |
829 | ------------------------------------------------------- | |
830 | --End Effect Function-- | |
831 | ------------------------------------------------------- | |
832 | ||
833 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
834 | local NSound = nil | |
835 | coroutine.resume(coroutine.create(function() | |
836 | NSound = Instance.new("Sound", PARENT) | |
837 | NSound.Volume = VOLUME | |
838 | NSound.Pitch = PITCH | |
839 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
840 | swait() | |
841 | NSound:play() | |
842 | game:GetService("Debris"):AddItem(NSound, 10) | |
843 | end)) | |
844 | return NSound | |
845 | end | |
846 | ||
847 | function Eviscerate(dude) | |
848 | if dude.Name ~= char then | |
849 | local bgf = IT("BodyGyro", dude.Head) | |
850 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
851 | local val = IT("BoolValue", dude) | |
852 | val.Name = "IsHit" | |
853 | local ds = coroutine.wrap(function() | |
854 | dude:WaitForChild("Head"):BreakJoints() | |
855 | wait(0.5) | |
856 | target = nil | |
857 | coroutine.resume(coroutine.create(function() | |
858 | for i, v in pairs(dude:GetChildren()) do | |
859 | if v:IsA("Accessory") then | |
860 | v:Destroy() | |
861 | end | |
862 | if v:IsA("Humanoid") then | |
863 | v:Destroy() | |
864 | end | |
865 | if v:IsA("CharacterMesh") then | |
866 | v:Destroy() | |
867 | end | |
868 | if v:IsA("Model") then | |
869 | v:Destroy() | |
870 | end | |
871 | if v:IsA("Part") or v:IsA("MeshPart") then | |
872 | for x, o in pairs(v:GetChildren()) do | |
873 | if o:IsA("Decal") then | |
874 | o:Destroy() | |
875 | end | |
876 | end | |
877 | coroutine.resume(coroutine.create(function() | |
878 | v.Material = "Neon" | |
879 | v.CanCollide = false | |
880 | local PartEmmit1 = IT("ParticleEmitter", v) | |
881 | PartEmmit1.LightEmission = 1 | |
882 | PartEmmit1.Texture = "rbxassetid://284205403" | |
883 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
884 | PartEmmit1.Rate = 150 | |
885 | PartEmmit1.Lifetime = NumberRange.new(1) | |
886 | PartEmmit1.Size = NumberSequence.new({ | |
887 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
888 | NumberSequenceKeypoint.new(1, 0, 0) | |
889 | }) | |
890 | PartEmmit1.Transparency = NumberSequence.new({ | |
891 | NumberSequenceKeypoint.new(0, 0, 0), | |
892 | NumberSequenceKeypoint.new(1, 1, 0) | |
893 | }) | |
894 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
895 | PartEmmit1.VelocitySpread = 30000 | |
896 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
897 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
898 | local BodPoss = IT("BodyPosition", v) | |
899 | BodPoss.P = 3000 | |
900 | BodPoss.D = 1000 | |
901 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
902 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
903 | v.Color = maincolor.Color | |
904 | coroutine.resume(coroutine.create(function() | |
905 | for i = 0, 49 do | |
906 | swait(1) | |
907 | v.Transparency = v.Transparency + 0.08 | |
908 | end | |
909 | wait(0.5) | |
910 | PartEmmit1.Enabled = false | |
911 | wait(3) | |
912 | v:Destroy() | |
913 | dude:Destroy() | |
914 | end)) | |
915 | end)) | |
916 | end | |
917 | end | |
918 | end)) | |
919 | end) | |
920 | ds() | |
921 | end | |
922 | end | |
923 | function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
924 | local type = type | |
925 | local rng = Instance.new("Part", char) | |
926 | rng.Anchored = true | |
927 | rng.BrickColor = color | |
928 | rng.CanCollide = false | |
929 | rng.FormFactor = 3 | |
930 | rng.Name = "Ring" | |
931 | rng.Material = "Neon" | |
932 | rng.Size = Vector3.new(1, 1, 1) | |
933 | rng.Transparency = 0 | |
934 | rng.TopSurface = 0 | |
935 | rng.BottomSurface = 0 | |
936 | rng.CFrame = pos | |
937 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
938 | local rngm = Instance.new("SpecialMesh", rng) | |
939 | rngm.MeshType = "Sphere" | |
940 | rngm.Scale = Vector3.new(x1, y1, z1) | |
941 | local scaler2 = 1 | |
942 | local speeder = FastSpeed | |
943 | if type == "Add" then | |
944 | scaler2 = 1 * value | |
945 | elseif type == "Divide" then | |
946 | scaler2 = 1 / value | |
947 | end | |
948 | coroutine.resume(coroutine.create(function() | |
949 | for i = 0, 10 / bonuspeed, 0.1 do | |
950 | swait() | |
951 | if type == "Add" then | |
952 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
953 | elseif type == "Divide" then | |
954 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
955 | end | |
956 | rng.BrickColor = BrickColor.random() | |
957 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
958 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
959 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
960 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
961 | end | |
962 | rng:Destroy() | |
963 | end)) | |
964 | end | |
965 | ||
966 | function FindNearestHead(Position, Distance, SinglePlayer) | |
967 | if SinglePlayer then | |
968 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
969 | end | |
970 | local List = {} | |
971 | for i, v in pairs(workspace:GetChildren()) do | |
972 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then | |
973 | table.insert(List, v) | |
974 | end | |
975 | end | |
976 | return List | |
977 | end | |
978 | function SoulSteal(dude) | |
979 | if dude.Name ~= char then | |
980 | local bgf = IT("BodyGyro", dude.Head) | |
981 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
982 | local val = IT("BoolValue", dude) | |
983 | val.Name = "IsHit" | |
984 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
985 | local soulst = coroutine.wrap(function() | |
986 | local soul = Instance.new("Part",dude) | |
987 | soul.Size = Vector3.new(1,1,1) | |
988 | soul.CanCollide = false | |
989 | soul.Anchored = false | |
990 | soul.Position = torso.Position | |
991 | soul.Transparency = 1 | |
992 | local PartEmmit1 = IT("ParticleEmitter", soul) | |
993 | PartEmmit1.LightEmission = 1 | |
994 | PartEmmit1.Texture = "rbxassetid://569507414" | |
995 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
996 | PartEmmit1.Rate = 250 | |
997 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
998 | PartEmmit1.Size = NumberSequence.new({ | |
999 | NumberSequenceKeypoint.new(0, 1, 0), | |
1000 | NumberSequenceKeypoint.new(1, 0, 0) | |
1001 | }) | |
1002 | PartEmmit1.Transparency = NumberSequence.new({ | |
1003 | NumberSequenceKeypoint.new(0, 0, 0), | |
1004 | NumberSequenceKeypoint.new(1, 1, 0) | |
1005 | }) | |
1006 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
1007 | PartEmmit1.VelocitySpread = 30000 | |
1008 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
1009 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
1010 | local BodPoss = IT("BodyPosition", soul) | |
1011 | BodPoss.P = 3000 | |
1012 | BodPoss.D = 1000 | |
1013 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
1014 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
1015 | wait(1.6) | |
1016 | soul.Touched:connect(function(hit) | |
1017 | if hit.Parent == char then | |
1018 | soul:Destroy() | |
1019 | end | |
1020 | end) | |
1021 | wait(1.2) | |
1022 | while soul do | |
1023 | swait() | |
1024 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
1025 | BodPoss.Position = tors.Position | |
1026 | end | |
1027 | end) | |
1028 | soulst() | |
1029 | end | |
1030 | end | |
1031 | function FaceMouse() | |
1032 | local Cam = workspace.CurrentCamera | |
1033 | return { | |
1034 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
1035 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
1036 | } | |
1037 | end | |
1038 | ------------------------------------------------------- | |
1039 | --End Important Functions-- | |
1040 | ------------------------------------------------------- | |
1041 | --[[ | |
1042 | Thanks for using Build-To-Lua by jarredbcv. | |
1043 | ]]-- | |
1044 | ||
1045 | New = function(Object, Parent, Name, Data) | |
1046 | local Object = Instance.new(Object) | |
1047 | for Index, Value in pairs(Data or {}) do | |
1048 | Object[Index] = Value | |
1049 | end | |
1050 | Object.Parent = Parent | |
1051 | Object.Name = Name | |
1052 | return Object | |
1053 | end | |
1054 | ||
1055 | Gaunty = New("Model",char,"Gaunty",{}) | |
1056 | Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1057 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1058 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1059 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1060 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1061 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1062 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1063 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1064 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1065 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1066 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1067 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1068 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1069 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1070 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1071 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1072 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1073 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1074 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1075 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1076 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1077 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1078 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1079 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1080 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1081 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1082 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1083 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1084 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1085 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1086 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1087 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1088 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1089 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1090 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1091 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1092 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1093 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1094 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1095 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1096 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1097 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1098 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1099 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1100 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1101 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1102 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1103 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1104 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1105 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1106 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1107 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1108 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1109 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1110 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1111 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1112 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1113 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1114 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1115 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1116 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1117 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1118 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1119 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1120 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1121 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1122 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1123 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1124 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1125 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1126 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1127 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1128 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1129 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1130 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1131 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1132 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1133 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1134 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1135 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1136 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1137 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1138 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1139 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1140 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1141 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1142 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1143 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1144 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1145 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1146 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1147 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1148 | Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1149 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1150 | ||
1151 | Gaunty2 = New("Model",char,"Gaunty2",{}) | |
1152 | Handle2 = New("Part",Gaunty2,"Handle2",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1153 | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1154 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595367, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1155 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.161155701, 0.603512764, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1156 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595439, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1157 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.471122265, 0.600126743, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1158 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765394, 3.6259551, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1159 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.148813248, 0.606900692, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1160 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765375, 3.62595558, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1161 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.44878149, 0.610178471, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1162 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765621, 2.535954, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1163 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.459103584, -0.489744902, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1164 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765722, 2.535954, -77.6579285, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1165 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.149137497, -0.486358404, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1166 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 2.53595448, -77.6579514, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1167 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.160831928, -0.482971191, -3.05175781e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1168 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.535954, -77.6579361, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1169 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.460799217, -0.479694366, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1170 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64554, -77.661377, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1171 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1172 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(-0.00235033035, 0.624870777, 0.00692749023, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1173 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.6649003, 3.73544407, -77.6652145, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1174 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1175 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(0.000444412231, 0.714846611, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1176 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.5255506, -77.65522, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1177 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1178 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(0.00275993347, 0.504871368, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1179 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553699, -77.6613541, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1180 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1181 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(0.00966835022, -0.465003729, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1182 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1183 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1184 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1185 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480589, 2.43554854, -77.65522, 0.999896049, 0.0109243765, 0.00963270571, -0.0110270213, 0.999884367, 0.010667949, -0.0095150033, -0.0107730031, 0.999898791),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1186 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) | |
1187 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0.999895453, -0.0110270148, -0.00951500237, 0.01092437, 0.999883771, -0.0107730012, 0.0096326964, 0.0106679378, 0.999898195),C1 = CFrame.new(0.0147781372, -0.585002184, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1188 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1189 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1190 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265511, 3.6259563, -77.8179169, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1191 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.00464916229, 0.606932163, -0.149848938, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1192 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765451, 3.62595701, -77.4879303, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1193 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.00278902054, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1194 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595749, -77.1979294, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1195 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.00554895401, 0.600308895, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1196 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1197 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1198 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1199 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1200 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179092, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1201 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00736999512, -0.482939243, -0.161468506, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1202 | NeonPart = New("Part",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595567, -78.1079254, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1203 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.0101289749, -0.479815722, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1204 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.1979218, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1205 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.00554847717, 0.600308895, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1206 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765404, 3.62595797, -77.4879303, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1207 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(-0.0027885437, 0.603433609, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1208 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765356, 3.6259594, -77.8179321, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1209 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.000351905823, 0.606989861, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1210 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765356, 3.62595844, -78.107933, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1211 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00311136246, 0.610113144, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1212 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1213 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1214 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179092, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1215 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.0123701096, -0.48288393, -0.161422729, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1216 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1217 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1218 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595662, -77.1979218, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1219 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00647068024, -0.489563465, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1220 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595797, -77.6579132, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1221 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.471121788, 0.600130081, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1222 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.6259582, -77.6579132, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1223 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.161154747, 0.603517056, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1224 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765347, 3.62595868, -77.6579132, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1225 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.148813725, 0.60690403, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1226 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.2176528, 3.62595916, -77.6579132, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1227 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.448782444, 0.610181808, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1228 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595757, -77.6579132, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1229 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.460801601, -0.479691029, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1230 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579361, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1231 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.160833836, -0.48296833, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1232 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765436, 2.5359571, -77.6579208, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1233 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.149134636, -0.486355305, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1234 | Part = New("Part",Gaunty2,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 2.53595734, -77.6579208, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1235 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(-0.459102154, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1236 | NeonPart = New("WedgePart",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 3.45095801, -77.7865524, 1.00000179, -2.26282282e-09, 1.11758709e-08, -2.28465069e-09, 1.00000179, 1.39698386e-08, 1.11758709e-08, 1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1237 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -1.44791557e-09, 7.4505806e-09, -1.44063961e-09, 1.00000119, 9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.00760221481, 0.431732655, -0.120254517, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1238 | NeonPart = New("WedgePart",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 3.45095849, -77.521553, -1.00000179, -2.26282282e-09, -9.87201929e-08, 2.28465069e-09, 1.00000179, -1.39698386e-08, 7.63684511e-08, 1.39698386e-08, -1.00000179),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1239 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1.00000119, 1.45519152e-09, 8.00937414e-08, -1.44063961e-09, 1.00000119, 9.31322575e-09, -9.49949026e-08, -9.31322575e-09, -1.00000119),C1 = CFrame.new(0.00508117676, 0.428878307, 0.144721985, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1240 | NeonPart = New("WedgePart",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203308, 2.81095791, -77.7865601, -1.00000179, 8.98216967e-08, 1.11758709e-08, -8.52742232e-08, -1.00000179, 1.39698386e-08, -1.11758709e-08, -1.39698386e-08, 1.00000179),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1241 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -1.00000119, -8.61036824e-08, -7.4505806e-09, 8.89922376e-08, -1.00000119, -9.31322575e-09, 7.4505806e-09, 9.31322575e-09, 1.00000119),C1 = CFrame.new(0.0146603584, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1242 | NeonPart = New("WedgePart",Gaunty2,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.6620326, 2.82095814, -77.5215454, 1.00000179, -8.52887752e-08, 7.63684511e-08, -8.98362487e-08, -1.00000179, -1.39698386e-08, 9.87201929e-08, -1.39698386e-08, -1.00000179),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
1243 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 1.00000119, -8.89995135e-08, 9.49949026e-08, -8.61109584e-08, -1.00000119, -9.31322575e-09, 8.00937414e-08, -9.31322575e-09, -1.00000119),C1 = CFrame.new(0.012029171, -0.201047897, 0.138008118, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1244 | Wedge = New("WedgePart",Gaunty2,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113243, -77.6620178, -5.49480319e-08, -2.26282282e-09, 1.00000179, -1.67638063e-08, 1.00000179, -1.8189894e-09, -1.00000179, 1.39698386e-08, -3.25962901e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
1245 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, -5.12227416e-08, -1.11758709e-08, -1.00000119, -1.44063961e-09, 1.00000119, 9.31322575e-09, 1.00000119, -9.89530236e-10, -3.63215804e-08),C1 = CFrame.new(0.0109024048, 1.04061604, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),}) | |
1246 | ||
1247 | ||
1248 | NewInstance = function(instance,parent,properties) | |
1249 | local inst = Instance.new(instance,parent) | |
1250 | if(properties)then | |
1251 | for i,v in next, properties do | |
1252 | pcall(function() inst[i] = v end) | |
1253 | end | |
1254 | end | |
1255 | return inst; | |
1256 | end | |
1257 | ||
1258 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)}) | |
1259 | local HW2 = NewInstance('Motor', char, {Part0 = la, Part1 = Handle2, C0 = CF(0,-.51,0) * angles(Rad(0),Rad(180),Rad(0))}) | |
1260 | ||
1261 | for _,v in next, Gaunty:children() do | |
1262 | v.CanCollide = false | |
1263 | end | |
1264 | for _,v in next, Gaunty2:children() do | |
1265 | v.CanCollide = false | |
1266 | end | |
1267 | local all, last = {}, nil | |
1268 | ArmourParts = {} | |
1269 | NeonParts = {} | |
1270 | function scan(p) | |
1271 | - | Music.SoundId = "rbxassetid://550578451" |
1271 | + | |
1272 | if v:IsA("BasePart") then | |
1273 | if v.BrickColor == BrickColor.new("Black") then | |
1274 | table.insert(ArmourParts, v) | |
1275 | end | |
1276 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1277 | table.insert(NeonParts, v) | |
1278 | end | |
1279 | if last then | |
1280 | local w = Instance.new("Weld") | |
1281 | w.Part0, w.Part1 = last, v | |
1282 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1283 | w.Parent = last | |
1284 | end | |
1285 | table.insert(all, v) | |
1286 | last = v | |
1287 | end | |
1288 | scan(v) | |
1289 | - | tecks2.Text = "Ender" |
1289 | + | |
1290 | end | |
1291 | scan(Gaunty) | |
1292 | local all2, last2 = {}, nil | |
1293 | ArmourParts2 = {} | |
1294 | NeonParts2 = {} | |
1295 | function scan2(p) | |
1296 | for _, v in pairs(p:GetChildren()) do | |
1297 | if v:IsA("BasePart") then | |
1298 | if v.BrickColor == BrickColor.new("Black") then | |
1299 | table.insert(ArmourParts2, v) | |
1300 | end | |
1301 | if v.BrickColor == BrickColor.new("Institutional white") then | |
1302 | table.insert(NeonParts2, v) | |
1303 | end | |
1304 | if last2 then | |
1305 | local w = Instance.new("Weld") | |
1306 | w.Part0, w.Part1 = last2, v | |
1307 | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() | |
1308 | w.Parent = last2 | |
1309 | end | |
1310 | table.insert(all2, v) | |
1311 | last2 = v | |
1312 | end | |
1313 | scan2(v) | |
1314 | end | |
1315 | end | |
1316 | scan2(Gaunty2) | |
1317 | for i, v in pairs(ArmourParts) do | |
1318 | v.BrickColor = BrickC("Black") | |
1319 | end | |
1320 | for i, v in pairs(NeonParts) do | |
1321 | v.BrickColor = BrickC("Really red") | |
1322 | end | |
1323 | for i, v in pairs(ArmourParts2) do | |
1324 | v.BrickColor = BrickC("Black") | |
1325 | end | |
1326 | for i, v in pairs(NeonParts2) do | |
1327 | v.BrickColor = BrickC("Really red") | |
1328 | end | |
1329 | maincolor = BrickC("Really red") | |
1330 | ------------------------------------------------------- | |
1331 | --Start Music Option-- | |
1332 | ------------------------------------------------------- | |
1333 | local Music = Instance.new("Sound",char) | |
1334 | Music.Volume = 2.5 | |
1335 | Music.SoundId = "rbxassetid://919050740" | |
1336 | Music.Looped = true | |
1337 | Music.Pitch = 1 --Pitcher | |
1338 | Music:Play() | |
1339 | ------------------------------------------------------- | |
1340 | --End Music Option-- | |
1341 | ------------------------------------------------------- | |
1342 | local naeeym2 = Instance.new("BillboardGui",char) | |
1343 | naeeym2.AlwaysOnTop = true | |
1344 | naeeym2.Size = UDim2.new(5,35,2,35) | |
1345 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
1346 | naeeym2.Adornee = hed | |
1347 | naeeym2.Name = "Name" | |
1348 | ||
1349 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1350 | tecks2.BackgroundTransparency = 1 | |
1351 | tecks2.TextScaled = true | |
1352 | tecks2.BorderSizePixel = 0 | |
1353 | tecks2.Text = "Robot Lord" | |
1354 | tecks2.Font = "Garamond" | |
1355 | tecks2.TextSize = 30 | |
1356 | tecks2.TextStrokeTransparency = 0 | |
1357 | tecks2.TextColor3 = Color3.new(0,0,0) | |
1358 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1359 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1360 | tecks2.Parent = naeeym2 | |
1361 | ||
1362 | function chatfunc(text, color) | |
1363 | local chat = coroutine.wrap(function() | |
1364 | if char:FindFirstChild("TalkingBillBoard") ~= nil then | |
1365 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
1366 | end | |
1367 | local naeeym2 = Instance.new("BillboardGui", char) | |
1368 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
1369 | naeeym2.StudsOffset = Vector3.new(0, 5, 0) | |
1370 | naeeym2.Adornee = hed | |
1371 | naeeym2.Name = "TalkingBillBoard" | |
1372 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
1373 | tecks2.BackgroundTransparency = 1 | |
1374 | tecks2.BorderSizePixel = 0 | |
1375 | tecks2.Text = "" | |
1376 | tecks2.Font = "SciFi" | |
1377 | tecks2.TextSize = 30 | |
1378 | tecks2.TextStrokeTransparency = 0 | |
1379 | tecks2.TextColor3 = color | |
1380 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1381 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
1382 | local tecks3 = Instance.new("TextLabel", naeeym2) | |
1383 | tecks3.BackgroundTransparency = 1 | |
1384 | tecks3.BorderSizePixel = 0 | |
1385 | tecks3.Text = "" | |
1386 | tecks3.Font = "SciFi" | |
1387 | tecks3.TextSize = 30 | |
1388 | tecks3.TextStrokeTransparency = 0 | |
1389 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
1390 | tecks3.TextStrokeColor3 = color | |
1391 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
1392 | coroutine.resume(coroutine.create(function() | |
1393 | while true do | |
1394 | swait(1) | |
1395 | tecks2.TextColor3 = BrickColor.random().Color | |
1396 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
1397 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1398 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
1399 | tecks2.Rotation = math.random(-5, 5) | |
1400 | tecks3.Rotation = math.random(-5, 5) | |
1401 | end | |
1402 | end)) | |
1403 | for i = 1, string.len(text) do | |
1404 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) | |
1405 | tecks2.Text = string.sub(text, 1, i) | |
1406 | tecks3.Text = string.sub(text, 1, i) | |
1407 | swait(1) | |
1408 | end | |
1409 | wait(1) | |
1410 | local randomrot = math.random(1, 2) | |
1411 | if randomrot == 1 then | |
1412 | for i = 1, 50 do | |
1413 | swait() | |
1414 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
1415 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1416 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1417 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
1418 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1419 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1420 | end | |
1421 | elseif randomrot == 2 then | |
1422 | for i = 1, 50 do | |
1423 | swait() | |
1424 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
1425 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1426 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
1427 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
1428 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
1429 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
1430 | end | |
1431 | end | |
1432 | naeeym2:Destroy() | |
1433 | end) | |
1434 | chat() | |
1435 | end | |
1436 | ------------------------------------------------------- | |
1437 | --Start Attacks N Stuff-- | |
1438 | ------------------------------------------------------- | |
1439 | local sine=0 | |
1440 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
1441 | local Hitboxpart = Instance.new("Part", EffectModel) | |
1442 | RemoveOutlines(Hitboxpart) | |
1443 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
1444 | Hitboxpart.CanCollide = false | |
1445 | Hitboxpart.Transparency = 1 | |
1446 | Hitboxpart.Anchored = true | |
1447 | Hitboxpart.CFrame = Pose | |
1448 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
1449 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
1450 | end | |
1451 | wait2 = false | |
1452 | combo = 1 | |
1453 | mouse.Button1Down:connect(function(key) | |
1454 | if attack == false then | |
1455 | attack = true | |
1456 | hum.WalkSpeed = 3.01 | |
1457 | if combo == 1 and wait2 == false then | |
1458 | wait2 = true | |
1459 | for i = 0, 1.2, 0.1 do | |
1460 | swait() | |
1461 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-65)), 0.3) | |
1462 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(-65)), 0.1) | |
1463 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1464 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.3) | |
1465 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1466 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1467 | end | |
1468 | CreateSound("138097048", ra, 3, .8) | |
1469 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1470 | for i = 0, 1.2, 0.1 do | |
1471 | swait() | |
1472 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
1473 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1474 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
1475 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1476 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
1477 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1478 | end | |
1479 | combo = 2 | |
1480 | end | |
1481 | if combo == 2 and wait2 == false then | |
1482 | wait2 = true | |
1483 | for i = 0, 1.2, 0.1 do | |
1484 | swait() | |
1485 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(65)), 0.3) | |
1486 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(65)), 0.1) | |
1487 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.1) | |
1488 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3) | |
1489 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1490 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1491 | end | |
1492 | CreateSound("138097048", ra, 3, .8) | |
1493 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
1494 | for i = 0, 1.2, 0.1 do | |
1495 | swait() | |
1496 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-55)), 0.3) | |
1497 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1498 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.1) | |
1499 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(-40)), 0.3) | |
1500 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
1501 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1502 | end | |
1503 | combo = 3 | |
1504 | end | |
1505 | if combo == 3 and wait2 == false then | |
1506 | wait2 = true | |
1507 | for i = 0, 1.2, 0.1 do | |
1508 | swait() | |
1509 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
1510 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
1511 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
1512 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1513 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
1514 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
1515 | end | |
1516 | CreateSound("138097048", ra, 3, .8) | |
1517 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1518 | for i = 0, 1.2, 0.1 do | |
1519 | swait() | |
1520 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
1521 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1522 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
1523 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1524 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1525 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1526 | end | |
1527 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 1.1, 1.1, 1.1, 0.02) | |
1528 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 1.1, 1.1, 1.1, 0.03) | |
1529 | for i = 0, 2 do | |
1530 | SphereAura(2, 0.2, "Add", ra.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, maincolor, 0) | |
1531 | end | |
1532 | coroutine.resume(coroutine.create(function() | |
1533 | for i = 0,1.8,0.1 do | |
1534 | swait() | |
1535 | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) | |
1536 | end | |
1537 | for i = 0,1.8,0.1 do | |
1538 | swait() | |
1539 | hum.CameraOffset = Vector3.new(0,0,0) | |
1540 | end | |
1541 | end)) | |
1542 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
1543 | for i = 0, 1.2, 0.1 do | |
1544 | swait() | |
1545 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
1546 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
1547 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
1548 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
1549 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
1550 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
1551 | end | |
1552 | combo = 4 | |
1553 | end | |
1554 | if combo == 4 and wait2 == false then | |
1555 | for i = 0,1.2,0.1 do | |
1556 | swait() | |
1557 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1558 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1559 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1560 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1561 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1562 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1563 | end | |
1564 | SphereAura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0) | |
1565 | SphereAura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0) | |
1566 | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) | |
1567 | CreateSound("331666100", char, 10, 1) | |
1568 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do | |
1569 | if v:FindFirstChild("Head") then | |
1570 | SoulSteal(v) | |
1571 | Eviscerate(v) | |
1572 | end | |
1573 | end | |
1574 | coroutine.resume(coroutine.create(function() | |
1575 | for i = 0,1.8,0.1 do | |
1576 | swait() | |
1577 | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) | |
1578 | end | |
1579 | for i = 0,1.8,0.1 do | |
1580 | swait() | |
1581 | hum.CameraOffset = Vector3.new(0,0,0) | |
1582 | end | |
1583 | end)) | |
1584 | for i = 1,4.7,0.1 do | |
1585 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
1586 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
1587 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
1588 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
1589 | RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1) | |
1590 | LW.C0 = clerp(LW.C0, CF(-1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1) | |
1591 | end | |
1592 | wait(.6) | |
1593 | combo = 1 | |
1594 | end | |
1595 | hum.WalkSpeed = 16 | |
1596 | wait2 = false | |
1597 | attack = false | |
1598 | end | |
1599 | end) | |
1600 | function Destruction() | |
1601 | attack = true | |
1602 | local Ring1 = Instance.new("Part", char) | |
1603 | Ring1.Anchored = true | |
1604 | Ring1.BrickColor = maincolor | |
1605 | Ring1.CanCollide = false | |
1606 | Ring1.FormFactor = 3 | |
1607 | Ring1.Name = "Ring" | |
1608 | Ring1.Material = "Neon" | |
1609 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
1610 | Ring1.Transparency = 1 | |
1611 | Ring1.TopSurface = 0 | |
1612 | Ring1.BottomSurface = 0 | |
1613 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1) | |
1614 | Ring1Mesh.MeshType = "Brick" | |
1615 | Ring1Mesh.Name = "SizeMesh" | |
1616 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
1617 | local InnerRing1 = Ring1:Clone() | |
1618 | InnerRing1.Parent = char | |
1619 | InnerRing1.Transparency = 0 | |
1620 | InnerRing1.BrickColor = BrickColor.new("New Yeller") | |
1621 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
1622 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
1623 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
1624 | InnerRing1Mesh.MeshType = "Sphere" | |
1625 | Ring1:Destroy() | |
1626 | for i = 0, 5, 0.1 do | |
1627 | swait() | |
1628 | SphereAura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0) | |
1629 | SphereAura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, BrickC("Institutional white"), 0) | |
1630 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15) | |
1631 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
1632 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-12.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1633 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
1634 | RW.C0 = clerp(RW.C0, CF(1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-25)), 0.1) | |
1635 | LW.C0 = clerp(LW.C0, CF(-1.1, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1) | |
1636 | root.CFrame = FaceMouse()[1] | |
1637 | end | |
1638 | InnerRing1.Transparency = 1 | |
1639 | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
1640 | CreateSound("294188875", char, 2.3, 1) | |
1641 | local a = IT("Part", char) | |
1642 | a.Name = "Direction" | |
1643 | a.Anchored = true | |
1644 | a.BrickColor = maincolor | |
1645 | a.Material = "Neon" | |
1646 | a.Transparency = 0 | |
1647 | a.Shape = "Cylinder" | |
1648 | a.CanCollide = false | |
1649 | local a2 = IT("Part", char) | |
1650 | a2.Name = "Direction" | |
1651 | a2.Anchored = true | |
1652 | a2.BrickColor = maincolor | |
1653 | a2.Color = maincolor.Color | |
1654 | a2.Material = "Neon" | |
1655 | a2.Transparency = 0.5 | |
1656 | a2.Shape = "Cylinder" | |
1657 | a2.CanCollide = false | |
1658 | local ba = IT("Part", char) | |
1659 | ba.Name = "HitDirect" | |
1660 | ba.Anchored = true | |
1661 | ba.BrickColor = maincolor | |
1662 | ba.Material = "Neon" | |
1663 | ba.Transparency = 1 | |
1664 | ba.CanCollide = false | |
1665 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
1666 | local ignore = char | |
1667 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1668 | a.BottomSurface = 10 | |
1669 | a.TopSurface = 10 | |
1670 | a2.BottomSurface = 10 | |
1671 | a2.TopSurface = 10 | |
1672 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
1673 | a.Size = Vector3.new(distance, 1, 1) | |
1674 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
1675 | a2.Size = Vector3.new(distance, 1, 1) | |
1676 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
1677 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
1678 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
1679 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
1680 | game:GetService("Debris"):AddItem(a, 20) | |
1681 | game:GetService("Debris"):AddItem(a2, 20) | |
1682 | game:GetService("Debris"):AddItem(ba, 20) | |
1683 | local msh = Instance.new("SpecialMesh", a) | |
1684 | msh.MeshType = "Sphere" | |
1685 | msh.Scale = Vector3.new(1, 25, 25) | |
1686 | local msh2 = Instance.new("SpecialMesh", a2) | |
1687 | msh2.MeshType = "Sphere" | |
1688 | msh2.Scale = Vector3.new(1, 30, 30) | |
1689 | for i = 0, 10, 0.1 do | |
1690 | swait() | |
1691 | root.CFrame = FaceMouse()[1] | |
1692 | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) | |
1693 | a2.Color = maincolor.Color | |
1694 | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
1695 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
1696 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
1697 | distance = (InnerRing1.CFrame.p - position).magnitude | |
1698 | a.Size = Vector3.new(distance, 1, 1) | |
1699 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
1700 | a2.Size = Vector3.new(distance, 1, 1) | |
1701 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
1702 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
1703 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
1704 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
1705 | msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25) | |
1706 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3) | |
1707 | SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0) | |
1708 | SphereAura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0) | |
1709 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
1710 | if v:FindFirstChild("Head") then | |
1711 | Eviscerate(v) | |
1712 | SoulSteal(v) | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | a:Destroy() | |
1717 | a2:Destroy() | |
1718 | ba:Destroy() | |
1719 | InnerRing1:Destroy() | |
1720 | attack = false | |
1721 | hum.CameraOffset = Vector3.new(0,0,0) | |
1722 | end | |
1723 | function BURN_IN_HELL() | |
1724 | attack = true | |
1725 | chatfunc("BURN....", BrickColor.random().Color) | |
1726 | for i = 0,5.2,0.1 do | |
1727 | swait() | |
1728 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
1729 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1730 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
1731 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
1732 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
1733 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
1734 | end | |
1735 | chatfunc("IN....", BrickColor.random().Color) | |
1736 | wait(2) | |
1737 | CreateSound("331666100", char, 10, 1) | |
1738 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1739 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1740 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1741 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
1742 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
1743 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
1744 | chatfunc("HELL!!!!!", BrickColor.random().Color) | |
1745 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
1746 | if v:FindFirstChild("Head") then | |
1747 | Eviscerate(v) | |
1748 | SoulSteal(v) | |
1749 | end | |
1750 | end | |
1751 | coroutine.resume(coroutine.create(function() | |
1752 | for i = 0,2.8,0.1 do | |
1753 | swait() | |
1754 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
1755 | end | |
1756 | for i = 0,1.8,0.1 do | |
1757 | swait() | |
1758 | hum.CameraOffset = Vector3.new(0,0,0) | |
1759 | end | |
1760 | end)) | |
1761 | for i = 0,3.7,0.1 do | |
1762 | SphereAura(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
1763 | SphereAura(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
1764 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
1765 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
1766 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
1767 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
1768 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
1769 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
1770 | end | |
1771 | wait(.6) | |
1772 | CreateSound("907332997", hed, 10, 1) | |
1773 | attack = false | |
1774 | end | |
1775 | ------------------------------------------------------- | |
1776 | --End Attacks N Stuff-- | |
1777 | ------------------------------------------------------- | |
1778 | mouse.KeyDown:connect(function(key) | |
1779 | if attack == false then | |
1780 | if key == 'f' then | |
1781 | Destruction() | |
1782 | elseif key == 'r' then | |
1783 | BURN_IN_HELL() | |
1784 | elseif key == 't' then | |
1785 | chatfunc("HM, HM, HAHAHAHAHAHA", BrickColor.random().Color) | |
1786 | CreateSound("300208779", hed, 10, 1) | |
1787 | end | |
1788 | end | |
1789 | end) | |
1790 | ||
1791 | ||
1792 | ||
1793 | ||
1794 | ||
1795 | ||
1796 | ------------------------------------------------------- | |
1797 | --Start Animations-- | |
1798 | ------------------------------------------------------- | |
1799 | local equipped = false | |
1800 | local idle = 0 | |
1801 | local change = 1 | |
1802 | local val = 0 | |
1803 | local toim = 0 | |
1804 | local idleanim = 0.4 | |
1805 | hum.Animator.Parent = nil | |
1806 | while true do | |
1807 | swait() | |
1808 | for i, v in pairs(NeonParts) do | |
1809 | v.BrickColor = BrickColor.Random() | |
1810 | end | |
1811 | for i, v in pairs(NeonParts2) do | |
1812 | v.BrickColor = BrickColor.Random() | |
1813 | end | |
1814 | maincolor = BrickColor.Random() | |
1815 | Music.Parent = char | |
1816 | tecks2.TextStrokeColor3 = maincolor.Color | |
1817 | sine = sine + change | |
1818 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1819 | local velderp = root.Velocity.y | |
1820 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
1821 | if equipped == true or equipped == false then | |
1822 | if attack == false then | |
1823 | idle = idle + 1 | |
1824 | else | |
1825 | idle = 0 | |
1826 | end | |
1827 | if 1 < root.Velocity.y and hitfloor == nil then | |
1828 | Anim = "Jump" | |
1829 | if attack == false then | |
1830 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
1831 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
1832 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
1833 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
1834 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
1835 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
1836 | end | |
1837 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
1838 | Anim = "Fall" | |
1839 | if attack == false then | |
1840 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
1841 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
1842 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(30)),0.3) | |
1843 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-30)),0.3) | |
1844 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
1845 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
1846 | end | |
1847 | elseif torvel < 1 and hitfloor ~= nil then | |
1848 | Anim = "Idle" | |
1849 | change = 1.9 | |
1850 | if attack == false then | |
1851 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) | |
1852 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 2.5 * Sin(sine / 20)), Rad(-5 * Cos(sine / 0.465)), Rad(-5 * Cos(sine / 0.465))), 0.3) | |
1853 | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-7.5), Rad(0), Rad(30)), 0.15) | |
1854 | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-7.5), Rad(0), Rad(-30)), 0.15) | |
1855 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 - 5 * Cos(sine / 0.465)), Rad(-5 * Cos(sine / 0.465)), Rad(15 + 7 * Sin(sine / 25))), 0.1) | |
1856 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 - 5 * Cos(sine / 0.465)), Rad(-5 * Cos(sine / 0.465)), Rad(-15 - 7 * Sin(sine / 25))), 0.1) | |
1857 | end | |
1858 | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then | |
1859 | Anim = "Walk" | |
1860 | change = 1 | |
1861 | if attack == false then | |
1862 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(15 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(4 * Cos(sine / 7))), 0.15) | |
1863 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(13 - 2.5 * Sin(sine / 7)), Rad(-5 * Cos(sine / 0.465)), Rad(-5 * Cos(sine / 0.465))), 0.3) | |
1864 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(15)), 0.3) | |
1865 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(-15)), 0.3) | |
1866 | - | ------------------------------------------------------- |
1866 | + | |
1867 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(-65) * Cos(sine / 7) , Rad(0), Rad(-10 - 7 * Sin(sine / 7)) + la.RotVelocity.Y / 75), 0.1) | |
1868 | end | |
1869 | end | |
1870 | end | |
1871 | if 0 < #Effects then | |
1872 | for e = 1, #Effects do | |
1873 | if Effects[e] ~= nil then | |
1874 | local Thing = Effects[e] | |
1875 | if Thing ~= nil then | |
1876 | local Part = Thing[1] | |
1877 | local Mode = Thing[2] | |
1878 | local Delay = Thing[3] | |
1879 | local IncX = Thing[4] | |
1880 | local IncY = Thing[5] | |
1881 | local IncZ = Thing[6] | |
1882 | if 1 >= Thing[1].Transparency then | |
1883 | if Thing[2] == "Block1" then | |
1884 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1885 | local Mesh = Thing[1].Mesh | |
1886 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1887 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1888 | elseif Thing[2] == "Block2" then | |
1889 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
1890 | local Mesh = Thing[7] | |
1891 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1892 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1893 | elseif Thing[2] == "Block3" then | |
1894 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
1895 | local Mesh = Thing[7] | |
1896 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1897 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1898 | elseif Thing[2] == "Cylinder" then | |
1899 | local Mesh = Thing[1].Mesh | |
1900 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1901 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1902 | elseif Thing[2] == "Blood" then | |
1903 | local Mesh = Thing[7] | |
1904 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1905 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1906 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1907 | elseif Thing[2] == "Elec" then | |
1908 | local Mesh = Thing[1].Mesh | |
1909 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1910 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1911 | elseif Thing[2] == "Disappear" then | |
1912 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1913 | elseif Thing[2] == "Shatter" then | |
1914 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1915 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1916 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1917 | Thing[6] = Thing[6] + Thing[5] | |
1918 | end | |
1919 | else | |
1920 | Part.Parent = nil | |
1921 | table.remove(Effects, e) | |
1922 | end | |
1923 | end | |
1924 | end | |
1925 | end | |
1926 | end | |
1927 | end | |
1928 | ------------------------------------------------------- | |
1929 | --End Animations And Script-- | |
1930 | ------------------------------------------------------- | |
1931 | -- Remake of Armatae by Mii_BrawIer | |
1932 | wait(.1) | |
1933 | local play = game.Players.LocalPlayer | |
1934 | local char = play.Character | |
1935 | local LeftArm = char["Left Arm"] | |
1936 | local RightArm = char["Right Arm"] | |
1937 | local LeftLeg = char["Left Leg"] | |
1938 | local RightLeg = char["Right Leg"] | |
1939 | local spawned = false | |
1940 | local debounce = false | |
1941 | local asdrot = 0 | |
1942 | local bouncing = false | |
1943 | local mode = "Combo" | |
1944 | local mana = 200 | |
1945 | local change = 0 | |
1946 | local rage = false | |
1947 | local explosion = false | |
1948 | local golden = false | |
1949 | local equipped = true | |
1950 | local parry = true | |
1951 | local equipcheck = false | |
1952 | local charge = 1 | |
1953 | local orb = false | |
1954 | local throwing = false | |
1955 | local sped = 1 | |
1956 | local riding = false | |
1957 | local sine = 0 | |
1958 | local torsovel = 0 | |
1959 | local sit = false | |
1960 | local ult = false | |
1961 | local charging = false | |
1962 | local combo = 1 | |
1963 | local Anim = "wot" | |
1964 | local attack = false | |
1965 | local NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1966 | char.Humanoid.Animator:Destroy() | |
1967 | char.Animate:Destroy() | |
1968 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1969 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
1970 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
1971 | RSH = nil | |
1972 | RW = Instance.new("Weld") | |
1973 | LW = Instance.new("Weld") | |
1974 | RH = char.Torso["Right Hip"] | |
1975 | LH = char.Torso["Left Hip"] | |
1976 | RSH = char.Torso["Right Shoulder"] | |
1977 | LSH = char.Torso["Left Shoulder"] | |
1978 | RSH.Parent = nil | |
1979 | LSH.Parent = nil | |
1980 | RW.Name = "RW" | |
1981 | RW.Part0 = char.Torso | |
1982 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
1983 | RW.C1 = CFrame.new(0, 0.5, 0) | |
1984 | RW.Part1 = RightArm | |
1985 | RW.Parent = char.Torso | |
1986 | LW.Name = "LW" | |
1987 | LW.Part0 = char.Torso | |
1988 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
1989 | LW.C1 = CFrame.new(0, 0.5, 0) | |
1990 | LW.Part1 = LeftArm | |
1991 | LW.Parent = char.Torso | |
1992 | ||
1993 | clerp = function(a, b, t) | |
1994 | ||
1995 | return a:lerp(b, t) | |
1996 | end | |
1997 | ||
1998 | local model = Instance.new("Model", char) | |
1999 | model.Name = "weapon parts go here!" | |
2000 | local weapon = Instance.new("Model", model) | |
2001 | weapon.Name = "weapon" | |
2002 | local nolagplease = Instance.new("Model", char) | |
2003 | nolagplease.Name = "block spam goes here" | |
2004 | ||
2005 | ||
2006 | block = function(cfram,size,expansize,transp,color,kind) | |
2007 | local p = Instance.new("Part", nolagplease) | |
2008 | p.CFrame = cfram | |
2009 | p.Size = Vector3.new(1,1,1) | |
2010 | local pm = Instance.new("BlockMesh", p) | |
2011 | pm.Scale = size | |
2012 | p.Anchored = true | |
2013 | p.Material = "Neon" | |
2014 | p.CanCollide = false | |
2015 | p.BrickColor = color | |
2016 | if kind == 3 then | |
2017 | ||
2018 | pm:Destroy() | |
2019 | p.Size = size | |
2020 | p.CanCollide = true | |
2021 | p.Touched:connect(function(hit) | |
2022 | if debounce == false then | |
2023 | if hit.Parent.Humanoid then | |
2024 | debounce = true | |
2025 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5 | |
2026 | wait() | |
2027 | debounce = false | |
2028 | end | |
2029 | end | |
2030 | end) | |
2031 | end | |
2032 | coroutine.resume(coroutine.create(function() | |
2033 | while p.Transparency < 1 do | |
2034 | if kind == 3 then | |
2035 | p.Transparency = p.Transparency + transp | |
2036 | p.Size = p.Size + expansize | |
2037 | else | |
2038 | ||
2039 | p.Transparency = p.Transparency + transp | |
2040 | pm.Scale = pm.Scale + expansize | |
2041 | end | |
2042 | if kind == 1 then | |
2043 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180))) | |
2044 | end | |
2045 | wait() | |
2046 | end | |
2047 | p:Destroy() | |
2048 | end)) | |
2049 | end | |
2050 | ||
2051 | ||
2052 | local wave = function(cframe,color,v1,v2,trans,typ) | |
2053 | local p = Instance.new("Part", nolagplease) | |
2054 | p.BrickColor = color | |
2055 | p.Transparency = 0 | |
2056 | p.Anchored = true | |
2057 | p.CFrame = cframe | |
2058 | if typ == 1 then | |
2059 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180))) | |
2060 | end | |
2061 | p.CanCollide = false | |
2062 | local pm = Instance.new("SpecialMesh", p) | |
2063 | pm.MeshType = "FileMesh" | |
2064 | pm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
2065 | pm.Scale = v1 | |
2066 | coroutine.resume(coroutine.create(function() | |
2067 | while p.Transparency < 1 do | |
2068 | wait() | |
2069 | pm.Scale = pm.Scale + v2 | |
2070 | p.Transparency = p.Transparency + trans | |
2071 | if typ == 1 then | |
2072 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180))) | |
2073 | end | |
2074 | end | |
2075 | p:Remove() | |
2076 | end)) | |
2077 | end | |
2078 | ||
2079 | local screengu = Instance.new("ScreenGui", play.PlayerGui) | |
2080 | screengu.Enabled = true | |
2081 | ||
2082 | local fram = Instance.new("Frame",screengu) | |
2083 | fram.Position = UDim2.new(0.83,0,.46, 0) | |
2084 | fram.Size = UDim2.new(0.156, 0,0.487, 0) | |
2085 | fram.Style = "RobloxRound" | |
2086 | ||
2087 | local makegui = function(pos1,pos2,tex) | |
2088 | local a = Instance.new("TextLabel",fram) | |
2089 | a.Size = UDim2.new(1, 0,.05, 0) | |
2090 | a.Text = tex | |
2091 | a.Position = UDim2.new(pos1,0,pos2,0) | |
2092 | a.TextScaled = true | |
2093 | a.TextColor3 = char.Torso.Color | |
2094 | a.TextXAlignment = "Left" | |
2095 | a.BackgroundTransparency = 1 | |
2096 | coroutine.resume(coroutine.create(function() | |
2097 | if tex == "[X]" then | |
2098 | while true do | |
2099 | if equipcheck == false then | |
2100 | if equipped == true then | |
2101 | a.Text = "[X] Spin Attack [35]" | |
2102 | elseif equipped == false then | |
2103 | if parry == true then | |
2104 | a.Text = "[X] Parry [35]" | |
2105 | elseif parry == false then | |
2106 | a.Text = "[X] Forced Parry [15]" | |
2107 | end | |
2108 | end | |
2109 | else | |
2110 | a.Text = "[X] Hexagon Trap [150]" | |
2111 | end | |
2112 | wait(.1) | |
2113 | end | |
2114 | end | |
2115 | ||
2116 | if tex == "[E]" then | |
2117 | while true do | |
2118 | if ult == false then | |
2119 | if equipped == true then | |
2120 | a.Text = "[E] Unequip" | |
2121 | elseif equipped == false then | |
2122 | a.Text = "[E] Equip" | |
2123 | end | |
2124 | end | |
2125 | if ult == true then | |
2126 | a.Text = "[E] Exit Ult" | |
2127 | end | |
2128 | wait(.1) | |
2129 | end | |
2130 | end | |
2131 | ||
2132 | if tex == "[C]" then | |
2133 | while true do | |
2134 | if ult == false then | |
2135 | a.Text = "[C] Orbs [7/s]" | |
2136 | end | |
2137 | if ult == true then | |
2138 | if equipcheck == true then | |
2139 | a.Text = "[C] Orbs [11/s]" | |
2140 | else | |
2141 | a.Text = "[C] Ultimate Orbs [11/s]" | |
2142 | end | |
2143 | end | |
2144 | wait(.1) | |
2145 | end | |
2146 | end | |
2147 | ||
2148 | if tex == "[H]" then | |
2149 | while true do | |
2150 | if equipped == true then | |
2151 | if ult == false then | |
2152 | a.Text = "[H] Sword Ult Mode [200]" | |
2153 | end | |
2154 | elseif equipped == false then | |
2155 | if ult == false then | |
2156 | a.Text = "[H] Magic Ult Mode [200]" | |
2157 | else | |
2158 | if equipcheck == false then | |
2159 | a.Text = "[H] Magic Ult [400]" | |
2160 | else | |
2161 | a.Text = "[H] Sword Ult [400]" | |
2162 | end | |
2163 | end | |
2164 | end | |
2165 | wait(.1) | |
2166 | end | |
2167 | end | |
2168 | ||
2169 | if tex == "[Z]" then | |
2170 | while true do | |
2171 | if ult == false then | |
2172 | a.Text = "[Z] Shield Dash [25]" | |
2173 | else | |
2174 | if equipcheck == true then | |
2175 | a.Text = "[Z] Sword Bounce [25]" | |
2176 | end | |
2177 | end | |
2178 | wait(.1) | |
2179 | end | |
2180 | end | |
2181 | ||
2182 | end)) | |
2183 | end | |
2184 | ||
2185 | local bar = Instance.new("Frame",screengu) | |
2186 | bar.Position = UDim2.new(.83,0,.385,0) | |
2187 | bar.Size = UDim2.new(0.156,0,0.055,0) | |
2188 | bar.Style = "RobloxRound" | |
2189 | ||
2190 | local neg = Instance.new("Frame", bar) | |
2191 | neg.Position = UDim2.new(0,0,0,0) | |
2192 | neg.Size = UDim2.new(1,0,0.6,0) | |
2193 | neg.BackgroundColor3 = Color3.fromRGB(0,0,0) | |
2194 | neg.BorderColor3 = char.Torso.Color | |
2195 | ||
2196 | local a = Instance.new("TextBox",neg) | |
2197 | a.Size = UDim2.new(1, 0,1, 0) | |
2198 | a.Position = UDim2.new(0, 0, 1, 0) | |
2199 | a.TextXAlignment = "Center" | |
2200 | coroutine.resume(coroutine.create(function() | |
2201 | while true do | |
2202 | a.Text = "Mana : "..math.floor(mana).."" | |
2203 | wait() | |
2204 | end | |
2205 | end)) | |
2206 | a.TextScaled = true | |
2207 | a.TextColor3 = char.Torso.Color | |
2208 | a.BackgroundTransparency = 1 | |
2209 | ||
2210 | local manabar = Instance.new("Frame", neg) | |
2211 | manabar.Position = UDim2.new(0,0,0,0) | |
2212 | manabar.Size = UDim2.new(0,0,0,0) | |
2213 | manabar.BackgroundColor3 = char.Torso.Color | |
2214 | manabar.BorderColor3 = Color3.fromRGB(0,0,0) | |
2215 | coroutine.resume(coroutine.create(function() | |
2216 | while true do | |
2217 | manabar.Size = UDim2(0,mana*1.4,0,30) | |
2218 | wait() | |
2219 | end | |
2220 | end)) | |
2221 | ||
2222 | makegui(0,0,"[E]") | |
2223 | makegui(0,.12,"[Z]") | |
2224 | makegui(0,.18,"[X]") | |
2225 | makegui(0,.24,"[C]") | |
2226 | makegui(0,.36,"[H]") | |
2227 | makegui(0,.36,"[H]") | |
2228 | ||
2229 | ||
2230 | ||
2231 | ||
2232 | part = function(wel,cancollid,size,shape,r,g,b,transp,mat,weldpart,c0,nam) | |
2233 | local mat2 = "wow" | |
2234 | if mat == 1 then | |
2235 | mat2 = "Marble" | |
2236 | end | |
2237 | if mat == 2 then | |
2238 | mat2 = "Granite" | |
2239 | end | |
2240 | if mat == 3 then | |
2241 | mat2 = "Metal" | |
2242 | end | |
2243 | if mat == 4 then | |
2244 | mat2 = "SmoothPlastic" | |
2245 | end | |
2246 | if mat == 5 then | |
2247 | mat2 = "Wood" | |
2248 | end | |
2249 | if mat == 6 then | |
2250 | mat2 = "Neon" | |
2251 | end | |
2252 | if shape ~= "Wedge" then | |
2253 | local q = Instance.new("Part", weapon) | |
2254 | q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
2255 | q.Shape = shape | |
2256 | q.Size = size | |
2257 | q.Transparency = transp | |
2258 | q.Color = Color3.new(r,g,b) | |
2259 | q.Material = mat2 | |
2260 | if r == 1 and g == 0 and b == 0 then | |
2261 | q.BrickColor = char.Torso.BrickColor | |
2262 | end | |
2263 | q.FrontSurface = "Smooth" | |
2264 | q.BackSurface = "Smooth" | |
2265 | q.LeftSurface = "Smooth" | |
2266 | q.RightSurface = "Smooth" | |
2267 | q.BottomSurface = "Smooth" | |
2268 | q.TopSurface = "Smooth" | |
2269 | if cancollid == 1 then | |
2270 | q.CanCollide = false | |
2271 | end | |
2272 | q.Name = nam | |
2273 | if wel == 1 then | |
2274 | local qw = Instance.new("Weld", q) | |
2275 | qw.Part0 = weldpart | |
2276 | qw.Part1 = q | |
2277 | qw.C0 = c0 | |
2278 | end | |
2279 | end | |
2280 | if shape == "Wedge" then | |
2281 | local q = Instance.new("WedgePart", weapon) | |
2282 | q.Size = size | |
2283 | q.Transparency = transp | |
2284 | q.Color = Color3.new(r,g,b) | |
2285 | if r == 1 and g == 0 and b == 0 then | |
2286 | q.BrickColor = char.Torso.BrickColor | |
2287 | end | |
2288 | q.Material = mat2 | |
2289 | if cancollid == 1 then | |
2290 | q.CanCollide = false | |
2291 | end | |
2292 | q.Name = nam | |
2293 | local qw = Instance.new("Weld", q) | |
2294 | qw.Part0 = weldpart | |
2295 | qw.Part1 = q | |
2296 | qw.C0 = c0 | |
2297 | end | |
2298 | end | |
2299 | ||
2300 | local sword1 = Instance.new("Part", weapon) | |
2301 | sword1.CanCollide = false | |
2302 | sword1.Transparency = 1 | |
2303 | sword1.BrickColor = BrickColor.new("Institutional white") | |
2304 | local mesh1 = Instance.new("SpecialMesh", sword1) | |
2305 | mesh1.MeshType = "FileMesh" | |
2306 | mesh1.MeshId = "rbxasset://fonts/sword.mesh" | |
2307 | local weld1 = Instance.new("Weld", sword1) | |
2308 | weld1.Part0 = char.Torso | |
2309 | weld1.Part1 = sword1 | |
2310 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) | |
2311 | ||
2312 | local sword2 = Instance.new("Part", weapon) | |
2313 | sword2.CanCollide = false | |
2314 | sword2.Transparency = 1 | |
2315 | sword2.BrickColor = BrickColor.new("Institutional white") | |
2316 | local mesh2 = Instance.new("SpecialMesh", sword2) | |
2317 | mesh2.MeshType = "FileMesh" | |
2318 | mesh2.MeshId = "rbxasset://fonts/sword.mesh" | |
2319 | local weld2 = Instance.new("Weld", sword2) | |
2320 | weld2.Part0 = char.Torso | |
2321 | weld2.Part1 = sword2 | |
2322 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) | |
2323 | ||
2324 | local sword11 = Instance.new("Part", weapon) | |
2325 | sword11.CanCollide = false | |
2326 | sword11.Transparency = 1 | |
2327 | sword11.BrickColor = BrickColor.new("Institutional white") | |
2328 | local mesh11 = Instance.new("SpecialMesh", sword11) | |
2329 | mesh11.MeshType = "FileMesh" | |
2330 | mesh11.MeshId = "rbxasset://fonts/sword.mesh" | |
2331 | local weld11 = Instance.new("Weld", sword11) | |
2332 | weld11.Part0 = char.Torso | |
2333 | weld11.Part1 = sword11 | |
2334 | weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) | |
2335 | ||
2336 | local sword21 = Instance.new("Part", weapon) | |
2337 | sword21.CanCollide = false | |
2338 | sword21.Transparency = 1 | |
2339 | sword21.BrickColor = BrickColor.new("Institutional white") | |
2340 | local mesh21 = Instance.new("SpecialMesh", sword21) | |
2341 | mesh21.MeshType = "FileMesh" | |
2342 | mesh21.MeshId = "rbxasset://fonts/sword.mesh" | |
2343 | local weld21 = Instance.new("Weld", sword21) | |
2344 | weld21.Part0 = char.Torso | |
2345 | weld21.Part1 = sword21 | |
2346 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) | |
2347 | ||
2348 | local sword12 = Instance.new("Part", weapon) | |
2349 | sword12.CanCollide = false | |
2350 | sword12.Transparency = 1 | |
2351 | sword12.BrickColor = BrickColor.new("Institutional white") | |
2352 | local mesh12 = Instance.new("SpecialMesh", sword12) | |
2353 | mesh12.MeshType = "FileMesh" | |
2354 | mesh12.MeshId = "rbxasset://fonts/sword.mesh" | |
2355 | local weld12 = Instance.new("Weld", sword12) | |
2356 | weld12.Part0 = char.Torso | |
2357 | weld12.Part1 = sword12 | |
2358 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) | |
2359 | ||
2360 | local sword22 = Instance.new("Part", weapon) | |
2361 | sword22.CanCollide = false | |
2362 | sword22.Transparency = 1 | |
2363 | sword22.BrickColor = BrickColor.new("Institutional white") | |
2364 | local mesh22 = Instance.new("SpecialMesh", sword22) | |
2365 | mesh22.MeshType = "FileMesh" | |
2366 | mesh22.MeshId = "rbxasset://fonts/sword.mesh" | |
2367 | local weld22 = Instance.new("Weld", sword22) | |
2368 | weld22.Part0 = char.Torso | |
2369 | weld22.Part1 = sword22 | |
2370 | weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) | |
2371 | ||
2372 | ||
2373 | ||
2374 | part(1,1,Vector3.new(1,1,1),"Block",0,0,0,1,2,LeftArm,CFrame.new(0,-1,0),"ST") | |
2375 | part(1,1,Vector3.new(1.3333345651627,0.66666728258133,1.3333345651627),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,RightArm,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Handle2") | |
2376 | part(1,1,Vector3.new(0.50000047683716,0.66666728258133,0.50000047683716),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,-0.71837568283081)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2377 | part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,-1.5707963267949,1.5707963267949),"Wedge") | |
2378 | part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge") | |
2379 | part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge") | |
2380 | part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge") | |
2381 | part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge") | |
2382 | part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge") | |
2383 | part(1,1,Vector3.new(1.666668176651,0.50000047683716,1.666668176651),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block") | |
2384 | part(1,1,Vector3.new(2.0000019073486,0.50000071525574,2.0000019073486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0,-0.080000519752502,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block") | |
2385 | part(1,1,Vector3.new(0.66666728258133,0.50000047683716,1.0000009536743),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.88214945793152,0.0033442378044128,0.87925684452057)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2386 | part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2387 | part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.84344428777695,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,0.78539816339745,0),"Block") | |
2388 | part(1,1,Vector3.new(0.66666728258133,0.66666728258133,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,0.080440580844879)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2389 | part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2390 | part(1,1,Vector3.new(0.91666752099991,0.50000047683716,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0.91161245107651,0.0033442378044128,0.90871953964233)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2391 | part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.82322382926941,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block") | |
2392 | ||
2393 | part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Block",0.63921570777893,0.63529413938522,0.64705884456635,1,1,LeftArm,CFrame.new(0.15389770269394,-0.20993836224079,-0.37024655938148)*CFrame.fromOrientation(0.75258595481783,2.3242549329229,1.9734437799037),"Handle") | |
2394 | part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block") | |
2395 | part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block") | |
2396 | part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.0054092407226563)*CFrame.fromOrientation(0,1.5707963267949,0),"Cylinder") | |
2397 | part(1,1,Vector3.new(0.59409826993942,0.14852456748486,2.2278685569763),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block") | |
2398 | part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge") | |
2399 | part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge") | |
2400 | part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge") | |
2401 | part(1,1,Vector3.new(0.089114740490913,0.59409826993942,0.59409826993942),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder") | |
2402 | part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Ball",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,4.4263770426767e-09,0.44016432762146)*CFrame.fromOrientation(0,0,0),"Ball") | |
2403 | part(1,1,Vector3.new(0.11881965398788,0.44557368755341,0.44557368755341),"Cylinder",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder") | |
2404 | part(1,1,Vector3.new(0.29704913496971,0.29704913496971,2.2278685569763),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block") | |
2405 | part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder") | |
2406 | part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(-0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge") | |
2407 | part(1,1,Vector3.new(1.4852457046509,0.14852456748486,0.14852456748486),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block") | |
2408 | part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block") | |
2409 | ||
2410 | ||
2411 | --[[ | |
2412 | coroutine.resume(coroutine.create(function() | |
2413 | .Touched:connect(function(hit) | |
2414 | game:service'RunService'.RenderStepped:connect(function() | |
2415 | ||
2416 | end) | |
2417 | game:GetService("Debris"):AddItem(p, 1) | |
2418 | local d = char:GetChildren() | |
2419 | for i=1, #d do | |
2420 | d[i] | |
2421 | end | |
2422 | end | |
2423 | ]] | |
2424 | ||
2425 | CreateSound = function(id, par, vol, pit) | |
2426 | ||
2427 | coroutine.resume(coroutine.create(function() | |
2428 | ||
2429 | local sou = Instance.new("Sound", par) | |
2430 | sou.Volume = vol | |
2431 | sou.Pitch = pit | |
2432 | sou.SoundId = id | |
2433 | wait() | |
2434 | sou:play() | |
2435 | game:GetService("Debris"):AddItem(sou, 6) | |
2436 | end | |
2437 | )) | |
2438 | end | |
2439 | ||
2440 | ||
2441 | rayCast = function(Position, Direction, Range, Ignore) | |
2442 | ||
2443 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
2444 | end | |
2445 | ||
2446 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2447 | ||
2448 | local laza = Instance.new("Part", nolagplease) | |
2449 | laza.CanCollide = false | |
2450 | if golden == false then | |
2451 | laza.BrickColor = brickcolor | |
2452 | end | |
2453 | if golden == true then | |
2454 | laza.BrickColor = BrickColor.new("New Yeller") | |
2455 | end | |
2456 | laza.Size = Vector3.new(0.5,0.5,0.5) | |
2457 | laza.Anchored = true | |
2458 | laza.CFrame = cframe | |
2459 | laza.Material = "Neon" | |
2460 | local msh = Instance.new("CylinderMesh",laza) | |
2461 | msh.Scale = Vector3.new(x1,y1,z1) | |
2462 | game:GetService("Debris"):AddItem(laza, 10) | |
2463 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
2464 | ||
2465 | for i = 0, 1, delay do | |
2466 | wait() | |
2467 | Part.Transparency = i | |
2468 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
2469 | end | |
2470 | Part.Parent = nil | |
2471 | end | |
2472 | ), laza, msh) | |
2473 | end | |
2474 | ||
2475 | shoottrail = function(mouse, partt, SpreadAmount, multiply) | |
2476 | ||
2477 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2478 | local ActualPosition = partt.Position | |
2479 | local MainPos2 = Vector3.new() | |
2480 | if mouse == play:GetMouse() then | |
2481 | MainPos2 = mouse.Hit.p + SpreadVectors | |
2482 | else | |
2483 | MainPos2 = mouse.Position | |
2484 | end | |
2485 | local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2) | |
2486 | local distance = 150 | |
2487 | if rage == true then | |
2488 | distance = distance * 2 | |
2489 | end | |
2490 | local remainder = 1 | |
2491 | local charge2 = charge | |
2492 | charge = 1 | |
2493 | coroutine.resume(coroutine.create(function() | |
2494 | ||
2495 | repeat | |
2496 | wait() | |
2497 | local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent) | |
2498 | local magnitude = (ActualPosition - pos).magnitude | |
2499 | Laser(char.Torso.BrickColor, CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0), 3, magnitude *(-distance / (distance / 2)), 3, -.1, 0, -.1, .1) | |
2500 | ActualPosition = ActualPosition + MouseLook.lookVector * distance | |
2501 | remainder = remainder - 1 | |
2502 | --MouseLook = MouseLook * CFrame.Angles(-.01,0, 0) | |
2503 | if hit ~= nil then | |
2504 | remainder = 0 | |
2505 | end | |
2506 | do | |
2507 | if remainder <= 0 then | |
2508 | local magnblock = Instance.new("Part", nolagplease) | |
2509 | magnblock.Transparency = 1 | |
2510 | magnblock.CanCollide = false | |
2511 | magnblock.Anchored = true | |
2512 | magnblock.CFrame = CFrame.new(pos) | |
2513 | block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,char.Torso.BrickColor,1) | |
2514 | magn(10,magnblock,7) | |
2515 | game:GetService("Debris"):AddItem(magnblock, 0.1) | |
2516 | end | |
2517 | end | |
2518 | until remainder <= 0 | |
2519 | end | |
2520 | )) | |
2521 | end | |
2522 | ||
2523 | shoottrail2 = function(mouse, partt, SpreadAmount, multiply) | |
2524 | ||
2525 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2526 | local MainPos = partt.Position | |
2527 | local MainPos2 = Vector3.new() | |
2528 | if mouse == play:GetMouse() then | |
2529 | MainPos2 = mouse.Hit.p + SpreadVectors | |
2530 | else | |
2531 | MainPos2 = mouse.Position | |
2532 | end | |
2533 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
2534 | local speed = 30 | |
2535 | if rage == true then | |
2536 | speed = speed * 2 | |
2537 | end | |
2538 | local remainder = 5 | |
2539 | local charge2 = charge | |
2540 | charge = 1 | |
2541 | coroutine.resume(coroutine.create(function() | |
2542 | ||
2543 | repeat | |
2544 | wait() | |
2545 | MainPos2 = mouse.Hit.p + SpreadVectors | |
2546 | MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))) | |
2547 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, char.HumanoidRootPart.Parent) | |
2548 | local mag = (MainPos - pos).magnitude | |
2549 | Laser(BrickColor.new("Institutional white"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag *(-speed / (speed / 2)), 1, -.1, 0, -.1, .3) | |
2550 | MainPos = MainPos + MouseLook.lookVector * speed | |
2551 | remainder = remainder - 1 | |
2552 | if hit ~= nil then | |
2553 | remainder = 0 | |
2554 | local refpart = Instance.new("Part", nolagplease) | |
2555 | refpart.Transparency = 1 | |
2556 | refpart.CanCollide = false | |
2557 | refpart.Anchored = true | |
2558 | refpart.CFrame = CFrame.new(pos) | |
2559 | game:GetService("Debris"):AddItem(refpart, 2) | |
2560 | end | |
2561 | do | |
2562 | if remainder <= 0 then | |
2563 | local refpart = Instance.new("Part", nolagplease) | |
2564 | refpart.Transparency = 1 | |
2565 | refpart.CanCollide = false | |
2566 | refpart.Anchored = true | |
2567 | refpart.CFrame = CFrame.new(pos) | |
2568 | block(CFrame.new(pos),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.1,BrickColor.new("Really black"),1) | |
2569 | magn(6,refpart,2) | |
2570 | --CreateSound("http://www.roblox.com/asset/?id=10209590",refpart,1,1) | |
2571 | game:GetService("Debris"):AddItem(refpart, 0.1) | |
2572 | end | |
2573 | end | |
2574 | until remainder <= 0 | |
2575 | end | |
2576 | )) | |
2577 | end | |
2578 | ||
2579 | swordthrow = function(mouse, partt, SpreadAmount, multiply, sword, reweldc0) | |
2580 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2581 | local ActualPosition = partt.Position | |
2582 | local MainPos2 = Vector3.new() | |
2583 | local kappa = 0 | |
2584 | if mouse == play:GetMouse() then | |
2585 | MainPos2 = mouse.Hit.p + SpreadVectors | |
2586 | else | |
2587 | MainPos2 = mouse.Position | |
2588 | end | |
2589 | local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2) | |
2590 | local distance = 4 | |
2591 | local remainder = 25 | |
2592 | local reweld = sword.Weld.Part0 | |
2593 | sword.Weld.Part0 = sword | |
2594 | sword.Anchored = true | |
2595 | coroutine.resume(coroutine.create(function() | |
2596 | ||
2597 | repeat | |
2598 | wait() | |
2599 | throwing = true | |
2600 | local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent) | |
2601 | local magnitude = (ActualPosition - pos).magnitude | |
2602 | kappa = kappa + 30 | |
2603 | sword.CFrame = CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(-kappa),0,math.rad(90)) | |
2604 | ActualPosition = ActualPosition + MouseLook.lookVector * distance | |
2605 | remainder = remainder - 1 | |
2606 | --MouseLook = MouseLook * CFrame.Angles(-.01,0, 0) | |
2607 | if hit ~= nil then | |
2608 | remainder = 0 | |
2609 | end | |
2610 | do | |
2611 | if remainder <= 0 then | |
2612 | local magnblock = Instance.new("Part", nolagplease) | |
2613 | magnblock.Transparency = 1 | |
2614 | magnblock.CanCollide = false | |
2615 | magnblock.Anchored = true | |
2616 | magnblock.CFrame = CFrame.new(pos) | |
2617 | block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,BrickColor.new("Really black"),1) | |
2618 | magn(10,magnblock,7) | |
2619 | game:GetService("Debris"):AddItem(magnblock, 0.1) | |
2620 | end | |
2621 | end | |
2622 | until remainder <= 0 | |
2623 | while attack == true do | |
2624 | sword.Transparency = 1 | |
2625 | wait() | |
2626 | end | |
2627 | sword.Transparency = 0.4 | |
2628 | sword.Anchored = false | |
2629 | sword.Weld.Part0 = char.Torso | |
2630 | sword.Weld.C0 = reweldc0 | |
2631 | ||
2632 | block(sword.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2633 | throwing = false | |
2634 | end | |
2635 | )) | |
2636 | end | |
2637 | ||
2638 | magn = function(dam,par,dist) | |
2639 | ||
2640 | for _,c in pairs(workspace:children()) do | |
2641 | local hum = c:findFirstChild("Humanoid") | |
2642 | if hum ~= nil then | |
2643 | local head = c:findFirstChild("Torso") | |
2644 | if head ~= nil then | |
2645 | local targ = head.Position - par.Position | |
2646 | local mag = targ.magnitude | |
2647 | if mag <= dist and c.Name ~= play.Name then | |
2648 | hum.Health = hum.Health - dam * (hum.MaxHealth/100) | |
2649 | mana = mana + dam/5 | |
2650 | if ult == true and equipcheck == false then | |
2651 | mana = mana + dam/5 | |
2652 | end | |
2653 | if ult == true and equipcheck == true then | |
2654 | char.Humanoid.Health = char.Humanoid.Health + dam/5 | |
2655 | end | |
2656 | end | |
2657 | end | |
2658 | end | |
2659 | end | |
2660 | end | |
2661 | ||
2662 | magna = function(dam,par,dist) | |
2663 | ||
2664 | for _,c in pairs(workspace:children()) do | |
2665 | local hum = c:findFirstChild("Humanoid") | |
2666 | if hum ~= nil then | |
2667 | local head = c:findFirstChild("Torso") | |
2668 | if head ~= nil then | |
2669 | local targ = head.Position - par.Position | |
2670 | local mag = targ.magnitude | |
2671 | if mag <= dist then | |
2672 | hum.Health = hum.Health - dam * (hum.MaxHealth/100) | |
2673 | end | |
2674 | end | |
2675 | end | |
2676 | end | |
2677 | end | |
2678 | ||
2679 | local pasthp = 0 | |
2680 | ||
2681 | part = function(wel,cancollid,size,shape,color,transp,mat,weldpart,c0,nam) | |
2682 | if shape ~= "Wedge" then | |
2683 | local q = Instance.new("Part", weapon) | |
2684 | q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
2685 | q.Shape = shape | |
2686 | q.Size = size | |
2687 | q.Transparency = transp | |
2688 | q.BrickColor = color | |
2689 | q.Material = mat | |
2690 | q.FrontSurface = "Smooth" | |
2691 | q.BackSurface = "Smooth" | |
2692 | q.LeftSurface = "Smooth" | |
2693 | q.RightSurface = "Smooth" | |
2694 | q.BottomSurface = "Smooth" | |
2695 | q.TopSurface = "Smooth" | |
2696 | if cancollid == 1 then | |
2697 | q.CanCollide = false | |
2698 | end | |
2699 | q.Name = nam | |
2700 | if wel == 1 then | |
2701 | local qw = Instance.new("Weld", q) | |
2702 | qw.Part0 = weldpart | |
2703 | qw.Part1 = q | |
2704 | qw.C0 = c0 | |
2705 | end | |
2706 | end | |
2707 | if shape == "Wedge" then | |
2708 | local q = Instance.new("WedgePart", weapon) | |
2709 | q.Size = size | |
2710 | q.Transparency = transp | |
2711 | q.BrickColor = color | |
2712 | q.Material = mat | |
2713 | if cancollid == 1 then | |
2714 | q.CanCollide = false | |
2715 | end | |
2716 | q.Name = nam | |
2717 | local qw = Instance.new("Weld", q) | |
2718 | qw.Part0 = weldpart | |
2719 | qw.Part1 = q | |
2720 | qw.C0 = c0 | |
2721 | end | |
2722 | end | |
2723 | ||
2724 | ||
2725 | attack1 = function() | |
2726 | attack = true | |
2727 | local kekke = 0 | |
2728 | for i = 0, 1, 0.1 do | |
2729 | wait() | |
2730 | kekke = kekke + 8 | |
2731 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(kekke+70)), 0.3) | |
2732 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3) | |
2733 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01) | |
2734 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2735 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
2736 | end | |
2737 | for i = 0, 1, 0.1 do | |
2738 | wait() | |
2739 | magn(1.5,weapon.Handle2,4) | |
2740 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
2741 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
2742 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
2743 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
2744 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
2745 | end | |
2746 | attack = false | |
2747 | end | |
2748 | ||
2749 | attack2 = function() | |
2750 | attack = true | |
2751 | local kekke = 0 | |
2752 | for i = 0, 1, 0.1 do | |
2753 | wait() | |
2754 | kekke = kekke + 20 | |
2755 | magn(3,weapon.Handle,4) | |
2756 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke+70)), 1) | |
2757 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3) | |
2758 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1) | |
2759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.3) | |
2760 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
2761 | end | |
2762 | attack = false | |
2763 | end | |
2764 | ||
2765 | swordattack3 = function() | |
2766 | attack = true | |
2767 | local kekke = 0 | |
2768 | for i = 0, 1, 0.1 do | |
2769 | wait() | |
2770 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2771 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2772 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3) | |
2773 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3) | |
2774 | end | |
2775 | weld11.Part0 = LeftArm | |
2776 | weld21.Part0 = RightArm | |
2777 | weld21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5) | |
2778 | weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5) | |
2779 | for i = 0, 1, 0.2 do | |
2780 | wait() | |
2781 | magn(1,sword11,4) | |
2782 | magn(1,sword21,4) | |
2783 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
2784 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2785 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3) | |
2786 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3) | |
2787 | end | |
2788 | for i = 0, 1, 0.2 do | |
2789 | wait() | |
2790 | ||
2791 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
2792 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2793 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(45)), 0.6) | |
2794 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(-60), math.rad(45)), 0.6) | |
2795 | end | |
2796 | magn(7.5,sword21,4) | |
2797 | for i = 0, 1, 0.2 do | |
2798 | wait() | |
2799 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
2800 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2801 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(60), math.rad(-45)), 0.6) | |
2802 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-45)), 0.6) | |
2803 | end | |
2804 | magn(7.5,sword11,4) | |
2805 | for i = 0, 1, 0.2 do | |
2806 | wait() | |
2807 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
2808 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2809 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(40), math.rad(-45)), 0.6) | |
2810 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(-40), math.rad(45)), 0.6) | |
2811 | end | |
2812 | magn(7.5,sword11,4) | |
2813 | magn(7.5,sword21,4) | |
2814 | for i = 0, 1, 0.2 do | |
2815 | wait() | |
2816 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
2817 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2818 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(45), math.rad(45)), 0.6) | |
2819 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(-45), math.rad(-45)), 0.6) | |
2820 | end | |
2821 | weld11.Part0 = char.Torso | |
2822 | weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) | |
2823 | weld21.Part0 = char.Torso | |
2824 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) | |
2825 | block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2826 | block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2827 | attack = false | |
2828 | end | |
2829 | ||
2830 | swordattack4 = function() | |
2831 | attack = true | |
2832 | local kekke = 0 | |
2833 | for i = 0, 1, 0.1 do | |
2834 | wait() | |
2835 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2836 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2837 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3) | |
2838 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2839 | end | |
2840 | weld12.Part0 = LeftArm | |
2841 | weld22.Part0 = RightArm | |
2842 | weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5) | |
2843 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5) | |
2844 | for i = 0, 1, 0.2 do | |
2845 | wait() | |
2846 | magn(1,sword11,4) | |
2847 | magn(1,sword21,4) | |
2848 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3) | |
2849 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3) | |
2850 | end | |
2851 | swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)) | |
2852 | for i = 0, 1, 0.2 do | |
2853 | wait() | |
2854 | magn(1,sword11,4) | |
2855 | magn(1,sword21,4) | |
2856 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3) | |
2857 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3) | |
2858 | end | |
2859 | swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)) | |
2860 | for i = 0, 1, 0.2 do | |
2861 | wait() | |
2862 | magn(1,sword11,4) | |
2863 | magn(1,sword21,4) | |
2864 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3) | |
2865 | end | |
2866 | attack = false | |
2867 | end | |
2868 | ||
2869 | swordattack5 = function() | |
2870 | attack = true | |
2871 | local kekke = 60 | |
2872 | for i = 0, 1, 0.2 do | |
2873 | wait() | |
2874 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2875 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2876 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3) | |
2877 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3) | |
2878 | end | |
2879 | weld1.Part0 = LeftArm | |
2880 | weld2.Part0 = RightArm | |
2881 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0) | |
2882 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0) | |
2883 | for i = 0, 1, 0.2 do | |
2884 | wait() | |
2885 | magn(1,sword11,4) | |
2886 | magn(1,sword21,4) | |
2887 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3) | |
2888 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3) | |
2889 | end | |
2890 | while kekke > -120 do | |
2891 | wait() | |
2892 | magn(1,sword1,2) | |
2893 | magn(1,sword2,2) | |
2894 | kekke = kekke - 7 | |
2895 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180+kekke*15),0) * CFrame.new(0,-1,0) | |
2896 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180-kekke*15),0) * CFrame.new(0,-1,0) | |
2897 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3) | |
2898 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3) | |
2899 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2900 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2901 | end | |
2902 | attack = false | |
2903 | weld1.Part0 = char.Torso | |
2904 | weld2.Part0 = char.Torso | |
2905 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) | |
2906 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) | |
2907 | block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2908 | block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2909 | end | |
2910 | ||
2911 | swordattack6 = function() | |
2912 | attack = true | |
2913 | local sworda = Instance.new("Part", char) | |
2914 | sworda.CanCollide = false | |
2915 | sworda.Transparency = 1 | |
2916 | local aw = Instance.new("Weld", sworda) | |
2917 | aw.Part0 = sworda | |
2918 | aw.Part1 = char.HumanoidRootPart | |
2919 | local kekke = 0 | |
2920 | for i = 0, 1, 0.2 do | |
2921 | wait() | |
2922 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
2923 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2924 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
2925 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
2926 | end | |
2927 | sword1.Weld.Part0 = sworda | |
2928 | sword2.Weld.Part0 = sworda | |
2929 | sword11.Weld.Part0 = sworda | |
2930 | sword21.Weld.Part0 = sworda | |
2931 | sword12.Weld.Part0 = sworda | |
2932 | sword22.Weld.Part0 = sworda | |
2933 | sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4) | |
2934 | sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4) | |
2935 | sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4) | |
2936 | sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4) | |
2937 | sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4) | |
2938 | sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4) | |
2939 | block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2940 | block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2941 | block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2942 | block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2943 | block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2944 | block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2945 | while kekke > -120 do | |
2946 | wait() | |
2947 | kekke = kekke - 3.5 | |
2948 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0) | |
2949 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3) | |
2950 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3) | |
2951 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2952 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2953 | end | |
2954 | for i = 0,1,0.1 do | |
2955 | wait() | |
2956 | magn(1,sword1,4) | |
2957 | magn(1,sword2,4) | |
2958 | magn(1,sword11,4) | |
2959 | magn(1,sword21,4) | |
2960 | magn(1,sword12,4) | |
2961 | magn(1,sword22,4) | |
2962 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0) | |
2963 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6) | |
2964 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6) | |
2965 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2966 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2967 | end | |
2968 | kekke = 28 | |
2969 | while kekke >= 0 do | |
2970 | wait() | |
2971 | kekke = kekke - 0.4 | |
2972 | magn(1*(kekke/28),sword1,4) | |
2973 | magn(1*(kekke/28),sword2,4) | |
2974 | magn(1*(kekke/28),sword11,4) | |
2975 | magn(1*(kekke/28),sword21,4) | |
2976 | magn(1*(kekke/28),sword12,4) | |
2977 | magn(1*(kekke/28),sword22,4) | |
2978 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(kekke),0) | |
2979 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2980 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
2981 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2982 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
2983 | end | |
2984 | attack = false | |
2985 | weld1.Part0 = char.Torso | |
2986 | weld2.Part0 = char.Torso | |
2987 | weld11.Part0 = char.Torso | |
2988 | weld21.Part0 = char.Torso | |
2989 | weld12.Part0 = char.Torso | |
2990 | weld22.Part0 = char.Torso | |
2991 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) | |
2992 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) | |
2993 | weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) | |
2994 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) | |
2995 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) | |
2996 | weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) | |
2997 | block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2998 | block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
2999 | block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3000 | block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3001 | block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3002 | block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3003 | sworda:Destroy() | |
3004 | ||
3005 | end | |
3006 | ||
3007 | swordult = function() | |
3008 | attack = true | |
3009 | local sworda = Instance.new("Part", char) | |
3010 | sworda.CanCollide = false | |
3011 | sworda.Transparency = 1 | |
3012 | local aw = Instance.new("Weld", sworda) | |
3013 | aw.Part0 = sworda | |
3014 | aw.Part1 = char.HumanoidRootPart | |
3015 | local kekke = 0 | |
3016 | for i = 0, 1, 0.2 do | |
3017 | wait() | |
3018 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3019 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3020 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3021 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3022 | end | |
3023 | sword1.Weld.Part0 = sworda | |
3024 | sword2.Weld.Part0 = sworda | |
3025 | sword11.Weld.Part0 = sworda | |
3026 | sword21.Weld.Part0 = sworda | |
3027 | sword12.Weld.Part0 = sworda | |
3028 | sword22.Weld.Part0 = sworda | |
3029 | sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4) | |
3030 | sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4) | |
3031 | sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4) | |
3032 | sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4) | |
3033 | sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4) | |
3034 | sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4) | |
3035 | block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3036 | block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3037 | block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3038 | block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3039 | block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3040 | block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3041 | while kekke > -135 do | |
3042 | wait() | |
3043 | kekke = kekke - 1 | |
3044 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0) | |
3045 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45-kekke)), 0.6) | |
3046 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.6) | |
3047 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3048 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3049 | end | |
3050 | local spinneblock = Instance.new("Part", char) | |
3051 | spinneblock.CanCollide = false | |
3052 | spinneblock.Transparency = 1 | |
3053 | local spinneweld = Instance.new("Weld",spinneblock) | |
3054 | spinneweld.Part0 = spinneblock | |
3055 | spinneweld.Part1 = char.Torso | |
3056 | local spinnemesh = Instance.new("SpecialMesh", spinneblock) | |
3057 | spinnemesh.MeshType = "FileMesh" | |
3058 | spinnemesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
3059 | spinnemesh.Scale = Vector3.new(4,6,4) | |
3060 | spinneblock.BrickColor = char.Torso.BrickColor | |
3061 | for i = 0,1,0.1 do | |
3062 | wait() | |
3063 | magn(1,sword1,4) | |
3064 | magn(1,sword2,4) | |
3065 | magn(1,sword11,4) | |
3066 | magn(1,sword21,4) | |
3067 | magn(1,sword12,4) | |
3068 | magn(1,sword22,4) | |
3069 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0) | |
3070 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6) | |
3071 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6) | |
3072 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3073 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3074 | end | |
3075 | kekke = 0 | |
3076 | char.Humanoid.AutoRotate = false | |
3077 | char.Humanoid.WalkSpeed = 64 | |
3078 | for i = 0,1,0.005 do | |
3079 | wait() | |
3080 | spinneblock.Transparency = spinneblock.Transparency - 0.01 | |
3081 | kekke = kekke + 30 | |
3082 | magn(2,sword1,6) | |
3083 | magn(2,sword2,6) | |
3084 | magn(2,sword11,6) | |
3085 | magn(2,sword21,6) | |
3086 | magn(2,sword12,6) | |
3087 | magn(2,sword22,6) | |
3088 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0) | |
3089 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3090 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), .6) | |
3091 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3092 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3093 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3094 | end | |
3095 | attack = false | |
3096 | char.Humanoid.AutoRotate = true | |
3097 | weld1.Part0 = char.Torso | |
3098 | weld2.Part0 = char.Torso | |
3099 | weld11.Part0 = char.Torso | |
3100 | weld21.Part0 = char.Torso | |
3101 | weld12.Part0 = char.Torso | |
3102 | weld22.Part0 = char.Torso | |
3103 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) | |
3104 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) | |
3105 | weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) | |
3106 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) | |
3107 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) | |
3108 | weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) | |
3109 | sworda:Destroy() | |
3110 | spinneblock:Destroy() | |
3111 | ult = false | |
3112 | weapon.Handle2.Weld.Part0 = RightArm | |
3113 | sword1.Transparency = 1 | |
3114 | sword2.Transparency = 1 | |
3115 | sword11.Transparency = 1 | |
3116 | sword21.Transparency = 1 | |
3117 | sword12.Transparency = 1 | |
3118 | sword22.Transparency = 1 | |
3119 | char.Humanoid.Health = 1 | |
3120 | mana = mana - 400 | |
3121 | end | |
3122 | ||
3123 | swordspin = function() | |
3124 | attack = true | |
3125 | local thrown = false | |
3126 | local side = false | |
3127 | local sworda = Instance.new("Part", char) | |
3128 | sworda.CanCollide = false | |
3129 | sworda.Transparency = 1 | |
3130 | local aw = Instance.new("Weld", sworda) | |
3131 | aw.Part0 = sworda | |
3132 | aw.Part1 = char.HumanoidRootPart | |
3133 | local kekke = 0 | |
3134 | for i = 0, 1, 0.2 do | |
3135 | wait() | |
3136 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3137 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3138 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3139 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3140 | end | |
3141 | sword1.Weld.Part0 = sworda | |
3142 | sword2.Weld.Part0 = sworda | |
3143 | sword11.Weld.Part0 = sworda | |
3144 | sword21.Weld.Part0 = sworda | |
3145 | sword12.Weld.Part0 = sworda | |
3146 | sword22.Weld.Part0 = sworda | |
3147 | sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4) | |
3148 | sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4) | |
3149 | sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4) | |
3150 | sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4) | |
3151 | sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4) | |
3152 | sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4) | |
3153 | while kekke > -120 do | |
3154 | wait() | |
3155 | kekke = kekke - 3.5 | |
3156 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0) | |
3157 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3) | |
3158 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3) | |
3159 | --block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3160 | --block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2) | |
3161 | end | |
3162 | coroutine.resume(coroutine.create(function() | |
3163 | swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) ) | |
3164 | side = true | |
3165 | wait(.42) | |
3166 | swordthrow(play:GetMouse(),sword1,0,0,sword1, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) ) | |
3167 | side = false | |
3168 | wait(.42) | |
3169 | swordthrow(play:GetMouse(),sword2,0,0,sword2, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) ) | |
3170 | side = true | |
3171 | wait(.42) | |
3172 | swordthrow(play:GetMouse(),sword11,0,0,sword11, CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) ) | |
3173 | side = false | |
3174 | wait(.42) | |
3175 | swordthrow(play:GetMouse(),sword21,0,0,sword21, CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) ) | |
3176 | side = true | |
3177 | wait(.42) | |
3178 | swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) ) | |
3179 | side = false | |
3180 | wait(.42) | |
3181 | thrown = true | |
3182 | end)) | |
3183 | while thrown == false do | |
3184 | wait() | |
3185 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0) | |
3186 | ||
3187 | if side == true then | |
3188 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6) | |
3189 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
3190 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6) | |
3191 | else | |
3192 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
3193 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6) | |
3194 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6) | |
3195 | end | |
3196 | end | |
3197 | attack = false | |
3198 | sworda:Destroy() | |
3199 | end | |
3200 | ||
3201 | swordcombo = function() | |
3202 | attack = true | |
3203 | local thrown = false | |
3204 | local side = false | |
3205 | local sworda = Instance.new("Part", char) | |
3206 | sworda.CanCollide = false | |
3207 | sworda.Transparency = 1 | |
3208 | local aw = Instance.new("Weld", sworda) | |
3209 | aw.Part0 = sworda | |
3210 | aw.Part1 = char.HumanoidRootPart | |
3211 | local kekke = 0 | |
3212 | for i = 0, 1, 0.2 do | |
3213 | wait() | |
3214 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3215 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3216 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3) | |
3217 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.3) | |
3218 | end | |
3219 | sword1.Weld.Part0 = sworda | |
3220 | sword2.Weld.Part0 = sworda | |
3221 | sword11.Weld.Part0 = sworda | |
3222 | sword21.Weld.Part0 = sworda | |
3223 | sword12.Weld.Part0 = sworda | |
3224 | sword22.Weld.Part0 = sworda | |
3225 | sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(90)) * CFrame.new(0,0,4) | |
3226 | sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(90)) * CFrame.new(0,0,4) | |
3227 | sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90)) * CFrame.new(0,0,4) | |
3228 | sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(90)) * CFrame.new(0,0,4) | |
3229 | sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(90)) * CFrame.new(0,0,4) | |
3230 | sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(90)) * CFrame.new(0,0,4) | |
3231 | while kekke > -180 do | |
3232 | wait() | |
3233 | kekke = kekke - 4 | |
3234 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-4),0) | |
3235 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke/2)), 0.3) | |
3236 | sword1.Weld.C0 = clerp(sword1.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3237 | sword2.Weld.C0 = clerp(sword2.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3238 | sword11.Weld.C0 = clerp(sword11.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3239 | sword21.Weld.C0 = clerp(sword21.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3240 | sword12.Weld.C0 = clerp(sword12.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3241 | sword22.Weld.C0 = clerp(sword22.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1) | |
3242 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke/2)), 0.3) | |
3243 | end | |
3244 | coroutine.resume(coroutine.create(function() | |
3245 | ||
3246 | end)) | |
3247 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-20),0) | |
3248 | block(sword2.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3) | |
3249 | block(sword12.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3) | |
3250 | block(sword11.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3) | |
3251 | block(sword22.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3) | |
3252 | block(sword1.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3) | |
3253 | block(sword21.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3) | |
3254 | attack = false | |
3255 | weld1.Part0 = char.Torso | |
3256 | weld2.Part0 = char.Torso | |
3257 | weld11.Part0 = char.Torso | |
3258 | weld21.Part0 = char.Torso | |
3259 | weld12.Part0 = char.Torso | |
3260 | weld22.Part0 = char.Torso | |
3261 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4) | |
3262 | weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4) | |
3263 | weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3) | |
3264 | weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3) | |
3265 | weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4) | |
3266 | weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4) | |
3267 | block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3268 | block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3269 | block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3270 | block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3271 | block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3272 | block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2) | |
3273 | sworda:Destroy() | |
3274 | end | |
3275 | ||
3276 | attack3 = function() | |
3277 | attack = true | |
3278 | for i = 0, 1, 0.1 do | |
3279 | wait() | |
3280 | magn(2,LeftArm,2) | |
3281 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1,1,1),Vector3.new(.1,.1,.1),.1,char.Torso.BrickColor,1) | |
3282 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3283 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
3285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1) | |
3286 | end | |
3287 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1) | |
3288 | for i = 0, 1, 0.1 do | |
3289 | wait() | |
3290 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1.5,1.5,1.5),Vector3.new(.1,.1,.1),.2,char.Torso.BrickColor,1) | |
3291 | magn(2,LeftArm,2) | |
3292 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3293 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3294 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
3295 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
3296 | end | |
3297 | attack = false | |
3298 | end | |
3299 | ||
3300 | attack4 = function() | |
3301 | attack = true | |
3302 | for i = 0, 1, 0.1 do | |
3303 | wait() | |
3304 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3) | |
3305 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3306 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3) | |
3307 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1) | |
3308 | end | |
3309 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1) | |
3310 | shoottrail(weapon.ST,LeftArm,0,1) | |
3311 | for i = 0, 1, 0.1 do | |
3312 | wait() | |
3313 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3) | |
3314 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3315 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3) | |
3316 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1) | |
3317 | end | |
3318 | attack = false | |
3319 | end | |
3320 | ||
3321 | magicattack3 = function() | |
3322 | attack = true | |
3323 | local kekke = 0 | |
3324 | local shotsfired = 0 | |
3325 | for i = 0, 1, 0.1 do | |
3326 | wait() | |
3327 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1) | |
3328 | magn(0.3,LeftArm,6) | |
3329 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3330 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3331 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
3332 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1) | |
3333 | end | |
3334 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Institutional white"),1) | |
3335 | magn(10,LeftArm,5) | |
3336 | local a4 = Instance.new("Part", char) | |
3337 | a4.Anchored = true | |
3338 | a4.CanCollide = false | |
3339 | a4.Transparency = 1 | |
3340 | a4.Size = Vector3.new(1,1,1) | |
3341 | a4.CFrame = LeftArm.CFrame * CFrame.new(0,-1,0) | |
3342 | coroutine.resume(coroutine.create(function() | |
3343 | while shotsfired < 5 do | |
3344 | kekke = kekke + 1 | |
3345 | block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1) | |
3346 | if kekke >= 15 then | |
3347 | kekke = 0 | |
3348 | block(a4.CFrame,Vector3.new(10,10,10),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1) | |
3349 | magn(5,a4,5) | |
3350 | shotsfired = shotsfired + 1 | |
3351 | end | |
3352 | wait() | |
3353 | end | |
3354 | a4:Destroy() | |
3355 | end)) | |
3356 | for i = 0, 1, 0.1 do | |
3357 | wait() | |
3358 | block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1) | |
3359 | magn(1,LeftArm,6) | |
3360 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3361 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3362 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
3363 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
3364 | end | |
3365 | attack = false | |
3366 | end | |
3367 | ||
3368 | magicattack4 = function() | |
3369 | attack = true | |
3370 | local kekke = 0 | |
3371 | local shotsfired = 0 | |
3372 | for i = 0, 1, 0.1 do | |
3373 | wait() | |
3374 | block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1) | |
3375 | magn(0.3,RightArm,6) | |
3376 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3377 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3378 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), .3) | |
3379 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1) | |
3380 | end | |
3381 | block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1) | |
3382 | magn(10,RightArm,5) | |
3383 | local a4 = Instance.new("Part", char) | |
3384 | a4.Anchored = true | |
3385 | a4.CanCollide = false | |
3386 | a4.Transparency = 1 | |
3387 | a4.Size = Vector3.new(1,1,1) | |
3388 | a4.CFrame = RightArm.CFrame * CFrame.new(0,-1,0) | |
3389 | coroutine.resume(coroutine.create(function() | |
3390 | while shotsfired < 5 do | |
3391 | kekke = kekke + 1 | |
3392 | block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1) | |
3393 | if kekke >= 15 then | |
3394 | kekke = 0 | |
3395 | shoottrail2(play:GetMouse(),a4,0,0) | |
3396 | shotsfired = shotsfired + 1 | |
3397 | end | |
3398 | wait() | |
3399 | end | |
3400 | a4:Destroy() | |
3401 | end)) | |
3402 | for i = 0, 1, 0.1 do | |
3403 | wait() | |
3404 | block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1) | |
3405 | magn(1,RightArm,6) | |
3406 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
3407 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
3408 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
3409 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3) | |
3410 | end | |
3411 | attack = false | |
3412 | end | |
3413 | ||
3414 | ||
3415 | shieldbash = function() | |
3416 | attack = true | |
3417 | local kekke = 0 | |
3418 | for i = 0, 1, 0.1 do | |
3419 | wait() | |
3420 | kekke = kekke + 8 | |
3421 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3422 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3423 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01) | |
3424 | if equipped == true then | |
3425 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3) | |
3426 | end | |
3427 | if equipped == false then | |
3428 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3429 | end | |
3430 | end | |
3431 | char.Humanoid.Jump = true | |
3432 | for i = 0, 1, 0.1 do | |
3433 | wait() | |
3434 | char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150 | |
3435 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.04,char.Torso.BrickColor,1) | |
3436 | magn(3,char.Torso,5) | |
3437 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),char.Torso.BrickColor,Vector3.new(2.5,2.5,2.5),Vector3.new(0.5,0,.5),0.04,2) | |
3438 | end | |
3439 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1) | |
3440 | magn(10,char.Torso,15) | |
3441 | for i = 0, 1, 0.1 do | |
3442 | wait() | |
3443 | magn(1.5,weapon.Handle2,4) | |
3444 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
3445 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
3446 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
3447 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
3448 | end | |
3449 | attack = false | |
3450 | end | |
3451 | ||
3452 | teleportback = function() | |
3453 | attack = true | |
3454 | parry = false | |
3455 | char.Humanoid.WalkSpeed = 4 | |
3456 | local kekke = 0 | |
3457 | while parry == false do | |
3458 | wait() | |
3459 | kekke = kekke + 8 | |
3460 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3461 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3462 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
3463 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3) | |
3464 | end | |
3465 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1) | |
3466 | magn(20,char.Torso,15) | |
3467 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15) | |
3468 | char.Humanoid.WalkSpeed = 16 | |
3469 | attack = false | |
3470 | end | |
3471 | ||
3472 | supershieldbash = function() | |
3473 | attack = true | |
3474 | local kekke = 0 | |
3475 | for i = 0, 1, 0.1 do | |
3476 | wait() | |
3477 | kekke = kekke + 8 | |
3478 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3479 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3480 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01) | |
3481 | if equipped == true then | |
3482 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3) | |
3483 | end | |
3484 | if equipped == false then | |
3485 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3486 | end | |
3487 | end | |
3488 | char.Humanoid.Jump = true | |
3489 | for i = 0, 1, 0.05 do | |
3490 | wait() | |
3491 | char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150 | |
3492 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1) | |
3493 | magn(3,char.Torso,10) | |
3494 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1) | |
3495 | end | |
3496 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(30,30,30),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1) | |
3497 | magn(10,char.Torso,30) | |
3498 | for i = 0, 1, 0.1 do | |
3499 | wait() | |
3500 | magn(1.5,weapon.Handle2,4) | |
3501 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
3502 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
3503 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
3504 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
3505 | end | |
3506 | attack = false | |
3507 | end | |
3508 | ||
3509 | superteleportback = function() | |
3510 | attack = true | |
3511 | parry = false | |
3512 | char.Humanoid.WalkSpeed = 4 | |
3513 | local kekke = 0 | |
3514 | while parry == false do | |
3515 | wait() | |
3516 | kekke = kekke + 8 | |
3517 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3518 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3519 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
3520 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3) | |
3521 | end | |
3522 | char.Humanoid.AutoRotate = false | |
3523 | for i = 0,2 do | |
3524 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1) | |
3525 | magn(3,char.Torso,10) | |
3526 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1) | |
3527 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15) | |
3528 | end | |
3529 | wait(.3) | |
3530 | for i = 0,5 do | |
3531 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1) | |
3532 | magn(3,char.Torso,10) | |
3533 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1) | |
3534 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15) | |
3535 | end | |
3536 | wait(.3) | |
3537 | for i = 0,8 do | |
3538 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1) | |
3539 | magn(3,char.Torso,10) | |
3540 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1) | |
3541 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15) | |
3542 | end | |
3543 | wait(.3) | |
3544 | for i = 0,8 do | |
3545 | block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1) | |
3546 | magn(3,char.Torso,10) | |
3547 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1) | |
3548 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15) | |
3549 | end | |
3550 | char.Humanoid.WalkSpeed = 16 | |
3551 | attack = false | |
3552 | char.Humanoid.AutoRotate = true | |
3553 | end | |
3554 | ||
3555 | local equip = function() | |
3556 | attack = true | |
3557 | for i = 0, 1, 0.1 do | |
3558 | wait() | |
3559 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3560 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3561 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2 - 0.1 * math.cos((sine) / 15), -1) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.5) | |
3562 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3) | |
3563 | end | |
3564 | if equipped == true then | |
3565 | char.Humanoid.WalkSpeed = 32 | |
3566 | equipped = false | |
3567 | weapon.Handle.Weld.Part0 = weapon.Handle2 | |
3568 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
3569 | elseif equipped == false then | |
3570 | equipped = true | |
3571 | char.Humanoid.WalkSpeed = 16 | |
3572 | weapon.Handle.Weld.Part0 = LeftArm | |
3573 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
3574 | end | |
3575 | attack = false | |
3576 | end | |
3577 | ||
3578 | ||
3579 | ||
3580 | comboattack = function() | |
3581 | attack = true | |
3582 | local kekke = 0 | |
3583 | while kekke < 1440 do | |
3584 | wait() | |
3585 | kekke = kekke + 40 | |
3586 | magn(4,weapon.Handle,4) | |
3587 | block(LeftArm.CFrame*CFrame.new(0,-2,0),Vector3.new(1,1,4),Vector3.new(0,0,1),.1,char.Torso.BrickColor,1) | |
3588 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), 1) | |
3589 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3) | |
3590 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1) | |
3591 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3592 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-90)), 1) | |
3593 | end | |
3594 | attack = false | |
3595 | end | |
3596 | ||
3597 | orbs = function() | |
3598 | local kekke = 0 | |
3599 | local shot1 = 1 | |
3600 | local a = Instance.new("Part", char) | |
3601 | a.CanCollide = false | |
3602 | a.Transparency = 1 | |
3603 | a.Size = Vector3.new(1,1,1) | |
3604 | local aw = Instance.new("Weld", a) | |
3605 | aw.Part0 = a | |
3606 | aw.Part1 = char.HumanoidRootPart | |
3607 | if ult == true and equipcheck == false then | |
3608 | aw.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(-18)) | |
3609 | end | |
3610 | local a2 = Instance.new("Part", char) | |
3611 | a2.Anchored = true | |
3612 | a2.CanCollide = false | |
3613 | a2.Transparency = 1 | |
3614 | a2.Size = Vector3.new(1,1,1) | |
3615 | local a3 = Instance.new("Part", char) | |
3616 | a3.Anchored = true | |
3617 | a3.CanCollide = false | |
3618 | a3.Transparency = 1 | |
3619 | a3.Size = Vector3.new(1,1,1) | |
3620 | local a4 = Instance.new("Part", char) | |
3621 | a4.Anchored = true | |
3622 | a4.CanCollide = false | |
3623 | a4.Transparency = 1 | |
3624 | a4.Size = Vector3.new(1,1,1) | |
3625 | while mana >= 1 and orb == true do | |
3626 | wait() | |
3627 | kekke = kekke + 1 | |
3628 | if ult == false then | |
3629 | magn(.3,a2,4) | |
3630 | block(a2.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1) | |
3631 | magn(.3,a3,4) | |
3632 | block(a3.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1) | |
3633 | magn(.3,a4,4) | |
3634 | block(a4.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1) | |
3635 | mana = mana - 0.3 | |
3636 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0) | |
3637 | a2.CFrame = a.CFrame * CFrame.new(2,0,-4) | |
3638 | a3.CFrame = a.CFrame * CFrame.new(2,0,4) | |
3639 | a4.CFrame = a.CFrame * CFrame.new(-4,0,0) | |
3640 | else | |
3641 | if kekke >= 20 and equipcheck == false then | |
3642 | kekke = 0 | |
3643 | if shot1 == 1 then | |
3644 | shot1 = 2 | |
3645 | shoottrail2(play:GetMouse(),a4,0,1) | |
3646 | elseif shot1 == 2 then | |
3647 | shot1 = 3 | |
3648 | shoottrail2(play:GetMouse(),a2,0,1) | |
3649 | elseif shot1 == 3 then | |
3650 | shot1 = 1 | |
3651 | shoottrail2(play:GetMouse(),a3,0,1) | |
3652 | end | |
3653 | end | |
3654 | magn(.4,a2,6) | |
3655 | block(a2.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1) | |
3656 | magn(.4,a3,6) | |
3657 | block(a3.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1) | |
3658 | magn(.4,a4,6) | |
3659 | block(a4.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1) | |
3660 | mana = mana - .6 | |
3661 | if equipcheck == false then | |
3662 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(6)) | |
3663 | a2.CFrame = a.CFrame * CFrame.new(2,-4,0) | |
3664 | a3.CFrame = a.CFrame * CFrame.new(2,4,0) | |
3665 | a4.CFrame = a.CFrame * CFrame.new(-4,0,0) | |
3666 | else | |
3667 | aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0) | |
3668 | a2.CFrame = a.CFrame * CFrame.new(2,0,-4) | |
3669 | a3.CFrame = a.CFrame * CFrame.new(2,0,4) | |
3670 | a4.CFrame = a.CFrame * CFrame.new(-4,0,0) | |
3671 | end | |
3672 | end | |
3673 | end | |
3674 | a:Destroy() | |
3675 | a2:Destroy() | |
3676 | a3:Destroy() | |
3677 | a4:Destroy() | |
3678 | end | |
3679 | ||
3680 | local magictransform = function() | |
3681 | attack = true | |
3682 | char.Humanoid.WalkSpeed = 0 | |
3683 | char.Humanoid.JumpPower = 0 | |
3684 | local kekke = 0 | |
3685 | local kekke1 = 0 | |
3686 | local kekke2 = 0 | |
3687 | local kekke3 = 0 | |
3688 | local coold = 1 | |
3689 | for i = 0,1,0.01 do | |
3690 | wait() | |
3691 | magn(0.5,char.Torso,10) | |
3692 | kekke = kekke + 0.1 | |
3693 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1) | |
3694 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1) | |
3695 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3696 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3697 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1) | |
3698 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3699 | end | |
3700 | coroutine.resume(coroutine.create(function() | |
3701 | while attack == true do | |
3702 | kekke1 = math.random(0,180) | |
3703 | kekke2 = math.random(0,180) | |
3704 | kekke3 = math.random(0,180) | |
3705 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2) | |
3706 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2) | |
3707 | magn(0.5,char.Torso,20) | |
3708 | wait(coold) | |
3709 | end | |
3710 | end)) | |
3711 | for i = 0,1,0.01 do | |
3712 | wait() | |
3713 | coold = coold - 0.01 | |
3714 | print(coold) | |
3715 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1) | |
3716 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1) | |
3717 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3718 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3719 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1) | |
3720 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3) | |
3721 | end | |
3722 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1) | |
3723 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1) | |
3724 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2) | |
3725 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2) | |
3726 | attack = false | |
3727 | char.Humanoid.WalkSpeed = 16 | |
3728 | char.Humanoid.JumpPower = 50 | |
3729 | end | |
3730 | ||
3731 | local magicult = function() | |
3732 | attack = true | |
3733 | char.Humanoid.WalkSpeed = 0 | |
3734 | char.Humanoid.JumpPower = 0 | |
3735 | local kekke = 0 | |
3736 | local coold = 1 | |
3737 | coroutine.resume(coroutine.create(function() | |
3738 | while kekke == 0 do | |
3739 | block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.025,BrickColor.new("Really black"),1) | |
3740 | block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(0.5,0.5,0.5),.025,BrickColor.new("Institutional white"),1) | |
3741 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2) | |
3742 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2) | |
3743 | magn(0.5,char.Torso,20) | |
3744 | wait(coold) | |
3745 | end | |
3746 | kekke = 0 | |
3747 | end)) | |
3748 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1) | |
3749 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
3750 | for i = 0,1,0.012 do | |
3751 | wait() | |
3752 | coold = coold | |
3753 | print(coold) | |
3754 | magn(0.5,char.Torso,10) | |
3755 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3756 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3757 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.05) | |
3758 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.05) | |
3759 | end | |
3760 | kekke = 1 | |
3761 | for i = 0,1,0.01 do | |
3762 | wait() | |
3763 | kekke = kekke + 0.1 | |
3764 | block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1) | |
3765 | block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1) | |
3766 | end | |
3767 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2) | |
3768 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2) | |
3769 | wait(2) | |
3770 | kekke = 100 | |
3771 | magn(90,char.Torso,100) | |
3772 | for i = 0,1,0.05 do | |
3773 | wait() | |
3774 | kekke = kekke + 0.1 | |
3775 | block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1) | |
3776 | block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1) | |
3777 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1) | |
3778 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1) | |
3779 | end | |
3780 | ||
3781 | attack = false | |
3782 | char.Humanoid.Health = 1 | |
3783 | ult = false | |
3784 | weapon.Handle2.Weld.Part0 = RightArm | |
3785 | mana = mana - 400 | |
3786 | char.Humanoid.WalkSpeed = 24 | |
3787 | char.Humanoid.JumpPower = 50 | |
3788 | end | |
3789 | ||
3790 | local swordtransform = function() | |
3791 | attack = true | |
3792 | char.Humanoid.WalkSpeed = 0 | |
3793 | char.Humanoid.JumpPower = 0 | |
3794 | ||
3795 | local kekke = 0 | |
3796 | local kekke1 = 0 | |
3797 | local kekke2 = 0 | |
3798 | local kekke3 = 0 | |
3799 | local coold = 1 | |
3800 | for i = 0,1,0.01 do | |
3801 | wait() | |
3802 | magn(0.5,char.Torso,10) | |
3803 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1) | |
3804 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1) | |
3805 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3806 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3807 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1) | |
3808 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3809 | end | |
3810 | --[[coroutine.resume(coroutine.create(function() | |
3811 | while attack == true do | |
3812 | kekke1 = math.random(0,180) | |
3813 | kekke2 = math.random(0,180) | |
3814 | kekke3 = math.random(0,180) | |
3815 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1) | |
3816 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1) | |
3817 | magn(0.5,char.Torso,20) | |
3818 | wait(coold) | |
3819 | end | |
3820 | end))]] | |
3821 | ||
3822 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1) | |
3823 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1) | |
3824 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2) | |
3825 | wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2) | |
3826 | for i = 0,1,0.01 do | |
3827 | wait() | |
3828 | coold = coold - 0.01 | |
3829 | print(coold) | |
3830 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1) | |
3831 | block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1) | |
3832 | kekke = kekke + 0.5 | |
3833 | block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Institutional white"),2) | |
3834 | block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Really black"),2) | |
3835 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
3836 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3837 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1) | |
3838 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3) | |
3839 | end | |
3840 | attack = false | |
3841 | sword1.Transparency = 0.4 | |
3842 | sword2.Transparency = 0.4 | |
3843 | sword11.Transparency = 0.4 | |
3844 | sword21.Transparency = 0.4 | |
3845 | sword12.Transparency = 0.4 | |
3846 | sword22.Transparency = 0.4 | |
3847 | char.Humanoid.WalkSpeed = 24 | |
3848 | char.Humanoid.JumpPower = 50 | |
3849 | end | |
3850 | ||
3851 | local ultimate = function() | |
3852 | ult = true | |
3853 | weapon.Handle.Weld.Part0 = weapon.Handle2 | |
3854 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
3855 | weapon.Handle2.Weld.Part0 = char.Torso | |
3856 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), 1) | |
3857 | if equipped == false then | |
3858 | equipcheck = false | |
3859 | magictransform() | |
3860 | elseif equipped == true then | |
3861 | equipcheck = true | |
3862 | equipped = false | |
3863 | char.Humanoid.MaxHealth = 200 | |
3864 | swordtransform() | |
3865 | char.Humanoid.Health = 200 | |
3866 | sword1.Transparency = 0.4 | |
3867 | sword2.Transparency = 0.4 | |
3868 | sword11.Transparency = 0.4 | |
3869 | sword21.Transparency = 0.4 | |
3870 | sword12.Transparency = 0.4 | |
3871 | sword22.Transparency = 0.4 | |
3872 | end | |
3873 | ||
3874 | while ult == true do | |
3875 | if Anim == "Walk" then | |
3876 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(100), math.rad(180), math.rad(0)), .3) | |
3877 | else | |
3878 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), .3) | |
3879 | end | |
3880 | wait() | |
3881 | end | |
3882 | end | |
3883 | ||
3884 | play:GetMouse().Button1Down:connect(function() | |
3885 | if attack == false and throwing == false then | |
3886 | if combo == 1 and attack == false and throwing == false and equipped == true then | |
3887 | attack1() | |
3888 | combo = 2 | |
3889 | elseif combo == 2 and attack == false and throwing == false and equipped == true then | |
3890 | attack2() | |
3891 | combo = 1 | |
3892 | elseif combo == 1 and attack == false and throwing == false and equipped == false and mana >= 15 then | |
3893 | mana = mana - 15 | |
3894 | if ult == false then | |
3895 | attack3() | |
3896 | else | |
3897 | if equipcheck == false then | |
3898 | magicattack3() | |
3899 | else | |
3900 | mana = mana + 15 | |
3901 | swordattack3() | |
3902 | ||
3903 | end | |
3904 | end | |
3905 | combo = 2 | |
3906 | elseif combo == 2 and attack == false and throwing == false and equipped == false and mana >= 20 and throwing == false then | |
3907 | mana = mana - 20 | |
3908 | if ult == false then | |
3909 | attack4() | |
3910 | combo = 1 | |
3911 | else | |
3912 | if equipcheck == false then | |
3913 | magicattack4() | |
3914 | combo = 1 | |
3915 | else | |
3916 | mana = mana + 20 | |
3917 | swordattack4() | |
3918 | ||
3919 | combo = 3 | |
3920 | end | |
3921 | end | |
3922 | elseif combo == 3 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then | |
3923 | mana = mana + 0 | |
3924 | swordattack5() | |
3925 | combo = 4 | |
3926 | elseif combo == 4 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then | |
3927 | mana = mana + 0 | |
3928 | swordattack6() | |
3929 | combo = 1 | |
3930 | end | |
3931 | end | |
3932 | end) | |
3933 | ||
3934 | play:GetMouse().Button1Up:connect(function() | |
3935 | if charging == true then | |
3936 | charging = false | |
3937 | ||
3938 | end | |
3939 | end) | |
3940 | ||
3941 | play:GetMouse().KeyDown:connect(function(k) | |
3942 | ||
3943 | k = k:lower() | |
3944 | if k == "z" and attack == false and throwing == false and mana >= 25 then | |
3945 | if ult == false then | |
3946 | mana = mana - 25 | |
3947 | shieldbash() | |
3948 | end | |
3949 | if ult == true then | |
3950 | if equipcheck == false then | |
3951 | mana = mana - 25 | |
3952 | supershieldbash() | |
3953 | else | |
3954 | swordspin() | |
3955 | mana = mana - 25 | |
3956 | end | |
3957 | end | |
3958 | elseif k == "e" and attack == false and throwing == false then | |
3959 | ult = false | |
3960 | sword1.Transparency = 1 | |
3961 | sword2.Transparency = 1 | |
3962 | sword11.Transparency = 1 | |
3963 | sword21.Transparency = 1 | |
3964 | sword12.Transparency = 1 | |
3965 | sword22.Transparency = 1 | |
3966 | char.Humanoid.MaxHealth = 100 | |
3967 | if combo >= 3 then | |
3968 | combo = 1 | |
3969 | end | |
3970 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 1) | |
3971 | weapon.Handle2.Weld.Part0 = RightArm | |
3972 | equip() | |
3973 | elseif k == "x" and attack == false and throwing == false and mana >= 35 then | |
3974 | if ult == false then | |
3975 | mana = mana - 35 | |
3976 | if equipped == true then | |
3977 | comboattack() | |
3978 | elseif equipped == false then | |
3979 | teleportback() | |
3980 | end | |
3981 | else | |
3982 | if equipcheck == false then | |
3983 | superteleportback() | |
3984 | else | |
3985 | swordcombo() | |
3986 | end | |
3987 | end | |
3988 | elseif k == "x" and attack == true and parry == false and mana >= 15 then | |
3989 | mana = mana - 15 | |
3990 | char.Humanoid.Health = char.Humanoid.Health - 10 | |
3991 | elseif k == "c" and attack == false and throwing == false and mana >= 20 and orb == false then | |
3992 | orb = true | |
3993 | orbs() | |
3994 | elseif k == "c" and orb == true then | |
3995 | orb = false | |
3996 | elseif k == "h" and attack == false and throwing == false and mana >= 200 then | |
3997 | if ult == false then | |
3998 | ultimate() | |
3999 | else | |
4000 | if mana >= 400 then | |
4001 | if equipcheck == false then | |
4002 | magicult() | |
4003 | else | |
4004 | swordult() | |
4005 | equip() | |
4006 | end | |
4007 | end | |
4008 | end | |
4009 | end | |
4010 | end) | |
4011 | ||
4012 | local keke = 0 | |
4013 | coroutine.resume(coroutine.create(function() | |
4014 | while true do | |
4015 | pasthp = char.Humanoid.Health | |
4016 | wait(.5) | |
4017 | if char.Humanoid.Health < pasthp then | |
4018 | parry = true | |
4019 | if equipped == true then | |
4020 | char.Humanoid.Health = char.Humanoid.Health + (pasthp-char.Humanoid.Health)/2 | |
4021 | mana = mana + (pasthp-char.Humanoid.Health)*2 | |
4022 | CreateSound("rbxassetid://10209583",weapon.Handle2,.1,1) | |
4023 | print("Blocked!") | |
4024 | end | |
4025 | if ult == true and equipcheck == false and mana >= (pasthp-char.Humanoid.Health)*2 then | |
4026 | mana = mana - (pasthp-char.Humanoid.Health)*2 | |
4027 | block(char.Torso.CFrame,Vector3.new((1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5)),Vector3.new(0.5,.5,.5),0.1,char.Torso.BrickColor,1) | |
4028 | char.Humanoid.Health = pasthp | |
4029 | end | |
4030 | end | |
4031 | end | |
4032 | end)) | |
4033 | ||
4034 | coroutine.resume(coroutine.create(function() | |
4035 | while true do | |
4036 | mana = mana + 1 | |
4037 | if ult == true and equipcheck == false then | |
4038 | mana = mana + 4 | |
4039 | end | |
4040 | if mana >= 400 then | |
4041 | mana = 400 | |
4042 | end | |
4043 | wait(.5) | |
4044 | end | |
4045 | end)) | |
4046 | ||
4047 | coroutine.resume(coroutine.create(function() | |
4048 | while true do | |
4049 | keke = keke + 1 | |
4050 | if keke > 10 then | |
4051 | keke = 0 | |
4052 | end | |
4053 | if asdrot <= 360 then | |
4054 | asdrot = asdrot + 2 | |
4055 | else | |
4056 | asdrot = 0 | |
4057 | end | |
4058 | manabar:TweenSize(UDim2.new(1 * (mana /400), 0, 1, 0), "Out", "Quad", 0.5) | |
4059 | if sit == true then | |
4060 | mana = mana + .33 | |
4061 | end | |
4062 | if ult == true and equipcheck == false then | |
4063 | block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Institutional white"),1) | |
4064 | block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Really black"),1) | |
4065 | end | |
4066 | if riding == true and attack == false and debounce2 == false then | |
4067 | coroutine.resume(coroutine.create(function() | |
4068 | debounce2 = true | |
4069 | magn(3,6,model.spinneblock,5) | |
4070 | wait(0.2) | |
4071 | debounce2 = false | |
4072 | end)) | |
4073 | end | |
4074 | sine = sine + change | |
4075 | torsovel = (char.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
4076 | if sit == false then | |
4077 | if char.HumanoidRootPart.Velocity.Y > 1 then | |
4078 | Anim = "Jump" | |
4079 | if attack == false and sit == false then | |
4080 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4081 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4082 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
4083 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
4084 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
4085 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
4086 | end | |
4087 | elseif torsovel < 1 then | |
4088 | Anim = "Idle" | |
4089 | change = 1 | |
4090 | if attack == false and sit == false then | |
4091 | if equipped == true then | |
4092 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3) | |
4093 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3) | |
4094 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
4095 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
4096 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
4097 | end | |
4098 | if equipped == false then | |
4099 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4100 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4101 | if ult == false then | |
4102 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
4103 | else | |
4104 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4105 | end | |
4106 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4107 | end | |
4108 | if ult == false then | |
4109 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, .05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3) | |
4110 | end | |
4111 | end | |
4112 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4113 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4114 | elseif 2 < torsovel then | |
4115 | Anim = "Walk" | |
4116 | if attack == false and sit == false then | |
4117 | if equipped == true then | |
4118 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3) | |
4119 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3) | |
4120 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
4121 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
4122 | weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1) | |
4123 | end | |
4124 | if equipped == false then | |
4125 | char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3) | |
4126 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
4127 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3) | |
4128 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3) | |
4129 | end | |
4130 | if ult == false then | |
4131 | weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3) | |
4132 | end | |
4133 | end | |
4134 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3) | |
4135 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3) | |
4136 | end | |
4137 | end | |
4138 | wait() | |
4139 | end | |
4140 | end)) | |
4141 | ||
4142 | while true do | |
4143 | wait() | |
4144 | end |