SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------- |
1 | + | -- Created by Nebula_Zorua -- |
2 | - | --[[ Organization : Insanity ]]-- |
2 | + | -- 3ND37 -- |
3 | - | --[[ Name : Ender (Thou who collects the souls of innocents) ]]-- |
3 | + | -- If Ender had escaped the TSA while he was unstable -- |
4 | - | --[[ Creator / Captain : DATA RESTRICTED ]]-- |
4 | + | -- Discord: Nebula the Zorua#6969 |
5 | - | ------------------------------------------------------- |
5 | + | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA |
6 | - | --A script By makhail07 |
6 | + | |
7 | print([[ | |
8 | - | --Discord Creterisk#2958 |
8 | + | Ender, The Maniac. |
9 | HEIGHT: 4'3 | |
10 | - | --This script is a fucking mistake have fun skids |
10 | + | WEIGHT: 72 kg |
11 | - | ------------------------------------------------------- |
11 | + | STATUS: ESCAPED. UNSTABLE. KILL ON SIGHT. |
12 | ]]) | |
13 | - | local FavIDs = { |
13 | + | |
14 | - | 340106355, --Nefl Crystals |
14 | + | warn([[ |
15 | - | 927529620, --Dimension |
15 | + | Ender was sent to mental institution at the age of 18 due to his unstable state. He attacked anyone, killing some. |
16 | - | 876981900, --Fantasy |
16 | + | He was mentally unstable, believing everyone was against him. |
17 | - | 398987889, --Ordinary Days |
17 | + | He escaped after a year, as he seemed to be better. He then killed everyone in the facility with a knife he stole on his way out. |
18 | - | 1117396305, --Oh wait, it's you. |
18 | + | The TSA found him by a tracker he hadn't had removed, and captured him. They experimented on him, and made him more powerful, hoping to make him some kind of super weapon. |
19 | - | 885996042, --Action Winter Journey |
19 | + | He was released after he was done, with two gauntlets, to be rehabilitated into human society. |
20 | - | 919231299, --Sprawling Idiot Effigy |
20 | + | However, what if he escaped while he was unstable, with prototype gauntlets, and unstable powers? |
21 | - | 743466274, --Good Day Sunshine |
21 | + | |
22 | - | 727411183, --Knife Fight |
22 | + | You get 3ND37. |
23 | - | 1402748531, --The Earth Is Counting On You! |
23 | + | ]]) |
24 | - | 595230126 --Robot Language |
24 | + | |
25 | print([[ | |
26 | ------------------------------------------------- | |
27 | CONTROLS: | |
28 | M - Change where music is played from | |
29 | - | --The reality of my life isn't real but a Universe -makhail07 |
29 | + | |
30 | LClick - Click Combo | |
31 | - | local plr = game:service'Players'.LocalPlayer |
31 | + | Z - Laser |
32 | - | print('Local User is '..plr.Name) |
32 | + | X - Stomp |
33 | - | local char = plr.Character |
33 | + | C - No name (just hover your mouse over a noob and press the key) |
34 | - | local hum = char.Humanoid |
34 | + | T - Taunt |
35 | - | local ra = char["Right Arm"] |
35 | + | ]]) |
36 | - | local la= char["Left Arm"] |
36 | + | |
37 | - | local rl= char["Right Leg"] |
37 | + | wait(1/60) |
38 | - | local ll = char["Left Leg"] |
38 | + | |
39 | - | local hed = char.Head |
39 | + | --// Shortcut Variables \\-- |
40 | - | local root = char.HumanoidRootPart |
40 | + | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) |
41 | - | local rootj = root.RootJoint |
41 | + | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} |
42 | - | local tors = char.Torso |
42 | + | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} |
43 | - | local mouse = plr:GetMouse() |
43 | + | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} |
44 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
44 | + | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} |
45 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
45 | + | local R3 = {N=Region3.new} |
46 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
46 | + | local De = S.Debris |
47 | - | ------------------------------------------------------- |
47 | + | local WS = workspace |
48 | - | --Start Good Stuff-- |
48 | + | local Lght = S.Lighting |
49 | - | ------------------------------------------------------- |
49 | + | local RepS = S.ReplicatedStorage |
50 | - | CF = CFrame.new |
50 | + | local IN = Instance.new |
51 | - | angles = CFrame.Angles |
51 | + | local Plrs = S.Players |
52 | - | attack = false |
52 | + | |
53 | - | Euler = CFrame.fromEulerAnglesXYZ |
53 | + | --// Initializing \\-- |
54 | - | Rad = math.rad |
54 | + | local Plr = Plrs.LocalPlayer |
55 | - | IT = Instance.new |
55 | + | local Char = Plr.Character |
56 | - | BrickC = BrickColor.new |
56 | + | local Hum = Char:FindFirstChildOfClass'Humanoid' |
57 | - | Cos = math.cos |
57 | + | local RArm = Char["Right Arm"] |
58 | - | Acos = math.acos |
58 | + | local LArm = Char["Left Arm"] |
59 | - | Sin = math.sin |
59 | + | local RLeg = Char["Right Leg"] |
60 | - | Asin = math.asin |
60 | + | local LLeg = Char["Left Leg"] |
61 | - | Abs = math.abs |
61 | + | local Root = Char:FindFirstChild'HumanoidRootPart' |
62 | - | Mrandom = math.random |
62 | + | local Torso = Char.Torso |
63 | - | Floor = math.floor |
63 | + | local Head = Char.Head |
64 | - | ------------------------------------------------------- |
64 | + | local NeutralAnims = true |
65 | - | --End Good Stuff-- |
65 | + | local Attack = false |
66 | - | ------------------------------------------------------- |
66 | + | local Debounces = {Debounces={}} |
67 | - | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
67 | + | local Mouse = Plr:GetMouse() |
68 | - | RSH, LSH = nil, nil |
68 | + | local Hit = {} |
69 | - | RW = Instance.new("Weld") |
69 | + | local Sine = 0 |
70 | - | LW = Instance.new("Weld") |
70 | + | local Change = 1 |
71 | - | RH = tors["Right Hip"] |
71 | + | local BloodPuddles = {} |
72 | - | LH = tors["Left Hip"] |
72 | + | local CliccAttack = 0; |
73 | - | RSH = tors["Right Shoulder"] |
73 | + | |
74 | - | LSH = tors["Left Shoulder"] |
74 | + | local PlrGui = Plr:WaitForChild'PlayerGui' |
75 | - | RSH.Parent = nil |
75 | + | |
76 | - | LSH.Parent = nil |
76 | + | local Glitching = false |
77 | - | RW.Name = "RW" |
77 | + | |
78 | - | RW.Part0 = tors |
78 | + | local Effects = IN("Folder",Char) |
79 | - | RW.C0 = CF(1.5, 0.5, 0) |
79 | + | Effects.Name = "Effects" |
80 | - | RW.C1 = CF(0, 0.5, 0) |
80 | + | |
81 | - | RW.Part1 = ra |
81 | + | |
82 | - | RW.Parent = tors |
82 | + | --// Debounce System \\-- |
83 | - | LW.Name = "LW" |
83 | + | |
84 | - | LW.Part0 = tors |
84 | + | |
85 | - | LW.C0 = CF(-1.5, 0.5, 0) |
85 | + | function Debounces:New(name,cooldown) |
86 | - | LW.C1 = CF(0, 0.5, 0) |
86 | + | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} |
87 | - | LW.Part1 = la |
87 | + | setmetatable(aaaaa,{__index = Debounces}) |
88 | - | LW.Parent = tors |
88 | + | Debounces.Debounces[name] = aaaaa |
89 | - | Effects = {} |
89 | + | return aaaaa |
90 | end | |
91 | - | ------------------------------------------------------- |
91 | + | |
92 | - | --Start HeartBeat-- |
92 | + | function Debounces:Use(overrideUsable) |
93 | - | ------------------------------------------------------- |
93 | + | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") |
94 | - | ArtificialHB = Instance.new("BindableEvent", script) |
94 | + | if(self.Usable or overrideUsable)then |
95 | self.Usable = false | |
96 | self.CoolingDown = true | |
97 | local LastUse = time() | |
98 | - | frame = 1 / 60 |
98 | + | self.LastUse = LastUse |
99 | - | tf = 0 |
99 | + | delay(self.Cooldown or 2,function() |
100 | - | allowframeloss = false |
100 | + | if(self.LastUse == LastUse)then |
101 | - | tossremainder = false |
101 | + | self.CoolingDown = false |
102 | self.Usable = true | |
103 | end | |
104 | - | lastframe = tick() |
104 | + | |
105 | - | script.Heartbeat:Fire() |
105 | + | |
106 | end | |
107 | ||
108 | function Debounces:Get(name) | |
109 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
110 | for i,v in next, Debounces.Debounces do | |
111 | if(i == name)then | |
112 | return v; | |
113 | end | |
114 | end | |
115 | end | |
116 | - | script.Heartbeat:Fire() |
116 | + | |
117 | function Debounces:GetProgressPercentage() | |
118 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
119 | if(self.CoolingDown and not self.Usable)then | |
120 | return math.max( | |
121 | math.floor( | |
122 | ( | |
123 | (time()-self.LastUse)/self.Cooldown or 2 | |
124 | )*100 | |
125 | ) | |
126 | ) | |
127 | - | ------------------------------------------------------- |
127 | + | |
128 | - | --End HeartBeat-- |
128 | + | return 100 |
129 | - | ------------------------------------------------------- |
129 | + | |
130 | end | |
131 | - | ------------------------------------------------------- |
131 | + | |
132 | - | --Start Important Functions-- |
132 | + | --// Instance Creation Functions \\-- |
133 | - | ------------------------------------------------------- |
133 | + | |
134 | local baseSound = IN("Sound") | |
135 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
136 | - | game:service("RunService").Stepped:wait(0) |
136 | + | local Sound = baseSound:Clone() |
137 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
138 | Sound.Pitch = pitch or 1 | |
139 | - | game:service("RunService").Stepped:wait(0) |
139 | + | Sound.Volume = volume or 1 |
140 | Sound.Looped = looped or false | |
141 | if(autoPlay)then | |
142 | coroutine.wrap(function() | |
143 | - | function thread(f) |
143 | + | repeat wait() until Sound.IsLoaded |
144 | - | coroutine.resume(coroutine.create(f)) |
144 | + | Sound.Playing = autoPlay or false |
145 | end)() | |
146 | - | function clerp(a, b, t) |
146 | + | |
147 | - | local qa = { |
147 | + | if(not looped and effect)then |
148 | - | QuaternionFromCFrame(a) |
148 | + | Sound.Stopped:connect(function() |
149 | Sound.Volume = 0 | |
150 | - | local qb = { |
150 | + | Sound:destroy() |
151 | - | QuaternionFromCFrame(b) |
151 | + | |
152 | elseif(effect)then | |
153 | - | local ax, ay, az = a.x, a.y, a.z |
153 | + | warn("Sound can't be looped and a sound effect!") |
154 | - | local bx, by, bz = b.x, b.y, b.z |
154 | + | |
155 | - | local _t = 1 - t |
155 | + | Sound.Parent =parent or Torso |
156 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
156 | + | return Sound |
157 | end | |
158 | - | function QuaternionFromCFrame(cf) |
158 | + | function Part(parent,color,material,size,cframe,anchored,cancollide) |
159 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
159 | + | local part = IN("Part") |
160 | - | local trace = m00 + m11 + m22 |
160 | + | part.Parent = parent or Char |
161 | - | if trace > 0 then |
161 | + | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) |
162 | - | local s = math.sqrt(1 + trace) |
162 | + | part.Material = material or Enum.Material.SmoothPlastic |
163 | - | local recip = 0.5 / s |
163 | + | part.TopSurface,part.BottomSurface=10,10 |
164 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
164 | + | part.Size = size or V3.N(1,1,1) |
165 | part.CFrame = cframe or CF.N(0,0,0) | |
166 | - | local i = 0 |
166 | + | part.CanCollide = cancollide or false |
167 | - | if m00 < m11 then |
167 | + | part.Anchored = anchored or false |
168 | - | i = 1 |
168 | + | return part |
169 | end | |
170 | - | if m22 > (i == 0 and m00 or m11) then |
170 | + | |
171 | - | i = 2 |
171 | + | function Weld(part0,part1,c0,c1) |
172 | local weld = IN("Weld") | |
173 | - | if i == 0 then |
173 | + | weld.Parent = part0 |
174 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
174 | + | weld.Part0 = part0 |
175 | - | local recip = 0.5 / s |
175 | + | weld.Part1 = part1 |
176 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
176 | + | weld.C0 = c0 or CF.N() |
177 | - | elseif i == 1 then |
177 | + | weld.C1 = c1 or CF.N() |
178 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
178 | + | return weld |
179 | - | local recip = 0.5 / s |
179 | + | |
180 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
180 | + | |
181 | - | elseif i == 2 then |
181 | + | function Mesh(parent,meshtype,meshid,textid,scale,offset) |
182 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
182 | + | local part = IN("SpecialMesh") |
183 | - | local recip = 0.5 / s |
183 | + | part.MeshId = meshid or "" |
184 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
184 | + | part.TextureId = textid or "" |
185 | part.Scale = scale or V3.N(1,1,1) | |
186 | part.Offset = offset or V3.N(0,0,0) | |
187 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
188 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
188 | + | part.Parent = parent |
189 | - | local xs, ys, zs = x + x, y + y, z + z |
189 | + | return part |
190 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
190 | + | |
191 | - | local xx = x * xs |
191 | + | |
192 | - | local xy = x * ys |
192 | + | |
193 | - | local xz = x * zs |
193 | + | local inst = Instance.new(instance) |
194 | - | local yy = y * ys |
194 | + | inst.Parent = parent |
195 | - | local yz = y * zs |
195 | + | |
196 | - | local zz = z * zs |
196 | + | |
197 | - | 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)) |
197 | + | |
198 | end | |
199 | - | function QuaternionSlerp(a, b, t) |
199 | + | |
200 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
200 | + | |
201 | - | local startInterp, finishInterp |
201 | + | |
202 | - | if cosTheta >= 1.0E-4 then |
202 | + | |
203 | - | if 1 - cosTheta > 1.0E-4 then |
203 | + | function Clone(instance,parent,properties) |
204 | - | local theta = math.acos(cosTheta) |
204 | + | local inst = instance:Clone() |
205 | - | local invSinTheta = 1 / Sin(theta) |
205 | + | inst.Parent = parent |
206 | - | startInterp = Sin((1 - t) * theta) * invSinTheta |
206 | + | |
207 | - | finishInterp = Sin(t * theta) * invSinTheta |
207 | + | |
208 | pcall(function() inst[i] = v end) | |
209 | - | startInterp = 1 - t |
209 | + | |
210 | - | finishInterp = t |
210 | + | |
211 | return inst; | |
212 | - | elseif 1 + cosTheta > 1.0E-4 then |
212 | + | |
213 | - | local theta = math.acos(-cosTheta) |
213 | + | |
214 | - | local invSinTheta = 1 / Sin(theta) |
214 | + | function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf) |
215 | - | startInterp = Sin((t - 1) * theta) * invSinTheta |
215 | + | local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()}) |
216 | - | finishInterp = Sin(t * theta) * invSinTheta |
216 | + | local Sound = baseSound:Clone() |
217 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
218 | - | startInterp = t - 1 |
218 | + | Sound.Pitch = pitch or 1 |
219 | - | finishInterp = t |
219 | + | Sound.Volume = volume or 1 |
220 | Sound.Looped = looped or false | |
221 | - | 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 |
221 | + | if(autoPlay)then |
222 | coroutine.wrap(function() | |
223 | - | function rayCast(Position, Direction, Range, Ignore) |
223 | + | repeat wait() until Sound.IsLoaded |
224 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) |
224 | + | Sound.Playing = autoPlay or false |
225 | end)() | |
226 | - | local RbxUtility = LoadLibrary("RbxUtility") |
226 | + | |
227 | - | local Create = RbxUtility.Create |
227 | + | if(not looped and effect)then |
228 | Sound.Stopped:connect(function() | |
229 | - | ------------------------------------------------------- |
229 | + | Sound.Volume = 0 |
230 | - | --Start Damage Function-- |
230 | + | soundPart:destroy() |
231 | - | ------------------------------------------------------- |
231 | + | |
232 | - | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
232 | + | elseif(effect)then |
233 | - | if hit.Parent == nil then |
233 | + | warn("Sound can't be looped and a sound effect!") |
234 | - | return |
234 | + | |
235 | Sound.Parent = soundPart | |
236 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
236 | + | return Sound |
237 | - | for _, v in pairs(hit.Parent:children()) do |
237 | + | |
238 | - | if v:IsA("Humanoid") then |
238 | + | |
239 | - | h = v |
239 | + | |
240 | --// Extended ROBLOX tables \\-- | |
241 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
242 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then |
242 | + | --// Require stuff \\-- |
243 | function CamShake(who,times,intense,origin) | |
244 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
244 | + | coroutine.wrap(function() |
245 | - | end |
245 | + | if(script:FindFirstChild'CamShake')then |
246 | local cam = script.CamShake:Clone() | |
247 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then |
247 | + | cam:WaitForChild'intensity'.Value = intense |
248 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil then |
248 | + | cam:WaitForChild'times'.Value = times |
249 | - | if hit.Parent.DebounceHit.Value == true then |
249 | + | |
250 | - | return |
250 | + | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value' or typeof(origin) == 'CFrame' and 'CFrameValue'),cam,{Name='origin',Value=origin}) end |
251 | cam.Parent = who | |
252 | wait() | |
253 | - | if insta == true then |
253 | + | cam.Disabled = false |
254 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
254 | + | elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then |
255 | - | end |
255 | + | local intensity = intense |
256 | - | local c = Create("ObjectValue"){ |
256 | + | local cam = workspace.CurrentCamera |
257 | - | Name = "creator", |
257 | + | if(Hum and not Hum:FindFirstChild'CamShaking')then |
258 | - | Value = game:service("Players").LocalPlayer, |
258 | + | local cam = workspace.CurrentCamera |
259 | - | Parent = h, |
259 | + | local oCO = Hum.CameraOffset |
260 | local cs = Instance.new("BoolValue",Hum) | |
261 | - | game:GetService("Debris"):AddItem(c, .5) |
261 | + | cs.Name = "CamShaking" |
262 | - | if HitSound ~= nil and HitPitch ~= nil then |
262 | + | for i = 1, times do |
263 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
263 | + | local camDistFromOrigin |
264 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
265 | - | local Damage = math.random(minim, maxim) |
265 | + | camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25 |
266 | - | local blocked = false |
266 | + | elseif(typeof(origin) == 'Vector3')then |
267 | - | local block = hit.Parent:findFirstChild("Block") |
267 | + | camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25 |
268 | - | if block ~= nil then |
268 | + | elseif(typeof(origin) == 'CFrame')then |
269 | - | if block.className == "IntValue" then |
269 | + | camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.p).magnitude )/25 |
270 | - | if block.Value > 0 then |
270 | + | |
271 | - | blocked = true |
271 | + | if(camDistFromOrigin)then |
272 | - | block.Value = block.Value - 1 |
272 | + | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) |
273 | - | print(block.Value) |
273 | + | |
274 | --cam.CoordinateFrame = cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200) | |
275 | if(Hum)then | |
276 | Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200) | |
277 | - | if blocked == false then |
277 | + | |
278 | - | h.Health = h.Health - Damage |
278 | + | |
279 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
279 | + | |
280 | if(Hum)then | |
281 | - | h.Health = h.Health - (Damage / 2) |
281 | + | Hum.CameraOffset = oCO |
282 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
282 | + | |
283 | cs:destroy() | |
284 | - | if Type == "Knockdown" then |
284 | + | |
285 | - | local hum = hit.Parent.Humanoid |
285 | + | |
286 | - | hum.PlatformStand = true |
286 | + | end)() |
287 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
287 | + | |
288 | - | swait(1) |
288 | + | |
289 | - | HHumanoid.PlatformStand = false |
289 | + | |
290 | - | end), hum) |
290 | + | function CamShakeAll(times,intense,origin) |
291 | - | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
291 | + | for _,v in next, Plrs:players() do |
292 | - | local bodvol = Create("BodyVelocity"){ |
292 | + | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) |
293 | - | velocity = angle * knockback, |
293 | + | |
294 | - | P = 5000, |
294 | + | |
295 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
295 | + | |
296 | - | Parent = hit, |
296 | + | function ServerScript(code) |
297 | if(script:FindFirstChild'Loadstring')then | |
298 | - | local rl = Create("BodyAngularVelocity"){ |
298 | + | local load = script.Loadstring:Clone() |
299 | - | P = 3000, |
299 | + | load:WaitForChild'Sauce'.Value = code |
300 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
300 | + | load.Disabled = false |
301 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
301 | + | load.Parent = workspace |
302 | - | Parent = hit, |
302 | + | elseif(NS and typeof(NS) == 'function')then |
303 | NS(code,workspace) | |
304 | - | game:GetService("Debris"):AddItem(bodvol, .5) |
304 | + | |
305 | - | game:GetService("Debris"):AddItem(rl, .5) |
305 | + | warn("no serverscripts lol") |
306 | - | elseif Type == "Normal" then |
306 | + | |
307 | - | local vp = Create("BodyVelocity"){ |
307 | + | |
308 | - | P = 500, |
308 | + | |
309 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
309 | + | function LocalOnPlayer(who,code) |
310 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
310 | + | ServerScript([[ |
311 | wait() | |
312 | - | if knockback > 0 then |
312 | + | script.Parent=nil |
313 | - | vp.Parent = hit.Parent.Torso |
313 | + | if(not _G.Http)then _G.Http = game:service'HttpService' end |
314 | ||
315 | - | game:GetService("Debris"):AddItem(vp, .5) |
315 | + | local Http = _G.Http or game:service'HttpService' |
316 | - | elseif Type == "Up" then |
316 | + | |
317 | - | local bodyVelocity = Create("BodyVelocity"){ |
317 | + | local source = ]].."[["..code.."]]"..[[ |
318 | - | velocity = Vector3.new(0, 20, 0), |
318 | + | local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php" |
319 | - | P = 5000, |
319 | + | local asd = Http:PostAsync(link,source) |
320 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
320 | + | repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID |
321 | - | Parent = hit, |
321 | + | local ID = Http:JSONDecode(asd).Result.Require_ID |
322 | local vs = require(ID).VORTH_SCRIPT | |
323 | - | game:GetService("Debris"):AddItem(bodyVelocity, .5) |
323 | + | vs.Parent = game:service'Players'.]]..who.Name..[[.Character |
324 | - | elseif Type == "DarkUp" then |
324 | + | ]]) |
325 | - | coroutine.resume(coroutine.create(function() |
325 | + | |
326 | - | for i = 0, 1, 0.1 do |
326 | + | |
327 | ||
328 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) |
328 | + | --// Customization \\-- |
329 | ||
330 | - | end)) |
330 | + | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this |
331 | - | local bodyVelocity = Create("BodyVelocity"){ |
331 | + | local Remove_Hats = false |
332 | - | velocity = Vector3.new(0, 20, 0), |
332 | + | local Remove_Clothing = false |
333 | - | P = 5000, |
333 | + | local PlayerSize = 1 |
334 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
334 | + | local DamageColor = BrickColor.Random() |
335 | - | Parent = hit, |
335 | + | local MusicID = 550578451 |
336 | local MusicParent = PlrGui | |
337 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
337 | + | |
338 | - | elseif Type == "Snare" then |
338 | + | local God = true |
339 | - | local bp = Create("BodyPosition"){ |
339 | + | local Muted = false |
340 | - | P = 2000, |
340 | + | |
341 | - | D = 100, |
341 | + | local WalkSpeed = 16 |
342 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
342 | + | |
343 | - | position = hit.Parent.Torso.Position, |
343 | + | --// Localization \\-- |
344 | - | Parent = hit.Parent.Torso, |
344 | + | if(not script:FindFirstChild'Dust')then |
345 | NewInstance('ParticleEmitter',script,{Enabled=false,Name='Dust',Color=ColorSequence.new(C3.N(1,1,1)),LightEmission=1,LightInfluence=0,Size=NumberSequence.new(2,0),Texture='rbxasset://textures/particles/sparkles_main.dds',Transparency=NumberSequence.new(0,1),Lifetime=NumberRange.new(1),Rate=75}) | |
346 | - | game:GetService("Debris"):AddItem(bp, 1) |
346 | + | |
347 | - | elseif Type == "Freeze" then |
347 | + | if(not script:FindFirstChild'Soul')then |
348 | - | local BodPos = Create("BodyPosition"){ |
348 | + | NewInstance('ParticleEmitter',script,{Enabled=false,Name='Soul',Color=ColorSequence.new(C3.N(1,1,1)),LightEmission=1,LightInfluence=0,Size=NumberSequence.new(2),Texture='rbxasset://textures/particles/sparkles_main.dds',Transparency=NumberSequence.new(0,1),Lifetime=NumberRange.new(1),Rate=50,Speed=NumberRange.new(0)}) |
349 | - | P = 50000, |
349 | + | |
350 | - | D = 1000, |
350 | + | |
351 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
351 | + | --// Weapon and GUI creation, and Character Customization \\-- |
352 | - | position = hit.Parent.Torso.Position, |
352 | + | |
353 | - | Parent = hit.Parent.Torso, |
353 | + | local miniRadio = Part(Char,BrickColor.new'Black',Enum.Material.Plastic,V3.N(.91,.455,.199),CF.N(),false,false) |
354 | local radioM = Mesh(miniRadio,Enum.MeshType.FileMesh,'rbxassetid://212302951',"",V3.N(1,1,1)) | |
355 | - | local BodGy = Create("BodyGyro") { |
355 | + | local RW = Weld(RLeg,miniRadio,CF.N(.5,.3,0)*CF.A(0,M.R(-90),M.R(-20))) |
356 | - | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
356 | + | local FT,RA,LA,RL,LL = Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh") |
357 | - | P = 20e+003, |
357 | + | |
358 | - | Parent = hit.Parent.Torso, |
358 | + | miniRadio.Name = 'Radio' |
359 | - | cframe = hit.Parent.Torso.CFrame, |
359 | + | local naeeym2 = Instance.new("BillboardGui",Char) |
360 | naeeym2.AlwaysOnTop = true | |
361 | - | hit.Parent.Torso.Anchored = true |
361 | + | |
362 | - | coroutine.resume(coroutine.create(function(Part) |
362 | + | |
363 | - | swait(1.5) |
363 | + | naeeym2.Adornee = Head |
364 | - | Part.Anchored = false |
364 | + | |
365 | - | end), hit.Parent.Torso) |
365 | + | |
366 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
366 | + | |
367 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
367 | + | |
368 | tecks2.TextScaled = true | |
369 | - | local debounce = Create("BoolValue"){ |
369 | + | |
370 | - | Name = "DebounceHit", |
370 | + | tecks2.Text = "Ender?" |
371 | - | Parent = hit.Parent, |
371 | + | |
372 | - | Value = true, |
372 | + | |
373 | tecks2.TextStrokeTransparency = 0 | |
374 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
374 | + | |
375 | - | c = Create("ObjectValue"){ |
375 | + | |
376 | - | Name = "creator", |
376 | + | |
377 | - | Value = Player, |
377 | + | |
378 | - | Parent = h, |
378 | + | |
379 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
380 | - | game:GetService("Debris"):AddItem(c, .5) |
380 | + | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end |
381 | ||
382 | New = function(Object, Parent, Name, Data) | |
383 | - | ------------------------------------------------------- |
383 | + | |
384 | - | --End Damage Function-- |
384 | + | |
385 | - | ------------------------------------------------------- |
385 | + | |
386 | end | |
387 | - | ------------------------------------------------------- |
387 | + | |
388 | - | --Start Damage Function Customization-- |
388 | + | |
389 | - | ------------------------------------------------------- |
389 | + | |
390 | end | |
391 | - | local Rate = (1 / 30) |
391 | + | |
392 | ||
393 | Clock = New("Model",Char,"Clock",{}) | |
394 | MainCl = New("Part",Clock,"MainCl",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.51000011, 0.490000248),CFrame = CFrame.new(34.0555, 30.2650127, 5.16792202, 1.22671281e-07, -4.40194015e-08, 1, -4.40194547e-08, 1, 0, -1, -1.13001988e-07, 9.28689516e-08),Color = Color3.new(0.388235, 0.372549, 0.384314),}) | |
395 | AAMesh = New("SpecialMesh",MainCl,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) | |
396 | - | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
396 | + | Mid = New("Part",Clock,"Mid",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.140000105, 0.11000032),CFrame = CFrame.new(34.0564346, 30.2683582, 5.17302704, 1.52473604e-07, -8.80388029e-08, 1, 2.49630752e-08, 1, -4.40194121e-08, -1, -1.81984518e-07, 6.30666221e-08),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
397 | - | EffectPart.Anchored = true |
397 | + | AAMesh = New("SpecialMesh",Mid,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
398 | - | local BillboardGui = Create("BillboardGui"){ |
398 | + | mot = New("Motor",Mid,"mot",{Part0 = Mid,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),C1 = CFrame.new(-0.00510501862, 0.0033454895, 0.00093460083, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
399 | - | Size = UDim2.new(3, 0, 3, 0), |
399 | + | Arm1 = New("Part",Clock,"Arm1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.28, 0.05, 0.05),CFrame = CFrame.new(34.0549316, 30.1833611, 5.18896484, 4.40194086e-08, -7.35137178e-08, -1, -1, -1.12693911e-07, 4.40194086e-08, 2.52711487e-08, 1, -1.39090659e-08),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
400 | AAMesh = New("BlockMesh",Arm1,"Mesh",{Scale = Vector3.new(1, 1, 0.5),}) | |
401 | - | Parent = EffectPart, |
401 | + | mota1 = New("Weld",Arm1,"mot",{Part0 = Arm1,Part1 = Mid,}) |
402 | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(33.8822937, 30.3650169, 5.17792177, -0.866025388, 0.49999994, 1.14618437e-07, 0.50000006, 0.866025388, 4.68187729e-08, -1.01898181e-07, -1.26069892e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
403 | - | local TextLabel = Create("TextLabel"){ |
403 | + | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) |
404 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -0.866025388, 0.5, -9.32164781e-08, 0.49999997, 0.866025388, -5.14281133e-08, 8.48161079e-08, -2.21637606e-08, -1),C1 = CFrame.new(-0.00999975204, 0.100004196, -0.173206329, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
405 | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(33.9555016, 30.4382191, 5.17792177, -0.50000006, 0.866025448, 1.30617906e-07, 0.866025448, 0.49999994, 6.28182448e-08, -1.45425147e-07, -3.63749635e-08, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
406 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
407 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -0.5, 0.866025448, -1.00585687e-07, 0.866025448, 0.49999997, 2.39258817e-08, 1.00815583e-07, -6.16428153e-09, -1),C1 = CFrame.new(-0.00999975204, 0.173206329, -0.0999984741, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
408 | - | TextColor3 = Color, |
408 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.0555, 30.4650173, 5.17792177, -4.43274217e-08, 1, 1.52473604e-07, 1, -8.77307968e-08, 6.8674467e-08, -1.38273123e-07, 6.30666364e-08, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
409 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
410 | - | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
410 | + | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -3.08018527e-10, 1, -6.92905928e-08, 1, -4.37113883e-08, 9.28689587e-08, 1.22671281e-07, -3.08066461e-10, -1),C1 = CFrame.new(-0.00999975204, 0.200004578, 0, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
411 | - | Parent = BillboardGui, |
411 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.1554985, 30.4382191, 5.17792177, 0.49999997, 0.866025388, 1.74329301e-07, 0.866025388, -0.500000119, 6.28182448e-08, -8.23584969e-08, 1.45609576e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
412 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
413 | - | game.Debris:AddItem(EffectPart, (Time)) |
413 | + | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 0.5, 0.866025388, -7.71671793e-09, 0.866025388, -0.50000006, 1.36927866e-07, 1.44526979e-07, -6.16428153e-09, -1),C1 = CFrame.new(-0.00999975204, 0.173206329, 0.0999984741, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
414 | - | EffectPart.Parent = game:GetService("Workspace") |
414 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.2287064, 30.3650169, 5.17792177, 0.866025388, 0.500000179, 1.90328791e-07, 0.5, -0.866025388, 4.68187658e-08, 7.3364248e-09, 1.89136529e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
415 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
416 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 0.866025388, 0.50000006, 6.76372593e-08, 0.500000119, -0.866025388, 1.44297076e-07, 1.60526454e-07, -2.21637588e-08, -1),C1 = CFrame.new(-0.00999975204, 0.100004196, 0.173206329, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
417 | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.2555008, 30.2650127, 5.17792177, 1, 6.16029894e-10, 1.96184999e-07, -1.31442192e-07, -1, 2.49630681e-08, 1.06778039e-07, 1.81984518e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
418 | - | wait(Rate) |
418 | + | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) |
419 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 1.36580354e-07, -4.34033751e-08, -1, 1.13001981e-07, 1.66382677e-07, -4.40194583e-08, -1),C1 = CFrame.new(-0.00999975204, 0, 0.200000763, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
420 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
420 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.2287064, 30.16502, 5.17792177, 0.866025388, -0.499999911, 1.90328791e-07, -0.5, -0.866025388, 3.10737747e-09, 1.89320957e-07, 1.26069907e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
421 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
422 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 0.866025388, -0.49999997, 1.80639262e-07, -0.49999994, -0.866025388, 5.14281169e-08, 1.60526454e-07, -6.58751489e-08, -1),C1 = CFrame.new(-0.00999975204, -0.0999927521, 0.173206329, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
423 | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.1554985, 30.0918102, 5.17792177, 0.49999997, -0.866025448, 1.74329301e-07, -0.866025448, -0.499999881, -1.28921052e-08, 2.3284791e-07, 3.63749422e-08, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
424 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
425 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 0.49999994, -0.866025448, 1.88008443e-07, -0.866025448, -0.499999911, -2.39258888e-08, 1.44526979e-07, -8.18746315e-08, -1),C1 = CFrame.new(-0.00999975204, -0.173202515, 0.0999984741, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
426 | - | end) |
426 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(34.0555, 30.0650139, 5.17792177, 7.61139134e-08, -1, 1.52473604e-07, -1, 5.59442945e-08, -1.87483131e-08, 2.25695914e-07, -6.30666293e-08, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
427 | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) | |
428 | - | ------------------------------------------------------- |
428 | + | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, 3.20945119e-08, -1, 1.56713384e-07, -1, 1.19248806e-08, -9.28689516e-08, 1.22671281e-07, -8.77308395e-08, -1),C1 = CFrame.new(-0.00999975204, -0.199998856, 0, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
429 | - | --End Damage Function Customization-- |
429 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(33.9555016, 30.0918102, 5.17792177, -0.499999851, -0.866025448, 1.3061792e-07, -0.866025448, 0.49999994, -1.28921052e-08, 1.69781302e-07, -1.45609533e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
430 | - | ------------------------------------------------------- |
430 | + | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) |
431 | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -0.499999881, -0.866025448, 9.51395123e-08, -0.866025448, 0.499999911, -1.36927852e-07, 1.00815591e-07, -8.18746315e-08, -1),C1 = CFrame.new(-0.00999975204, -0.173202515, -0.0999984741, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) | |
432 | - | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
432 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(33.8822937, 30.16502, 5.17792177, -0.866025329, -0.500000298, 1.14618437e-07, -0.500000119, 0.866025329, 3.10737036e-09, 8.00863873e-08, -1.89136514e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
433 | - | for _, c in pairs(workspace:children()) do |
433 | + | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) |
434 | - | local hum = c:findFirstChild("Humanoid") |
434 | + | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -0.866025329, -0.500000179, 1.97855385e-08, -0.500000238, 0.866025329, -1.44297076e-07, 8.48161079e-08, -6.5875156e-08, -1),C1 = CFrame.new(-0.00999975204, -0.0999927521, -0.173206329, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
435 | - | if hum ~= nil then |
435 | + | what = New("Part",Clock,"what",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(33.8554993, 30.2650127, 5.17792177, -1, 8.68067431e-08, 1.08762222e-07, 2.18864955e-07, 1, 2.49630823e-08, -1.93552623e-08, -1.81984504e-07, -1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
436 | - | local head = c:findFirstChild("Head") |
436 | + | AAMesh = New("BlockMesh",what,"Mesh",{Scale = Vector3.new(1.20000005, 0.200000003, 1),}) |
437 | - | if head ~= nil then |
437 | + | mot = New("Motor",what,"mot",{Part0 = what,Part1 = MainCl,C0 = CFrame.new(0, 0, 0, -1, 1.74845553e-07, -4.91575847e-08, 1.30826152e-07, 1, -1.13001974e-07, 7.89598928e-08, -4.40194476e-08, -1),C1 = CFrame.new(-0.00999975204, 0, -0.200000763, 1.22671281e-07, -4.40194547e-08, -1, -4.40194015e-08, 1, -1.13001988e-07, 1, 0, 9.28689516e-08),}) |
438 | - | local targ = head.Position - Part.Position |
438 | + | |
439 | - | local mag = targ.magnitude |
439 | + | Gauntlet = New("Model",Char,"Gauntlet",{}) |
440 | - | if magni >= mag and c.Name ~= plr.Name then |
440 | + | Main = New("Part",Gauntlet,"Main",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10000145, 0.485000312, 1.04000056),CFrame = CFrame.new(34.4499779, 31.8724632, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
441 | - | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
441 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(33.8949776, 30.829998, -6.75732088, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
442 | - | end |
442 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(-0.555000305, -1.04246521, 0.128534794, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
443 | - | end |
443 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(33.8949776, 31.3549976, -7.00732088, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
444 | - | end |
444 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(-0.555000305, -0.517465591, -0.121465206, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
445 | - | end |
445 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(33.8949776, 30.829998, -7.00732088, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
446 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(-0.555000305, -1.04246521, -0.121465206, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
447 | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(33.8949776, 31.3549976, -6.75732088, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
448 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(-0.555000305, -0.517465591, 0.128534794, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
449 | - | CFuncs = { |
449 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 32.3474617, -7.20585442, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
450 | - | Part = { |
450 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
451 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
451 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, 0.474998474, -0.319998741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
452 | - | local Part = Create("Part")({ |
452 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.0499763, 31.3549976, -6.38231945, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
453 | - | Parent = Parent, |
453 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.400001526, -0.517465591, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
454 | - | Reflectance = Reflectance, |
454 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.2999763, 31.3549976, -6.38231945, 0, 0, -1, 0, 1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
455 | - | Transparency = Transparency, |
455 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.150001526, -0.517465591, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
456 | - | CanCollide = false, |
456 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.0499763, 30.829998, -6.38231945, 0, 0, 1, 0, -1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
457 | - | Locked = true, |
457 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, 0),C1 = CFrame.new(-0.400001526, -1.04246521, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
458 | - | BrickColor = BrickColor.new(tostring(BColor)), |
458 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.2999763, 30.829998, -6.38231945, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
459 | - | Name = Name, |
459 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(-0.150001526, -1.04246521, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
460 | - | Size = Size, |
460 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.0499763, 30.829998, -7.3823185, 0, 0, 1, 0, -1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
461 | - | Material = Material |
461 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, 0),C1 = CFrame.new(-0.400001526, -1.04246521, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
462 | - | }) |
462 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.5499687, 31.3549976, -7.3823185, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
463 | - | RemoveOutlines(Part) |
463 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0999908447, -0.517465591, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
464 | - | return Part |
464 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.7999687, 31.3549976, -7.3823185, 0, 0, -1, 0, 1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
465 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.349990845, -0.517465591, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
466 | - | }, |
466 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.0499763, 31.3549976, -7.3823185, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
467 | - | Mesh = { |
467 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.400001526, -0.517465591, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
468 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
468 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.5499687, 30.829998, -7.3823185, 0, 0, 1, 0, -1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
469 | - | local Msh = Create(Mesh)({ |
469 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, 0),C1 = CFrame.new(0.0999908447, -1.04246521, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
470 | - | Parent = Part, |
470 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.7999687, 30.829998, -7.3823185, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
471 | - | Offset = OffSet, |
471 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(0.349990845, -1.04246521, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
472 | - | Scale = Scale |
472 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.2999763, 31.3549976, -7.3823185, 0, 0, -1, 0, 1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
473 | - | }) |
473 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.150001526, -0.517465591, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
474 | - | if Mesh == "SpecialMesh" then |
474 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.2999763, 30.829998, -7.3823185, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
475 | - | Msh.MeshType = MeshType |
475 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(-0.150001526, -1.04246521, -0.496462822, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
476 | - | Msh.MeshId = MeshId |
476 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(35.004982, 30.829998, -7.02732086, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
477 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0.55500412, -1.04246521, -0.141465187, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
478 | - | return Msh |
478 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(35.004982, 30.829998, -6.77732086, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
479 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0.55500412, -1.04246521, 0.108534813, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
480 | - | }, |
480 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(35.004982, 31.3549976, -7.02732086, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
481 | - | Mesh = { |
481 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.55500412, -0.517465591, -0.141465187, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
482 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
482 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(35.004982, 31.3549976, -6.77732086, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
483 | - | local Msh = Create(Mesh)({ |
483 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0.55500412, -0.517465591, 0.108534813, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
484 | - | Parent = Part, |
484 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.5499687, 30.829998, -6.38231945, 0, 0, 1, 0, -1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
485 | - | Offset = OffSet, |
485 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, 0),C1 = CFrame.new(0.0999908447, -1.04246521, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
486 | - | Scale = Scale |
486 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.650000572, 0.250000119),CFrame = CFrame.new(34.7999687, 30.829998, -6.38231945, 0, 0, -1, 0, -1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
487 | - | }) |
487 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, 0),C1 = CFrame.new(0.349990845, -1.04246521, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
488 | - | if Mesh == "SpecialMesh" then |
488 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.5499687, 31.3549976, -6.38231945, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
489 | - | Msh.MeshType = MeshType |
489 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0999908447, -0.517465591, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
490 | - | Msh.MeshId = MeshId |
490 | + | Recolor = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.75,Transparency = 0.75,Size = Vector3.new(0.0500000007, 0.400000274, 0.250000119),CFrame = CFrame.new(34.7999687, 31.3549976, -6.38231945, 0, 0, -1, 0, 1, 0, 1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
491 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.349990845, -0.517465591, 0.503536224, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
492 | - | return Msh |
492 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Maroon"),Size = Vector3.new(1.10000145, 0.115000226, 1.04000056),CFrame = CFrame.new(34.4499779, 32.4774742, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),}) |
493 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0, 0.605010986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
494 | - | }, |
494 | + | Hitbox = New("Part",Gauntlet,"Hitbox",{BrickColor = BrickColor.new("Black"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.1, 2.045, 1.04),CFrame = CFrame.new(34.4499779, 31.8524494, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
495 | - | Weld = { |
495 | + | mot = New("Motor",Hitbox,"mot",{Part0 = Hitbox,Part1 = Main,C1 = CFrame.new(0, -0.0200138092, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
496 | - | Create = function(Parent, Part0, Part1, C0, C1) |
496 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Maroon"),Size = Vector3.new(1.10000145, 0.115000226, 1.04000056),CFrame = CFrame.new(34.4499779, 32.1474686, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),}) |
497 | - | local Weld = Create("Weld")({ |
497 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0, 0.275005341, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
498 | - | Parent = Parent, |
498 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 31.4374714, -6.58084679, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
499 | - | Part0 = Part0, |
499 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
500 | - | Part1 = Part1, |
500 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, -0.434991837, 0.305008888, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
501 | - | C0 = C0, |
501 | + | Band = New("Part",Gauntlet,"Band",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10000145, 0.235000312, 1.04000056),CFrame = CFrame.new(34.4499779, 31.3974819, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
502 | - | C1 = C1 |
502 | + | mot = New("Motor",Band,"mot",{Part0 = Band,Part1 = Main,C1 = CFrame.new(0, -0.474981308, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
503 | - | }) |
503 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 31.4374714, -6.88085127, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
504 | - | return Weld |
504 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
505 | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, -0.434991837, 0.00500440598, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
506 | - | }, |
506 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 31.4374638, -7.20585442, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
507 | - | Sound = { |
507 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
508 | - | Create = function(id, par, vol, pit) |
508 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, -0.434999466, -0.319998741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
509 | - | coroutine.resume(coroutine.create(function() |
509 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10000145, 0.115000226, 1.04000056),CFrame = CFrame.new(34.4499779, 31.2374687, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
510 | - | local S = Create("Sound")({ |
510 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0, -0.634994507, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
511 | - | Volume = vol, |
511 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 31.4374638, -6.88585138, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
512 | - | Pitch = pit or 1, |
512 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
513 | - | SoundId = id, |
513 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, -0.434999466, 4.29153442e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
514 | - | Parent = par or workspace |
514 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 31.4374638, -6.5858469, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
515 | - | }) |
515 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
516 | - | wait() |
516 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, -0.434999466, 0.300008774, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
517 | - | S:play() |
517 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.08269346, 0.251731187, 0.260000527),CFrame = CFrame.new(34.1399841, 31.4374638, -6.88084316, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
518 | - | game:GetService("Debris"):AddItem(S, 6) |
518 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
519 | - | end)) |
519 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.309993744, -0.434999466, 0.00501251221, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
520 | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.07269347, 0.251731187, 0.260000527),CFrame = CFrame.new(34.7599945, 31.4374638, -6.87584305, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) | |
521 | - | }, |
521 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
522 | - | ParticleEmitter = { |
522 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.310016632, -0.434999466, 0.0100126266, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
523 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
523 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.08269346, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4599876, 31.4374638, -6.88084316, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
524 | - | local fp = Create("ParticleEmitter")({ |
524 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
525 | - | Parent = Parent, |
525 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0100097656, -0.434999466, 0.00501251221, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
526 | - | Color = ColorSequence.new(Color1, Color2), |
526 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.09269345, 0.171731144, 0.190000519),CFrame = CFrame.new(34.7649918, 31.4374714, -6.86585045, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
527 | - | LightEmission = LightEmission, |
527 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
528 | - | Size = Size, |
528 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.315013885, -0.434991837, 0.0200052261, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
529 | - | Texture = Texture, |
529 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 31.4374714, -7.2008543, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
530 | - | Transparency = Transparency, |
530 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
531 | - | ZOffset = ZOffset, |
531 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, -0.434991837, -0.314998627, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
532 | - | Acceleration = Accel, |
532 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10269344, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4649887, 31.4374714, -6.87085009, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
533 | - | Drag = Drag, |
533 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
534 | - | LockedToPart = LockedToPart, |
534 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0150108337, -0.434991837, 0.0150055885, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
535 | - | VelocityInheritance = VelocityInheritance, |
535 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.11269343, 0.171731144, 0.190000519),CFrame = CFrame.new(34.1449852, 31.4374714, -6.8758502, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
536 | - | EmissionDirection = EmissionDirection, |
536 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
537 | - | Enabled = Enabled, |
537 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.304992676, -0.434991837, 0.0100054741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
538 | - | Lifetime = LifeTime, |
538 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Maroon"),Size = Vector3.new(1.10000145, 0.115000226, 1.04000056),CFrame = CFrame.new(34.4499779, 31.5674801, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.458824, 0, 0),}) |
539 | - | Rate = Rate, |
539 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0, -0.304983139, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
540 | - | Rotation = Rotation, |
540 | + | Wedge = New("WedgePart",Gauntlet,"Wedge",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11000025, 0.948717952, 1.02461576),CFrame = CFrame.new(34.4549637, 32.8243484, -6.85354662, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
541 | - | RotSpeed = RotSpeed, |
541 | + | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Main,C1 = CFrame.new(0.00498580933, 0.951885223, 0.0323090553, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
542 | - | Speed = Speed, |
542 | + | Wedge = New("WedgePart",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.05583346, 0.902421594, 0.974615693),CFrame = CFrame.new(34.4549637, 32.8560638, -6.83271885, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
543 | - | VelocitySpread = VelocitySpread |
543 | + | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Main,C1 = CFrame.new(0.00498580933, 0.983600616, 0.0531368256, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
544 | - | }) |
544 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 32.3474693, -6.88085127, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
545 | - | return fp |
545 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
546 | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, 0.475006104, 0.00500440598, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
547 | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 32.3474617, -6.88585138, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) | |
548 | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) | |
549 | - | function RemoveOutlines(part) |
549 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, 0.474998474, 4.29153442e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
550 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
550 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.07269347, 0.251731187, 0.260000527),CFrame = CFrame.new(34.7599945, 32.3474617, -6.87584305, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
551 | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) | |
552 | - | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
552 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.310016632, 0.474998474, 0.0100126266, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
553 | - | local Part = Create("Part")({ |
553 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.09269345, 0.171731144, 0.190000519),CFrame = CFrame.new(34.7649918, 32.3474693, -6.86585045, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
554 | - | formFactor = FormFactor, |
554 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
555 | - | Parent = Parent, |
555 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.315013885, 0.475006104, 0.0200052261, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
556 | - | Reflectance = Reflectance, |
556 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10269344, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4649887, 32.3474693, -6.87085009, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
557 | - | Transparency = Transparency, |
557 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
558 | - | CanCollide = false, |
558 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0150108337, 0.475006104, 0.0150055885, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
559 | - | Locked = true, |
559 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.08269346, 0.251731187, 0.260000527),CFrame = CFrame.new(34.1399841, 32.3474617, -6.88084316, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
560 | - | BrickColor = BrickColor.new(tostring(BColor)), |
560 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
561 | - | Name = Name, |
561 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.309993744, 0.474998474, 0.00501251221, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
562 | - | Size = Size, |
562 | + | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.08269346, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4599876, 32.3474617, -6.88084316, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) |
563 | - | Material = Material |
563 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
564 | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(0.0100097656, 0.474998474, 0.00501251221, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
565 | - | RemoveOutlines(Part) |
565 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.11269343, 0.171731144, 0.190000519),CFrame = CFrame.new(34.1449852, 32.3474693, -6.8758502, 0, 0, 1, 0, 1, 0, -1, 0, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
566 | - | return Part |
566 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
567 | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.304992676, 0.475006104, 0.0100054741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
568 | - | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
568 | + | Band = New("Part",Gauntlet,"Band",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.10000145, 0.235000312, 1.04000056),CFrame = CFrame.new(34.4499779, 32.3074799, -6.88585567, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
569 | - | local Msh = Create(Mesh)({ |
569 | + | mot = New("Motor",Band,"mot",{Part0 = Band,Part1 = Main,C1 = CFrame.new(0, 0.435016632, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
570 | - | Parent = Part, |
570 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 32.3474693, -6.58084679, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
571 | - | Offset = OffSet, |
571 | + | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
572 | - | Scale = Scale |
572 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, 0.475006104, 0.305008888, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
573 | Recolor = New("Part",Gauntlet,"Recolor",{BrickColor = BrickColor.new("Crimson"),Size = Vector3.new(1.12269342, 0.251731187, 0.260000527),CFrame = CFrame.new(34.4549828, 32.3474617, -6.5858469, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.592157, 0, 0),}) | |
574 | - | if Mesh == "SpecialMesh" then |
574 | + | SMesh = New("SpecialMesh",Recolor,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) |
575 | - | Msh.MeshType = MeshType |
575 | + | mot = New("Motor",Recolor,"mot",{Part0 = Recolor,Part1 = Main,C1 = CFrame.new(0.00500488281, 0.474998474, 0.300008774, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
576 | - | Msh.MeshId = MeshId |
576 | + | Nail = New("Part",Gauntlet,"Nail",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.15269339, 0.171731144, 0.190000519),CFrame = CFrame.new(34.4499893, 32.3474693, -7.2008543, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
577 | SMesh = New("SpecialMesh",Nail,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) | |
578 | - | return Msh |
578 | + | mot = New("Motor",Nail,"mot",{Part0 = Nail,Part1 = Main,C1 = CFrame.new(1.14440918e-05, 0.475006104, -0.314998627, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
579 | ||
580 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
580 | + | for _,v in next, Gauntlet:children() do |
581 | - | local Weld = Create("Weld")({ |
581 | + | if(v:IsA'BasePart')then |
582 | - | Parent = Parent, |
582 | + | if(v.Name == 'Recolor')then |
583 | - | Part0 = Part0, |
583 | + | v.Material = Enum.Material.Neon |
584 | - | Part1 = Part1, |
584 | + | |
585 | - | C0 = C0, |
585 | + | |
586 | - | C1 = C1 |
586 | + | |
587 | ||
588 | - | return Weld |
588 | + | |
589 | local Gauntlet2 = Gauntlet:Clone(); | |
590 | local Main2 = Gauntlet2.Main | |
591 | local Hitbox2 = Gauntlet2.Hitbox | |
592 | - | ------------------------------------------------------- |
592 | + | |
593 | - | --Start Effect Function-- |
593 | + | Gauntlet2.Parent = Char |
594 | - | ------------------------------------------------------- |
594 | + | Gauntlet.Parent = Char |
595 | - | EffectModel = Instance.new("Model", char) |
595 | + | |
596 | - | Effects = { |
596 | + | local NeonParts = {} |
597 | - | Block = { |
597 | + | for _,v in next, Gauntlet:children() do |
598 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
598 | + | if(v:IsA'BasePart' and v.Name == 'Recolor')then |
599 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
599 | + | v.Color = Color3.new(math.random(),math.random(),math.random()) |
600 | - | prt.Anchored = true |
600 | + | table.insert(NeonParts,v) |
601 | - | prt.CFrame = cframe |
601 | + | |
602 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
602 | + | |
603 | - | game:GetService("Debris"):AddItem(prt, 10) |
603 | + | for _,v in next, Gauntlet2:children() do |
604 | - | if Type == 1 or Type == nil then |
604 | + | if(v:IsA'BasePart' and v.Name == 'Recolor')then |
605 | - | table.insert(Effects, { |
605 | + | v.Color = Color3.new(math.random(),math.random(),math.random()) |
606 | - | prt, |
606 | + | table.insert(NeonParts,v) |
607 | - | "Block1", |
607 | + | |
608 | - | delay, |
608 | + | |
609 | - | x3, |
609 | + | |
610 | - | y3, |
610 | + | for _,v in next, Gauntlet:children() do |
611 | - | z3, |
611 | + | if(v:IsA'Part' and not v:findFirstChildOfClass'SpecialMesh')then |
612 | - | msh |
612 | + | Instance.new("BlockMesh",v) |
613 | - | }) |
613 | + | |
614 | - | elseif Type == 2 then |
614 | + | if(v:IsA'BasePart')then v.CanCollide = false end |
615 | - | table.insert(Effects, { |
615 | + | |
616 | - | prt, |
616 | + | for _,v in next, Gauntlet2:children() do |
617 | - | "Block2", |
617 | + | if(v:IsA'Part' and not v:findFirstChildOfClass'SpecialMesh')then |
618 | - | delay, |
618 | + | Instance.new("BlockMesh",v) |
619 | - | x3, |
619 | + | |
620 | - | y3, |
620 | + | if(v:IsA'BasePart')then v.CanCollide = false end |
621 | - | z3, |
621 | + | |
622 | - | msh |
622 | + | |
623 | - | }) |
623 | + | |
624 | - | else |
624 | + | table.insert(NeonParts,MainCl) |
625 | - | table.insert(Effects, { |
625 | + | if(PlayerSize ~= 1)then |
626 | - | prt, |
626 | + | for _,v in next, Char:GetDescendants() do |
627 | - | "Block3", |
627 | + | if(v:IsA'BasePart')then |
628 | - | delay, |
628 | + | v.Size = v.Size * PlayerSize |
629 | - | x3, |
629 | + | |
630 | - | y3, |
630 | + | |
631 | - | z3, |
631 | + | |
632 | - | msh |
632 | + | |
633 | - | }) |
633 | + | |
634 | - | end |
634 | + | local Music = Sound(MusicParent,MusicID,1,3,true,false,true) |
635 | - | end |
635 | + | Music.Name = 'Music' |
636 | - | }, |
636 | + | |
637 | - | Sphere = { |
637 | + | local Static = Sound(Torso,1588058260,1,3,true,false,true) |
638 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
638 | + | Static.Name = 'Static' |
639 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
639 | + | |
640 | - | prt.Anchored = true |
640 | + | --// Stop animations \\-- |
641 | - | prt.CFrame = cframe |
641 | + | for _,v in next, Hum:GetPlayingAnimationTracks() do |
642 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
642 | + | v:Stop(); |
643 | - | game:GetService("Debris"):AddItem(prt, 10) |
643 | + | |
644 | - | table.insert(Effects, { |
644 | + | |
645 | - | prt, |
645 | + | pcall(game.Destroy,Char:FindFirstChild'Animate') |
646 | - | "Cylinder", |
646 | + | pcall(game.Destroy,Hum:FindFirstChild'Animator') |
647 | - | delay, |
647 | + | |
648 | - | x3, |
648 | + | --// Joints \\-- |
649 | - | y3, |
649 | + | |
650 | - | z3, |
650 | + | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
651 | - | msh |
651 | + | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
652 | - | }) |
652 | + | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) |
653 | - | end |
653 | + | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
654 | - | }, |
654 | + | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
655 | - | Cylinder = { |
655 | + | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) |
656 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
656 | + | local HW1 = Weld(Main,RArm,CF.N(0,.47,0)*CF.A(0,M.R(-90),0)) |
657 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
657 | + | local HW2 = Weld(Main2,LArm,CF.N(0,.47,0)*CF.A(0,M.R(90),0)) |
658 | - | prt.Anchored = true |
658 | + | local CW = Weld(MainCl,LArm,CF.N(.55,.45,0)) |
659 | - | prt.CFrame = cframe |
659 | + | |
660 | - | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
660 | + | local LSC0 = LS.C0 |
661 | - | game:GetService("Debris"):AddItem(prt, 10) |
661 | + | local RSC0 = RS.C0 |
662 | - | table.insert(Effects, { |
662 | + | local NKC0 = NK.C0 |
663 | - | prt, |
663 | + | local LHC0 = LH.C0 |
664 | - | "Cylinder", |
664 | + | local RHC0 = RH.C0 |
665 | - | delay, |
665 | + | local RJC0 = RJ.C0 |
666 | - | x3, |
666 | + | |
667 | - | y3, |
667 | + | --// Artificial HB \\-- |
668 | - | z3, |
668 | + | |
669 | - | msh |
669 | + | local ArtificialHB = IN("BindableEvent", script) |
670 | - | }) |
670 | + | |
671 | - | end |
671 | + | |
672 | - | }, |
672 | + | |
673 | - | Wave = { |
673 | + | |
674 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
674 | + | local tf = 0 |
675 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
675 | + | local allowframeloss = false |
676 | - | prt.Anchored = true |
676 | + | local tossremainder = false |
677 | - | prt.CFrame = cframe |
677 | + | local lastframe = tick() |
678 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) |
678 | + | local frame = 1/Frame_Speed |
679 | - | game:GetService("Debris"):AddItem(prt, 10) |
679 | + | ArtificialHB:Fire() |
680 | - | table.insert(Effects, { |
680 | + | |
681 | - | prt, |
681 | + | |
682 | - | "Cylinder", |
682 | + | |
683 | - | delay, |
683 | + | |
684 | - | x3 / 60, |
684 | + | |
685 | - | y3 / 60, |
685 | + | |
686 | - | z3 / 60, |
686 | + | |
687 | - | msh |
687 | + | |
688 | - | }) |
688 | + | |
689 | - | end |
689 | + | ArtificialHB:Fire() |
690 | - | }, |
690 | + | |
691 | - | Ring = { |
691 | + | |
692 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
692 | + | |
693 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
693 | + | |
694 | - | prt.Anchored = true |
694 | + | |
695 | - | prt.CFrame = cframe |
695 | + | |
696 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
696 | + | |
697 | - | game:GetService("Debris"):AddItem(prt, 10) |
697 | + | |
698 | - | table.insert(Effects, { |
698 | + | |
699 | - | prt, |
699 | + | |
700 | - | "Cylinder", |
700 | + | |
701 | - | delay, |
701 | + | |
702 | - | x3, |
702 | + | |
703 | - | y3, |
703 | + | ArtificialHB.Event:wait() |
704 | - | z3, |
704 | + | |
705 | - | msh |
705 | + | |
706 | - | }) |
706 | + | ArtificialHB.Event:wait() |
707 | - | end |
707 | + | |
708 | - | }, |
708 | + | |
709 | - | Break = { |
709 | + | |
710 | - | Create = function(brickcolor, cframe, x1, y1, z1) |
710 | + | |
711 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
711 | + | |
712 | - | prt.Anchored = true |
712 | + | --// Effect Function(s) \\-- |
713 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
713 | + | |
714 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
714 | + | function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis) |
715 | - | local num = math.random(10, 50) / 1000 |
715 | + | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) |
716 | - | game:GetService("Debris"):AddItem(prt, 10) |
716 | + | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) |
717 | - | table.insert(Effects, { |
717 | + | local Scale = 1 |
718 | - | prt, |
718 | + | local speeder = Speed |
719 | - | "Shatter", |
719 | + | if(Type == "Multiply")then |
720 | - | num, |
720 | + | Scale = 1*Inc |
721 | - | prt.CFrame, |
721 | + | elseif(Type == "Divide")then |
722 | - | math.random() - math.random(), |
722 | + | Scale = 1/Inc |
723 | - | 0, |
723 | + | |
724 | - | math.random(50, 100) / 100 |
724 | + | if(MeshId == 20329976)then |
725 | - | }) |
725 | + | fxM.Offset = V3.N(0,0,-fxM.Scale.x/8) |
726 | - | end |
726 | + | |
727 | - | }, |
727 | + | coroutine.wrap(function() |
728 | - | Spiral = { |
728 | + | for i = 0,10/Lifetime,.1 do |
729 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
729 | + | if(Type == "Multiply")then |
730 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
730 | + | Scale = Scale - 0.01*Inc/Lifetime |
731 | - | prt.Anchored = true |
731 | + | elseif(Type == "Divide")then |
732 | - | prt.CFrame = cframe |
732 | + | Scale = Scale - 0.01/Inc*Lifetime |
733 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
733 | + | |
734 | - | game:GetService("Debris"):AddItem(prt, 10) |
734 | + | speeder = speeder - 0.01*Speed*Lifetime |
735 | - | table.insert(Effects, { |
735 | + | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime |
736 | - | prt, |
736 | + | fxP.Transparency = fxP.Transparency + 0.01*Lifetime |
737 | - | "Cylinder", |
737 | + | if(Axis == 'x')then |
738 | - | delay, |
738 | + | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0) |
739 | - | x3, |
739 | + | elseif(Axis == 'y')then |
740 | - | y3, |
740 | + | fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0) |
741 | - | z3, |
741 | + | elseif(Axis == 'z')then |
742 | - | msh |
742 | + | fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime) |
743 | - | }) |
743 | + | elseif(Axis == 'xyz')then |
744 | - | end |
744 | + | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime) |
745 | - | }, |
745 | + | elseif(Axis == 'yz')then |
746 | - | Push = { |
746 | + | fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime) |
747 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
747 | + | elseif(Axis == 'xz')then |
748 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
748 | + | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime) |
749 | - | prt.Anchored = true |
749 | + | else |
750 | - | prt.CFrame = cframe |
750 | + | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0) |
751 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
751 | + | |
752 | - | game:GetService("Debris"):AddItem(prt, 10) |
752 | + | if(MeshId == 20329976)then |
753 | - | table.insert(Effects, { |
753 | + | fxM.Offset = V3.N(0,0,-fxM.Scale.x/8) |
754 | - | prt, |
754 | + | |
755 | - | "Cylinder", |
755 | + | if(fxP.Transparency >= 1)then break end |
756 | - | delay, |
756 | + | |
757 | - | x3, |
757 | + | |
758 | - | y3, |
758 | + | fxP:destroy() |
759 | - | z3, |
759 | + | end)() |
760 | - | msh |
760 | + | return fxP |
761 | - | }) |
761 | + | |
762 | - | end |
762 | + | |
763 | - | } |
763 | + | |
764 | function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId) | |
765 | - | ------------------------------------------------------- |
765 | + | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false) |
766 | - | --End Effect Function-- |
766 | + | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) |
767 | - | ------------------------------------------------------- |
767 | + | |
768 | local Scale = 1 | |
769 | - | function CreateSound(ID, PARENT, VOLUME, PITCH) |
769 | + | if(Type == "Multiply")then |
770 | - | local NSound = nil |
770 | + | Scale = 1*Inc |
771 | - | coroutine.resume(coroutine.create(function() |
771 | + | elseif(Type == "Divide")then |
772 | - | NSound = Instance.new("Sound", PARENT) |
772 | + | Scale = 1/Inc |
773 | - | NSound.Volume = VOLUME |
773 | + | |
774 | - | NSound.Pitch = PITCH |
774 | + | coroutine.wrap(function() |
775 | - | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID |
775 | + | for i = 0,10/Lifetime,.1 do |
776 | ||
777 | - | NSound:play() |
777 | + | if(Type == "Multiply")then |
778 | - | game:GetService("Debris"):AddItem(NSound, 10) |
778 | + | Scale = Scale - 0.01*Inc/Lifetime |
779 | - | end)) |
779 | + | elseif(Type == "Divide")then |
780 | - | return NSound |
780 | + | Scale = Scale - 0.01/Inc*Lifetime |
781 | end | |
782 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
783 | - | function Eviscerate(dude) |
783 | + | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) |
784 | - | if dude.Name ~= char then |
784 | + | |
785 | - | local bgf = IT("BodyGyro", dude.Head) |
785 | + | |
786 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
786 | + | fxP:destroy() |
787 | - | local val = IT("BoolValue", dude) |
787 | + | end)() |
788 | - | val.Name = "IsHit" |
788 | + | |
789 | - | local ds = coroutine.wrap(function() |
789 | + | |
790 | - | dude:WaitForChild("Head"):BreakJoints() |
790 | + | function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId) |
791 | - | wait(0.5) |
791 | + | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) |
792 | - | target = nil |
792 | + | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) |
793 | - | coroutine.resume(coroutine.create(function() |
793 | + | local Scale = 1 |
794 | - | for i, v in pairs(dude:GetChildren()) do |
794 | + | local speeder = Speed |
795 | - | if v:IsA("Accessory") then |
795 | + | if(Type == "Multiply")then |
796 | - | v:Destroy() |
796 | + | Scale = 1*Inc |
797 | elseif(Type == "Divide")then | |
798 | - | if v:IsA("Humanoid") then |
798 | + | Scale = 1/Inc |
799 | - | v:Destroy() |
799 | + | |
800 | coroutine.wrap(function() | |
801 | - | if v:IsA("CharacterMesh") then |
801 | + | for i = 0,10/Lifetime,.1 do |
802 | - | v:Destroy() |
802 | + | if(Type == "Multiply")then |
803 | Scale = Scale - 0.01*Inc/Lifetime | |
804 | - | if v:IsA("Model") then |
804 | + | elseif(Type == "Divide")then |
805 | - | v:Destroy() |
805 | + | Scale = Scale - 0.01/Inc*Lifetime |
806 | end | |
807 | - | if v:IsA("Part") or v:IsA("MeshPart") then |
807 | + | if(Fade)then |
808 | - | for x, o in pairs(v:GetChildren()) do |
808 | + | fxP.Transparency = i/(10/Lifetime) |
809 | - | if o:IsA("Decal") then |
809 | + | |
810 | - | o:Destroy() |
810 | + | speeder = speeder - 0.01*Speed*Lifetime/10 |
811 | - | end |
811 | + | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime |
812 | fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
813 | - | coroutine.resume(coroutine.create(function() |
813 | + | |
814 | - | v.Material = "Neon" |
814 | + | |
815 | - | v.CanCollide = false |
815 | + | fxP:destroy() |
816 | - | local PartEmmit1 = IT("ParticleEmitter", v) |
816 | + | end)() |
817 | - | PartEmmit1.LightEmission = 1 |
817 | + | |
818 | - | PartEmmit1.Texture = "rbxassetid://284205403" |
818 | + | |
819 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
819 | + | function Bezier(startpos, pos2, pos3, endpos, t) |
820 | - | PartEmmit1.Rate = 150 |
820 | + | local A = startpos:lerp(pos2, t) |
821 | - | PartEmmit1.Lifetime = NumberRange.new(1) |
821 | + | local B = pos2:lerp(pos3, t) |
822 | - | PartEmmit1.Size = NumberSequence.new({ |
822 | + | local C = pos3:lerp(endpos, t) |
823 | - | NumberSequenceKeypoint.new(0, 0.75, 0), |
823 | + | local lerp1 = A:lerp(B, t) |
824 | - | NumberSequenceKeypoint.new(1, 0, 0) |
824 | + | local lerp2 = B:lerp(C, t) |
825 | - | }) |
825 | + | local cubic = lerp1:lerp(lerp2, t) |
826 | - | PartEmmit1.Transparency = NumberSequence.new({ |
826 | + | return cubic |
827 | - | NumberSequenceKeypoint.new(0, 0, 0), |
827 | + | |
828 | - | NumberSequenceKeypoint.new(1, 1, 0) |
828 | + | function Puddle(hit,pos,norm,data) |
829 | - | }) |
829 | + | local material = data.Material or Enum.Material.SmoothPlastic |
830 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
830 | + | local color = data.Color or BrickColor.new'Crimson' |
831 | - | PartEmmit1.VelocitySpread = 30000 |
831 | + | local size = data.Size or 1 |
832 | - | PartEmmit1.Rotation = NumberRange.new(-500, 500) |
832 | + | |
833 | - | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) |
833 | + | if(hit.Name ~= 'BloodPuddle')then |
834 | - | local BodPoss = IT("BodyPosition", v) |
834 | + | local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'}) |
835 | - | BodPoss.P = 3000 |
835 | + | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) |
836 | - | BodPoss.D = 1000 |
836 | + | BloodPuddles[Puddle] = 0 |
837 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
837 | + | |
838 | - | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
838 | + | local cyl = hit:FindFirstChild'CylinderMesh' |
839 | - | v.Color = maincolor.Color |
839 | + | if(cyl)then |
840 | - | coroutine.resume(coroutine.create(function() |
840 | + | BloodPuddles[hit] = 0 |
841 | - | for i = 0, 49 do |
841 | + | cyl.Scale = cyl.Scale + V3.N(size,0,size) |
842 | - | swait(1) |
842 | + | hit.Transparency = 0 |
843 | - | v.Transparency = v.Transparency + 0.08 |
843 | + | |
844 | - | end |
844 | + | |
845 | - | wait(0.5) |
845 | + | |
846 | - | PartEmmit1.Enabled = false |
846 | + | |
847 | - | wait(3) |
847 | + | function Droplet(data) |
848 | - | v:Destroy() |
848 | + | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=RArm.CFrame,Speed=10} |
849 | - | dude:Destroy() |
849 | + | local Size = data.Size or 1 |
850 | - | end)) |
850 | + | local Color = data.Color or BrickColor.new'Crimson' |
851 | - | end)) |
851 | + | local StudsPerFrame = data.Speed or 1 |
852 | local Shape = data.Shape or 'Ball' | |
853 | local Frames = (data.Frames or 160)+1 | |
854 | - | end)) |
854 | + | local Pos = data.Origin or Root.CFrame |
855 | local Direction = data.Direction or Root.CFrame.lookVector*100000 | |
856 | - | ds() |
856 | + | local Material = data.Material or Enum.Material.SmoothPlastic |
857 | local Drop = data.Drop or .05 | |
858 | local Ignorelist = data.Ignorelist or nil | |
859 | - | function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
859 | + | |
860 | - | local type = type |
860 | + | local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false) |
861 | - | local rng = Instance.new("Part", char) |
861 | + | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) |
862 | - | rng.Anchored = true |
862 | + | if(Shape == 'Ball')then |
863 | - | rng.BrickColor = color |
863 | + | BMesh.MeshType = Enum.MeshType.Sphere |
864 | - | rng.CanCollide = false |
864 | + | elseif(Shape == 'Head')then |
865 | - | rng.FormFactor = 3 |
865 | + | BMesh.MeshType = Enum.MeshType.Head |
866 | - | rng.Name = "Ring" |
866 | + | elseif(Shape == 'Cylinder')then |
867 | - | rng.Material = "Neon" |
867 | + | BMesh.MeshType = Enum.MeshType.Cylinder |
868 | - | rng.Size = Vector3.new(1, 1, 1) |
868 | + | |
869 | - | rng.Transparency = 0 |
869 | + | |
870 | - | rng.TopSurface = 0 |
870 | + | coroutine.wrap(function() |
871 | - | rng.BottomSurface = 0 |
871 | + | for i = 1, Frames do |
872 | - | rng.CFrame = pos |
872 | + | Pos = Pos * CF.N(0,-(Drop*i),0) |
873 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
873 | + | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame) |
874 | - | local rngm = Instance.new("SpecialMesh", rng) |
874 | + | if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then |
875 | - | rngm.MeshType = "Sphere" |
875 | + | Puddle(hit,pos,norm,data) |
876 | - | rngm.Scale = Vector3.new(x1, y1, z1) |
876 | + | break; |
877 | - | local scaler2 = 1 |
877 | + | else |
878 | - | local speeder = FastSpeed |
878 | + | Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)) |
879 | - | if type == "Add" then |
879 | + | |
880 | - | scaler2 = 1 * value |
880 | + | |
881 | - | elseif type == "Divide" then |
881 | + | |
882 | - | scaler2 = 1 / value |
882 | + | Bullet:destroy() |
883 | end)() | |
884 | - | coroutine.resume(coroutine.create(function() |
884 | + | |
885 | - | for i = 0, 10 / bonuspeed, 0.1 do |
885 | + | |
886 | function SphereFX(duration,color,scale,pos,endScale,increment) | |
887 | - | if type == "Add" then |
887 | + | return Effect{ |
888 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
888 | + | Effect='ResizeAndFade', |
889 | - | elseif type == "Divide" then |
889 | + | Color=color, |
890 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
890 | + | Size=scale, |
891 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
892 | - | rng.BrickColor = BrickColor.random() |
892 | + | CFrame=pos, |
893 | - | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
893 | + | FXSettings={ |
894 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
894 | + | EndSize=endScale, |
895 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
895 | + | EndIsIncrement=increment |
896 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
896 | + | |
897 | } | |
898 | - | rng:Destroy() |
898 | + | |
899 | - | end)) |
899 | + | |
900 | function BlastFX(duration,color,scale,pos,endScale,increment) | |
901 | return Effect{ | |
902 | - | function FindNearestHead(Position, Distance, SinglePlayer) |
902 | + | Effect='ResizeAndFade', |
903 | - | if SinglePlayer then |
903 | + | Color=color, |
904 | - | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
904 | + | Size=scale, |
905 | Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'}, | |
906 | - | local List = {} |
906 | + | CFrame=pos, |
907 | - | for i, v in pairs(workspace:GetChildren()) do |
907 | + | FXSettings={ |
908 | - | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then |
908 | + | EndSize=endScale, |
909 | - | table.insert(List, v) |
909 | + | EndIsIncrement=increment |
910 | } | |
911 | } | |
912 | - | return List |
912 | + | |
913 | ||
914 | - | function SoulSteal(dude) |
914 | + | function BlockFX(duration,color,scale,pos,endScale,increment) |
915 | - | if dude.Name ~= char then |
915 | + | return Effect{ |
916 | - | local bgf = IT("BodyGyro", dude.Head) |
916 | + | Effect='ResizeAndFade', |
917 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
917 | + | Color=color, |
918 | - | local val = IT("BoolValue", dude) |
918 | + | Size=scale, |
919 | - | val.Name = "IsHit" |
919 | + | CFrame=pos, |
920 | - | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
920 | + | FXSettings={ |
921 | - | local soulst = coroutine.wrap(function() |
921 | + | EndSize=endScale, |
922 | - | local soul = Instance.new("Part",dude) |
922 | + | EndIsIncrement=increment |
923 | - | soul.Size = Vector3.new(1,1,1) |
923 | + | |
924 | - | soul.CanCollide = false |
924 | + | |
925 | - | soul.Anchored = false |
925 | + | |
926 | - | soul.Position = torso.Position |
926 | + | |
927 | - | soul.Transparency = 1 |
927 | + | function ShootBullet(data) |
928 | - | local PartEmmit1 = IT("ParticleEmitter", soul) |
928 | + | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=RArm.CFrame,Speed=10} |
929 | - | PartEmmit1.LightEmission = 1 |
929 | + | local Size = data.Size or V3.N(2,2,2) |
930 | - | PartEmmit1.Texture = "rbxassetid://569507414" |
930 | + | local Color = data.Color or BrickColor.new'Crimson' |
931 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
931 | + | local StudsPerFrame = data.Speed or 10 |
932 | - | PartEmmit1.Rate = 250 |
932 | + | local Shape = data.Shape or 'Ball' |
933 | - | PartEmmit1.Lifetime = NumberRange.new(1.6) |
933 | + | local Frames = data.Frames or 160 |
934 | - | PartEmmit1.Size = NumberSequence.new({ |
934 | + | local Pos = data.Origin or Torso.CFrame |
935 | - | NumberSequenceKeypoint.new(0, 1, 0), |
935 | + | local Direction = data.Direction or Mouse.Hit |
936 | - | NumberSequenceKeypoint.new(1, 0, 0) |
936 | + | local Material = data.Material or Enum.Material.Neon |
937 | - | }) |
937 | + | local OnHit = data.HitFunction or function(hit,pos) |
938 | - | PartEmmit1.Transparency = NumberSequence.new({ |
938 | + | AOEDamage(pos,10,{MinimumDamage=5,MaximumDamage=15,DamageFX={DeathFunction=GrabANoobsSoul}}) |
939 | - | NumberSequenceKeypoint.new(0, 0, 0), |
939 | + | Effect{ |
940 | - | NumberSequenceKeypoint.new(1, 1, 0) |
940 | + | Effect='ResizeAndFade', |
941 | - | }) |
941 | + | Color=Color, |
942 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
942 | + | Size=V3.N(10,10,10), |
943 | - | PartEmmit1.VelocitySpread = 30000 |
943 | + | Mesh={MeshType=Enum.MeshType.Sphere}, |
944 | - | PartEmmit1.Rotation = NumberRange.new(-360, 360) |
944 | + | CFrame=CF.N(pos), |
945 | - | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) |
945 | + | FXSettings={ |
946 | - | local BodPoss = IT("BodyPosition", soul) |
946 | + | EndSize=V3.N(.05,.05,.05), |
947 | - | BodPoss.P = 3000 |
947 | + | EndIsIncrement=true |
948 | - | BodPoss.D = 1000 |
948 | + | |
949 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
949 | + | |
950 | - | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
950 | + | for i = 1, 5 do |
951 | - | wait(1.6) |
951 | + | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) |
952 | - | soul.Touched:connect(function(hit) |
952 | + | Effect{ |
953 | - | if hit.Parent == char then |
953 | + | Effect='Fade', |
954 | - | soul:Destroy() |
954 | + | Frames=65, |
955 | Size=V3.N(5,5,10), | |
956 | CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos), | |
957 | - | wait(1.2) |
957 | + | Mesh = {MeshType=Enum.MeshType.Sphere}, |
958 | - | while soul do |
958 | + | Material=Enum.Material.Neon, |
959 | Color=Color, | |
960 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
960 | + | MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p, |
961 | - | BodPoss.Position = tors.Position |
961 | + | } |
962 | end | |
963 | end | |
964 | - | soulst() |
964 | + | |
965 | local Bullet = Part(Effects,Color,Material,Size,Pos,true,false) | |
966 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
967 | - | function FaceMouse() |
967 | + | if(Shape == 'Ball')then |
968 | - | local Cam = workspace.CurrentCamera |
968 | + | BMesh.MeshType = Enum.MeshType.Sphere |
969 | - | return { |
969 | + | elseif(Shape == 'Head')then |
970 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
970 | + | BMesh.MeshType = Enum.MeshType.Head |
971 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
971 | + | elseif(Shape == 'Cylinder')then |
972 | BMesh.MeshType = Enum.MeshType.Cylinder | |
973 | end | |
974 | - | ------------------------------------------------------- |
974 | + | |
975 | - | --End Important Functions-- |
975 | + | coroutine.wrap(function() |
976 | - | ------------------------------------------------------- |
976 | + | for i = 1, Frames+1 do |
977 | - | --[[ |
977 | + | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame) |
978 | - | Thanks for using Build-To-Lua by jarredbcv. |
978 | + | if(hit)then |
979 | - | ]]-- |
979 | + | OnHit(hit,pos,norm,dist) |
980 | break; | |
981 | else | |
982 | Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame) | |
983 | end | |
984 | swait() | |
985 | end | |
986 | Bullet:destroy() | |
987 | end)() | |
988 | ||
989 | end | |
990 | ||
991 | - | Gaunty = New("Model",char,"Gaunty",{}) |
991 | + | |
992 | - | 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),}) |
992 | + | function Zap(data) |
993 | - | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
993 | + | local sCF,eCF = data.StartCFrame,data.EndCFrame |
994 | - | 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),}) |
994 | + | assert(sCF,"You need a start CFrame!") |
995 | - | 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),}) |
995 | + | assert(eCF,"You need an end CFrame!") |
996 | - | 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),}) |
996 | + | local parts = data.PartCount or 15 |
997 | - | 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),}) |
997 | + | local zapRot = data.ZapRotation or {-5,5} |
998 | - | 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),}) |
998 | + | local startThick = data.StartSize or 3; |
999 | - | 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),}) |
999 | + | local endThick = data.EndSize or startThick/2; |
1000 | - | 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),}) |
1000 | + | local color = data.Color or BrickColor.new'Electric blue' |
1001 | - | 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),}) |
1001 | + | local delay = data.Delay or 35 |
1002 | - | 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),}) |
1002 | + | local delayInc = data.DelayInc or 0 |
1003 | - | 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),}) |
1003 | + | local lastLightning; |
1004 | - | 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),}) |
1004 | + | local MagZ = (sCF.p - eCF.p).magnitude |
1005 | - | 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),}) |
1005 | + | local thick = startThick |
1006 | - | 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),}) |
1006 | + | local inc = (startThick/parts)-(endThick/parts) |
1007 | - | 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),}) |
1007 | + | |
1008 | - | 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),}) |
1008 | + | for i = 1, parts do |
1009 | - | 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),}) |
1009 | + | local pos = sCF.p |
1010 | - | 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),}) |
1010 | + | if(lastLightning)then |
1011 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1011 | + | pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p |
1012 | - | 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),}) |
1012 | + | |
1013 | - | 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),}) |
1013 | + | delay = delay + delayInc |
1014 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1014 | + | local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false) |
1015 | - | 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),}) |
1015 | + | local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot))) |
1016 | - | 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),}) |
1016 | + | if(parts == i)then |
1017 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1017 | + | local MagZ = (pos-eCF.p).magnitude |
1018 | - | 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),}) |
1018 | + | zapPart.Size = V3.N(endThick,endThick,MagZ) |
1019 | - | 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),}) |
1019 | + | zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2) |
1020 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1020 | + | Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}} |
1021 | - | 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),}) |
1021 | + | |
1022 | - | 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),}) |
1022 | + | zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2) |
1023 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1023 | + | |
1024 | - | 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),}) |
1024 | + | |
1025 | - | 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),}) |
1025 | + | lastLightning = zapPart |
1026 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1026 | + | Effect{Effect='Fade',Manual=zapPart,Frames=delay} |
1027 | - | 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),}) |
1027 | + | |
1028 | - | 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),}) |
1028 | + | thick=thick-inc |
1029 | - | 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),}) |
1029 | + | |
1030 | - | 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),}) |
1030 | + | |
1031 | - | 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),}) |
1031 | + | |
1032 | - | 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),}) |
1032 | + | |
1033 | - | 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),}) |
1033 | + | function Zap2(data) |
1034 | - | 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),}) |
1034 | + | local Color = data.Color or BrickColor.new'Electric blue' |
1035 | - | 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),}) |
1035 | + | local StartPos = data.Start or Torso.Position |
1036 | - | 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),}) |
1036 | + | local EndPos = data.End or Mouse.Hit.p |
1037 | - | 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),}) |
1037 | + | local SegLength = data.SegL or 2 |
1038 | - | 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),}) |
1038 | + | local Thicc = data.Thickness or 0.5 |
1039 | - | 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),}) |
1039 | + | local Fades = data.Fade or 45 |
1040 | - | 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),}) |
1040 | + | local Parent = data.Parent or Effects |
1041 | - | 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),}) |
1041 | + | local MaxD = data.MaxDist or 200 |
1042 | - | 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),}) |
1042 | + | local Branch = data.Branches or false |
1043 | - | 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),}) |
1043 | + | local Material = data.Material or Enum.Material.Neon |
1044 | - | 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),}) |
1044 | + | local Raycasts = data.Raycasts or false |
1045 | - | 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),}) |
1045 | + | local Offset = data.Offset or {0,360} |
1046 | - | 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),}) |
1046 | + | local AddMesh = (data.Mesh == nil and true or data.Mesh) |
1047 | - | 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),}) |
1047 | + | if((StartPos-EndPos).magnitude > MaxD)then |
1048 | - | 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),}) |
1048 | + | EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p |
1049 | - | 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),}) |
1049 | + | |
1050 | - | 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),}) |
1050 | + | local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude |
1051 | - | 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),}) |
1051 | + | if(Raycasts)then |
1052 | - | 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),}) |
1052 | + | hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD) |
1053 | - | 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),}) |
1053 | + | |
1054 | - | 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),}) |
1054 | + | local segments = dist/SegLength |
1055 | - | 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),}) |
1055 | + | local model = IN("Model",Parent) |
1056 | - | 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),}) |
1056 | + | model.Name = 'Lightning' |
1057 | - | 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),}) |
1057 | + | local Last; |
1058 | - | 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),}) |
1058 | + | for i = 1, segments do |
1059 | - | 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),}) |
1059 | + | local size = (segments-i)/25 |
1060 | - | 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),}) |
1060 | + | local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false) |
1061 | - | 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),}) |
1061 | + | if(AddMesh)then IN("CylinderMesh",prt) end |
1062 | - | 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),}) |
1062 | + | if(Last and math.floor(segments) == i)then |
1063 | - | 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),}) |
1063 | + | local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude |
1064 | - | 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),}) |
1064 | + | prt.Size = V3.N(Thicc+size,MagZ,Thicc+size) |
1065 | - | 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),}) |
1065 | + | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0) |
1066 | - | 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),}) |
1066 | + | elseif(not Last)then |
1067 | - | 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),}) |
1067 | + | prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) |
1068 | - | 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),}) |
1068 | + | |
1069 | - | 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),}) |
1069 | + | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) |
1070 | - | 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),}) |
1070 | + | |
1071 | - | 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),}) |
1071 | + | Last = prt |
1072 | - | 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),}) |
1072 | + | if(Branch)then |
1073 | - | 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),}) |
1073 | + | local choice = M.RNG(1,7+((segments-i)*2)) |
1074 | - | 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),}) |
1074 | + | if(choice == 1)then |
1075 | - | 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),}) |
1075 | + | local LastB; |
1076 | - | 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),}) |
1076 | + | for i2 = 1,M.RNG(2,5) do |
1077 | - | 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),}) |
1077 | + | local size2 = ((segments-i)/35)/i2 |
1078 | - | 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),}) |
1078 | + | local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false) |
1079 | - | 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),}) |
1079 | + | if(AddMesh)then IN("CylinderMesh",prt) end |
1080 | - | 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),}) |
1080 | + | if(not LastB)then |
1081 | - | 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),}) |
1081 | + | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) |
1082 | - | 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),}) |
1082 | + | |
1083 | - | 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),}) |
1083 | + | prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) |
1084 | - | 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),}) |
1084 | + | |
1085 | - | 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),}) |
1085 | + | LastB = prt |
1086 | end | |
1087 | - | Gaunty2 = New("Model",char,"Gaunty2",{}) |
1087 | + | |
1088 | - | 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),}) |
1088 | + | |
1089 | - | Mesh = New("BlockMesh",Handle2,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1089 | + | |
1090 | - | 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),}) |
1090 | + | if(Fades > 0)then |
1091 | - | 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),}) |
1091 | + | coroutine.wrap(function() |
1092 | - | 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),}) |
1092 | + | for i = 1, Fades do |
1093 | - | 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),}) |
1093 | + | for _,v in next, model:children() do |
1094 | - | 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),}) |
1094 | + | if(v:IsA'BasePart')then |
1095 | - | 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),}) |
1095 | + | v.Transparency = (i/Fades) |
1096 | - | 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),}) |
1096 | + | |
1097 | - | 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),}) |
1097 | + | |
1098 | - | 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),}) |
1098 | + | |
1099 | - | 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),}) |
1099 | + | |
1100 | - | 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),}) |
1100 | + | model:destroy() |
1101 | - | 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),}) |
1101 | + | end)() |
1102 | - | 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),}) |
1102 | + | |
1103 | - | 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),}) |
1103 | + | S.Debris:AddItem(model,.01) |
1104 | - | 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),}) |
1104 | + | |
1105 | - | 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),}) |
1105 | + | return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model} |
1106 | - | 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),}) |
1106 | + | |
1107 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1107 | + | |
1108 | - | 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),}) |
1108 | + | function Tween(obj,props,time,easing,direction,repeats,backwards) |
1109 | - | 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),}) |
1109 | + | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) |
1110 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1110 | + | local tween = S.TweenService:Create(obj, info, props) |
1111 | - | 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),}) |
1111 | + | |
1112 | - | 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),}) |
1112 | + | tween:Play() |
1113 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1113 | + | |
1114 | - | 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),}) |
1114 | + | |
1115 | - | 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),}) |
1115 | + | function Effect(data) |
1116 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1116 | + | local FX = data.Effect or 'ResizeAndFade' |
1117 | - | 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),}) |
1117 | + | local Parent = data.Parent or Effects |
1118 | - | 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),}) |
1118 | + | local Color = data.Color or C3.N(0,0,0) |
1119 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1119 | + | local Size = data.Size or V3.N(1,1,1) |
1120 | - | 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),}) |
1120 | + | local MoveDir = data.MoveDirection or nil |
1121 | - | 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),}) |
1121 | + | local MeshData = data.Mesh or nil |
1122 | - | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1122 | + | local SndData = data.Sound or nil |
1123 | - | 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),}) |
1123 | + | local Frames = data.Frames or 45 |
1124 | - | 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),}) |
1124 | + | local Manual = data.Manual or nil |
1125 | - | 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),}) |
1125 | + | local Material = data.Material or nil |
1126 | - | 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),}) |
1126 | + | local CFra = data.CFrame or Torso.CFrame |
1127 | - | 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),}) |
1127 | + | local Settings = data.FXSettings or {} |
1128 | - | 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),}) |
1128 | + | local Shape = data.Shape or Enum.PartType.Block |
1129 | - | 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),}) |
1129 | + | local Snd,Prt,Msh; |
1130 | - | 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),}) |
1130 | + | local RotInc = data.RotInc or {0,0,0} |
1131 | - | 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),}) |
1131 | + | if(typeof(RotInc) == 'number')then |
1132 | - | 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),}) |
1132 | + | RotInc = {RotInc,RotInc,RotInc} |
1133 | - | 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),}) |
1133 | + | |
1134 | - | 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),}) |
1134 | + | coroutine.wrap(function() |
1135 | - | 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),}) |
1135 | + | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then |
1136 | - | 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),}) |
1136 | + | Prt = Manual |
1137 | - | 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),}) |
1137 | + | |
1138 | - | 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),}) |
1138 | + | Prt = Part(Parent,Color,Material,Size,CFra,true,false) |
1139 | - | 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),}) |
1139 | + | Prt.Shape = Shape |
1140 | - | 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),}) |
1140 | + | |
1141 | - | 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),}) |
1141 | + | if(typeof(MeshData) == 'table')then |
1142 | - | 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),}) |
1142 | + | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) |
1143 | - | 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),}) |
1143 | + | elseif(typeof(MeshData) == 'Instance')then |
1144 | - | 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),}) |
1144 | + | Msh = MeshData:Clone() |
1145 | - | 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),}) |
1145 | + | Msh.Parent = Prt |
1146 | - | 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),}) |
1146 | + | elseif(Shape == Enum.PartType.Block)then |
1147 | - | 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),}) |
1147 | + | Msh = Mesh(Prt,Enum.MeshType.Brick) |
1148 | - | 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),}) |
1148 | + | |
1149 | - | 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),}) |
1149 | + | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then |
1150 | - | 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),}) |
1150 | + | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) |
1151 | - | 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),}) |
1151 | + | |
1152 | - | 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),}) |
1152 | + | if(Snd)then |
1153 | - | 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),}) |
1153 | + | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 |
1154 | - | 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),}) |
1154 | + | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch |
1155 | - | 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),}) |
1155 | + | |
1156 | - | 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),}) |
1156 | + | Size = (Msh and Msh.Scale or Size) |
1157 | - | 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),}) |
1157 | + | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) |
1158 | - | 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),}) |
1158 | + | |
1159 | - | 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),}) |
1159 | + | local MoveSpeed = nil; |
1160 | - | 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),}) |
1160 | + | if(MoveDir)then |
1161 | - | 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),}) |
1161 | + | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames |
1162 | - | 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),}) |
1162 | + | |
1163 | - | 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),}) |
1163 | + | if(FX ~= 'Arc')then |
1164 | - | 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),}) |
1164 | + | for Frame = 1, Frames do |
1165 | - | 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),}) |
1165 | + | if(FX == "Fade")then |
1166 | - | 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),}) |
1166 | + | Prt.Transparency = (Frame/Frames) |
1167 | - | 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),}) |
1167 | + | elseif(FX == "Resize")then |
1168 | - | 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),}) |
1168 | + | if(not Settings.EndSize)then |
1169 | - | 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),}) |
1169 | + | Settings.EndSize = V3.N(0,0,0) |
1170 | - | 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),}) |
1170 | + | |
1171 | - | 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),}) |
1171 | + | if(Settings.EndIsIncrement)then |
1172 | - | 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),}) |
1172 | + | if(Msh)then |
1173 | - | 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),}) |
1173 | + | Msh.Scale = Msh.Scale + Settings.EndSize |
1174 | - | 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),}) |
1174 | + | else |
1175 | - | 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),}) |
1175 | + | Prt.Size = Prt.Size + Settings.EndSize |
1176 | - | 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),}) |
1176 | + | end |
1177 | - | 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),}) |
1177 | + | |
1178 | - | 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),}) |
1178 | + | if(Msh)then |
1179 | - | 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),}) |
1179 | + | Msh.Scale = Msh.Scale - grow/Frames |
1180 | - | 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),}) |
1180 | + | else |
1181 | - | 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),}) |
1181 | + | Prt.Size = Prt.Size - grow/Frames |
1182 | end | |
1183 | end | |
1184 | elseif(FX == "ResizeAndFade")then | |
1185 | - | local inst = Instance.new(instance,parent) |
1185 | + | if(not Settings.EndSize)then |
1186 | Settings.EndSize = V3.N(0,0,0) | |
1187 | end | |
1188 | if(Settings.EndIsIncrement)then | |
1189 | if(Msh)then | |
1190 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1191 | else | |
1192 | Prt.Size = Prt.Size + Settings.EndSize | |
1193 | end | |
1194 | - | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)}) |
1194 | + | |
1195 | - | local HW2 = NewInstance('Motor', char, {Part0 = la, Part1 = Handle2, C0 = CF(0,-.51,0) * angles(Rad(0),Rad(180),Rad(0))}) |
1195 | + | if(Msh)then |
1196 | Msh.Scale = Msh.Scale - grow/Frames | |
1197 | - | for _,v in next, Gaunty:children() do |
1197 | + | else |
1198 | - | v.CanCollide = false |
1198 | + | Prt.Size = Prt.Size - grow/Frames |
1199 | end | |
1200 | - | for _,v in next, Gaunty2:children() do |
1200 | + | end |
1201 | - | v.CanCollide = false |
1201 | + | Prt.Transparency = (Frame/Frames) |
1202 | end | |
1203 | - | local all, last = {}, nil |
1203 | + | if(Settings.RandomizeCFrame)then |
1204 | - | ArmourParts = {} |
1204 | + | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) |
1205 | - | NeonParts = {} |
1205 | + | else |
1206 | - | function scan(p) |
1206 | + | Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc)) |
1207 | - | for _, v in pairs(p:GetChildren()) do |
1207 | + | |
1208 | - | if v:IsA("BasePart") then |
1208 | + | if(MoveDir and MoveSpeed)then |
1209 | - | if v.BrickColor == BrickColor.new("Black") then |
1209 | + | local Orientation = Prt.Orientation |
1210 | - | table.insert(ArmourParts, v) |
1210 | + | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) |
1211 | - | end |
1211 | + | Prt.Orientation = Orientation |
1212 | - | if v.BrickColor == BrickColor.new("Institutional white") then |
1212 | + | |
1213 | - | table.insert(NeonParts, v) |
1213 | + | |
1214 | - | end |
1214 | + | |
1215 | - | if last then |
1215 | + | Prt:destroy() |
1216 | - | local w = Instance.new("Weld") |
1216 | + | |
1217 | - | w.Part0, w.Part1 = last, v |
1217 | + | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End |
1218 | - | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() |
1218 | + | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end |
1219 | - | w.Parent = last |
1219 | + | if(start and endP)then |
1220 | - | end |
1220 | + | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
1221 | - | table.insert(all, v) |
1221 | + | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
1222 | - | last = v |
1222 | + | for Frame = 0, 1, (Settings.Speed or 0.01) do |
1223 | - | end |
1223 | + | if(Settings.Home)then |
1224 | - | scan(v) |
1224 | + | endP = Settings.Home.CFrame |
1225 | - | end |
1225 | + | |
1226 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) | |
1227 | - | scan(Gaunty) |
1227 | + | |
1228 | - | local all2, last2 = {}, nil |
1228 | + | if(Settings.RemoveOnGoal)then |
1229 | - | ArmourParts2 = {} |
1229 | + | Prt:destroy() |
1230 | - | NeonParts2 = {} |
1230 | + | |
1231 | - | function scan2(p) |
1231 | + | else |
1232 | - | for _, v in pairs(p:GetChildren()) do |
1232 | + | Prt:destroy() |
1233 | - | if v:IsA("BasePart") then |
1233 | + | assert(start,"You need a start position!") |
1234 | - | if v.BrickColor == BrickColor.new("Black") then |
1234 | + | assert(endP,"You need a start position!") |
1235 | - | table.insert(ArmourParts2, v) |
1235 | + | |
1236 | - | end |
1236 | + | |
1237 | - | if v.BrickColor == BrickColor.new("Institutional white") then |
1237 | + | end)() |
1238 | - | table.insert(NeonParts2, v) |
1238 | + | return Prt,Msh,Snd |
1239 | - | end |
1239 | + | |
1240 | - | if last2 then |
1240 | + | function SoulSteal(whom) |
1241 | - | local w = Instance.new("Weld") |
1241 | + | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') |
1242 | - | w.Part0, w.Part1 = last2, v |
1242 | + | print(torso) |
1243 | - | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() |
1243 | + | if(torso and torso:IsA'BasePart')then |
1244 | - | w.Parent = last2 |
1244 | + | local Model = Instance.new("Model",Effects) |
1245 | - | end |
1245 | + | Model.Name = whom.Name.."'s Soul" |
1246 | - | table.insert(all2, v) |
1246 | + | whom:BreakJoints() |
1247 | - | last2 = v |
1247 | + | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) |
1248 | - | end |
1248 | + | Soul.Name = 'Head' |
1249 | - | scan2(v) |
1249 | + | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) |
1250 | - | end |
1250 | + | Effect{ |
1251 | Effect="Arc", | |
1252 | - | scan2(Gaunty2) |
1252 | + | Manual = Soul, |
1253 | - | for i, v in pairs(ArmourParts) do |
1253 | + | FXSettings={ |
1254 | - | v.BrickColor = BrickC("Black") |
1254 | + | Start=torso.CFrame, |
1255 | Home = Torso, | |
1256 | - | for i, v in pairs(NeonParts) do |
1256 | + | RemoveOnGoal = true, |
1257 | - | v.BrickColor = BrickC("Really red") |
1257 | + | |
1258 | - | end |
1258 | + | |
1259 | - | for i, v in pairs(ArmourParts2) do |
1259 | + | local lastPoint = Soul.CFrame.p |
1260 | - | v.BrickColor = BrickC("Black") |
1260 | + | |
1261 | for i = 0, 1, 0.01 do | |
1262 | - | for i, v in pairs(NeonParts2) do |
1262 | + | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) |
1263 | - | v.BrickColor = BrickC("Really red") |
1263 | + | local mag = (lastPoint - Soul.Position).magnitude |
1264 | - | end |
1264 | + | Effect{ |
1265 | - | maincolor = BrickC("Really red") |
1265 | + | Effect = "Fade", |
1266 | - | ------------------------------------------------------- |
1266 | + | CFrame = point * CF.N(0, mag/2, 0), |
1267 | - | --Start Music Option-- |
1267 | + | Size = V3.N(.5,mag+.5,.5), |
1268 | - | ------------------------------------------------------- |
1268 | + | Color = Soul.BrickColor |
1269 | - | local Music = Instance.new("Sound",char) |
1269 | + | } |
1270 | - | Music.Volume = 2.5 |
1270 | + | lastPoint = Soul.CFrame.p |
1271 | - | Music.SoundId = "rbxassetid://550578451" |
1271 | + | |
1272 | - | Music.Looped = true |
1272 | + | |
1273 | - | Music.Pitch = 1 --Pitcher |
1273 | + | for i = 1, 5 do |
1274 | - | Music:Play() |
1274 | + | Effect{ |
1275 | - | ------------------------------------------------------- |
1275 | + | Effect="Fade", |
1276 | - | --End Music Option-- |
1276 | + | Color = BrickColor.new'Really red', |
1277 | - | ------------------------------------------------------- |
1277 | + | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p |
1278 | - | local naeeym2 = Instance.new("BillboardGui",char) |
1278 | + | } |
1279 | end | |
1280 | end | |
1281 | end | |
1282 | - | naeeym2.Adornee = hed |
1282 | + | |
1283 | --// Other Functions \\ -- | |
1284 | ||
1285 | function CastRay(startPos,endPos,range,ignoreList) | |
1286 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1287 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1288 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1289 | - | tecks2.Text = "Ender" |
1289 | + | |
1290 | ||
1291 | function getRegion(point,range,ignore) | |
1292 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1293 | end | |
1294 | ||
1295 | function clerp(startCF,endCF,alpha) | |
1296 | return startCF:lerp(endCF, alpha) | |
1297 | end | |
1298 | - | function chatfunc(text, color) |
1298 | + | |
1299 | - | local chat = coroutine.wrap(function() |
1299 | + | function GetTorso(char) |
1300 | - | if char:FindFirstChild("TalkingBillBoard") ~= nil then |
1300 | + | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' |
1301 | - | char:FindFirstChild("TalkingBillBoard"):destroy() |
1301 | + | |
1302 | ||
1303 | - | local naeeym2 = Instance.new("BillboardGui", char) |
1303 | + | |
1304 | - | naeeym2.Size = UDim2.new(0, 100, 0, 40) |
1304 | + | |
1305 | - | naeeym2.StudsOffset = Vector3.new(0, 5, 0) |
1305 | + | coroutine.wrap(function() |
1306 | - | naeeym2.Adornee = hed |
1306 | + | local Rate = (1 / Frame_Speed) |
1307 | - | naeeym2.Name = "TalkingBillBoard" |
1307 | + | |
1308 | - | local tecks2 = Instance.new("TextLabel", naeeym2) |
1308 | + | |
1309 | - | tecks2.BackgroundTransparency = 1 |
1309 | + | |
1310 | - | tecks2.BorderSizePixel = 0 |
1310 | + | |
1311 | - | tecks2.Text = "" |
1311 | + | local EffectPart = NewInstance("Part",Effects,{ |
1312 | - | tecks2.Font = "SciFi" |
1312 | + | Material=Enum.Material.SmoothPlastic, |
1313 | - | tecks2.TextSize = 30 |
1313 | + | Reflectance = 0, |
1314 | - | tecks2.TextStrokeTransparency = 0 |
1314 | + | Transparency = 1, |
1315 | - | tecks2.TextColor3 = color |
1315 | + | Name = "Effect", |
1316 | - | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) |
1316 | + | Size = Vector3.new(0,0,0), |
1317 | - | tecks2.Size = UDim2.new(1, 0, 0.5, 0) |
1317 | + | Anchored = true, |
1318 | - | local tecks3 = Instance.new("TextLabel", naeeym2) |
1318 | + | CFrame = CF.N(Pos) |
1319 | - | tecks3.BackgroundTransparency = 1 |
1319 | + | |
1320 | - | tecks3.BorderSizePixel = 0 |
1320 | + | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ |
1321 | - | tecks3.Text = "" |
1321 | + | Size = UDim2.new(1.25, 0, 1.25, 0), |
1322 | - | tecks3.Font = "SciFi" |
1322 | + | |
1323 | - | tecks3.TextSize = 30 |
1323 | + | |
1324 | - | tecks3.TextStrokeTransparency = 0 |
1324 | + | local TextLabel = NewInstance("TextLabel",BillboardGui,{ |
1325 | - | tecks3.TextColor3 = Color3.new(0, 0, 0) |
1325 | + | |
1326 | - | tecks3.TextStrokeColor3 = color |
1326 | + | |
1327 | - | tecks3.Size = UDim2.new(1, 0, 0.5, 0) |
1327 | + | |
1328 | - | coroutine.resume(coroutine.create(function() |
1328 | + | |
1329 | - | while true do |
1329 | + | TextColor3 = C3.N(M.RNG(),M.RNG(),M.RNG()), |
1330 | - | swait(1) |
1330 | + | TextStrokeColor3 = Color3.new(0,0,0), |
1331 | - | tecks2.TextColor3 = BrickColor.random().Color |
1331 | + | TextStrokeTransparency=0, |
1332 | - | tecks3.TextStrokeColor3 = BrickColor.random().Color |
1332 | + | |
1333 | - | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) |
1333 | + | |
1334 | - | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) |
1334 | + | S.Debris:AddItem(EffectPart, (Time)) |
1335 | - | tecks2.Rotation = math.random(-5, 5) |
1335 | + | EffectPart.Parent = workspace |
1336 | - | tecks3.Rotation = math.random(-5, 5) |
1336 | + | |
1337 | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out) | |
1338 | - | end)) |
1338 | + | |
1339 | - | for i = 1, string.len(text) do |
1339 | + | |
1340 | - | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) |
1340 | + | |
1341 | - | tecks2.Text = string.sub(text, 1, i) |
1341 | + | |
1342 | - | tecks3.Text = string.sub(text, 1, i) |
1342 | + | |
1343 | - | swait(1) |
1343 | + | TextLabel.TextStrokeTransparency = Percent |
1344 | end | |
1345 | - | wait(1) |
1345 | + | |
1346 | - | local randomrot = math.random(1, 2) |
1346 | + | |
1347 | - | if randomrot == 1 then |
1347 | + | |
1348 | - | for i = 1, 50 do |
1348 | + | end) end)() |
1349 | end | |
1350 | - | tecks2.Rotation = tecks2.Rotation - 0.75 |
1350 | + | |
1351 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
1351 | + | function GrabANoobsSoul(char,hum) |
1352 | - | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
1352 | + | char:BreakJoints() |
1353 | - | tecks3.Rotation = tecks2.Rotation + 0.75 |
1353 | + | hum:destroy() |
1354 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
1354 | + | local soulEjected = false |
1355 | - | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
1355 | + | for _,v in next, char:children() do |
1356 | if(v:IsA'BasePart')then | |
1357 | - | elseif randomrot == 2 then |
1357 | + | local dust = script.Dust:Clone(); |
1358 | - | for i = 1, 50 do |
1358 | + | dust.Parent = v |
1359 | dust.Enabled = true | |
1360 | - | tecks2.Rotation = tecks2.Rotation + 0.75 |
1360 | + | local bv = NewInstance('BodyPosition',v,{d=1000,p=2500,position=v.Position+V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5))}) |
1361 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
1361 | + | v.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) |
1362 | - | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
1362 | + | coroutine.wrap(function() |
1363 | - | tecks3.Rotation = tecks2.Rotation - 0.75 |
1363 | + | for i = 0, 1, .025 do |
1364 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
1364 | + | v.Transparency = i |
1365 | - | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
1365 | + | v.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) |
1366 | dust.Color = ColorSequence.new(C3.N(M.RNG(),M.RNG(),M.RNG())) | |
1367 | swait() | |
1368 | - | naeeym2:Destroy() |
1368 | + | |
1369 | - | end) |
1369 | + | v:destroy() |
1370 | - | chat() |
1370 | + | if(not soulEjected and (v.Name == 'Torso' or v.Name == 'HumanoidRootPart' or v.Name == 'UpperTorso'))then |
1371 | soulEjected = true | |
1372 | - | ------------------------------------------------------- |
1372 | + | local soul = Part(Effects,C3.N(M.RNG(),M.RNG(),M.RNG()),Enum.Material.Neon,V3.N(.05,.05,.05),v.CFrame,true,false) |
1373 | - | --Start Attacks N Stuff-- |
1373 | + | soul.Transparency = 1 |
1374 | - | ------------------------------------------------------- |
1374 | + | local pe = script.Soul:Clone(); |
1375 | - | local sine=0 |
1375 | + | pe.Parent = soul |
1376 | - | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) |
1376 | + | pe:Emit(1) |
1377 | - | local Hitboxpart = Instance.new("Part", EffectModel) |
1377 | + | repeat swait() |
1378 | - | RemoveOutlines(Hitboxpart) |
1378 | + | soul.CFrame = CF.N(soul.CFrame.p,Torso.CFrame.p)*CF.N(0,0,-.15) |
1379 | - | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) |
1379 | + | pe.Enabled = true |
1380 | - | Hitboxpart.CanCollide = false |
1380 | + | pe.Color = ColorSequence.new(C3.N(M.RNG(),M.RNG(),M.RNG())) |
1381 | - | Hitboxpart.Transparency = 1 |
1381 | + | until not soul.Parent or (soul.CFrame.p-Torso.CFrame.p).magnitude < 1 |
1382 | - | Hitboxpart.Anchored = true |
1382 | + | pe.Enabled = false |
1383 | - | Hitboxpart.CFrame = Pose |
1383 | + | S.Debris:AddItem(soul,2) |
1384 | - | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) |
1384 | + | Sound(Torso,260496290,1,6,false,true,true) |
1385 | - | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) |
1385 | + | for i = 1, 10 do |
1386 | NoobySphere(2,M.RNG(25,50)/100,'Multiply',soul.CFrame*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),V3.N(1,1,1),.1,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'z') | |
1387 | - | wait2 = false |
1387 | + | |
1388 | - | combo = 1 |
1388 | + | |
1389 | - | mouse.Button1Down:connect(function(key) |
1389 | + | |
1390 | - | if attack == false then |
1390 | + | end)() |
1391 | - | attack = true |
1391 | + | |
1392 | - | hum.WalkSpeed = 3.01 |
1392 | + | |
1393 | - | if combo == 1 and wait2 == false then |
1393 | + | |
1394 | - | wait2 = true |
1394 | + | |
1395 | - | for i = 0, 1.2, 0.1 do |
1395 | + | function DealDamage(data) |
1396 | - | swait() |
1396 | + | local Who = data.Who; |
1397 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-65)), 0.3) |
1397 | + | local MinDam = data.MinimumDamage or 15; |
1398 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(-65)), 0.1) |
1398 | + | local MaxDam = data.MaximumDamage or 30; |
1399 | - | 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) |
1399 | + | local MaxHP = data.MaxHP or 1e5; |
1400 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(40)), 0.3) |
1400 | + | |
1401 | - | 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) |
1401 | + | local DB = data.Debounce or .2; |
1402 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) |
1402 | + | |
1403 | - | end |
1403 | + | local CritData = data.Crit or {} |
1404 | - | CreateSound("138097048", ra, 3, .8) |
1404 | + | local CritChance = CritData.Chance or 0; |
1405 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") |
1405 | + | local CritMultiplier = CritData.Multiplier or 1; |
1406 | - | for i = 0, 1.2, 0.1 do |
1406 | + | |
1407 | - | swait() |
1407 | + | local DamageEffects = data.DamageFX or {} |
1408 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) |
1408 | + | local DamageType = DamageEffects.Type or "Normal" |
1409 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1409 | + | local DeathFunction = DamageEffects.DeathFunction |
1410 | - | 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) |
1410 | + | |
1411 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1411 | + | assert(Who,"Specify someone to damage!") |
1412 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) |
1412 | + | |
1413 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1413 | + | local Humanoid = Who:FindFirstChildOfClass'Humanoid' |
1414 | - | end |
1414 | + | local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1) |
1415 | - | combo = 2 |
1415 | + | |
1416 | - | end |
1416 | + | local canHit = true |
1417 | - | if combo == 2 and wait2 == false then |
1417 | + | if(Humanoid)then |
1418 | - | wait2 = true |
1418 | + | for _, p in pairs(Hit) do |
1419 | - | for i = 0, 1.2, 0.1 do |
1419 | + | if p[1] == Humanoid then |
1420 | - | swait() |
1420 | + | if(time() - p[2] <= DB) then |
1421 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(65)), 0.3) |
1421 | + | canHit = false |
1422 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(65)), 0.1) |
1422 | + | else |
1423 | - | 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) |
1423 | + | Hit[_] = nil |
1424 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3) |
1424 | + | |
1425 | - | 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) |
1425 | + | |
1426 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) |
1426 | + | |
1427 | - | end |
1427 | + | if(canHit)then |
1428 | - | CreateSound("138097048", ra, 3, .8) |
1428 | + | table.insert(Hit,{Humanoid,time()}) |
1429 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") |
1429 | + | local HitTorso = GetTorso(Who) |
1430 | - | for i = 0, 1.2, 0.1 do |
1430 | + | local player = S.Players:GetPlayerFromCharacter(Who) |
1431 | - | swait() |
1431 | + | if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then |
1432 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-55)), 0.3) |
1432 | + | if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then |
1433 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1433 | + | print'Got kill' |
1434 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.1) |
1434 | + | Humanoid.Health = 0; |
1435 | - | 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) |
1435 | + | Who:BreakJoints(); |
1436 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) |
1436 | + | if(DeathFunction)then DeathFunction(Who,Humanoid) end |
1437 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1437 | + | else |
1438 | - | end |
1438 | + | local c = Instance.new("ObjectValue",Hum) |
1439 | - | combo = 3 |
1439 | + | c.Name = "creator" |
1440 | - | end |
1440 | + | c.Value = Plr |
1441 | - | if combo == 3 and wait2 == false then |
1441 | + | S.Debris:AddItem(c,0.35) |
1442 | - | wait2 = true |
1442 | + | if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then |
1443 | - | for i = 0, 1.2, 0.1 do |
1443 | + | ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color) |
1444 | - | swait() |
1444 | + | |
1445 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) |
1445 | + | if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end |
1446 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
1446 | + | Humanoid.Health = Humanoid.Health - DoneDamage |
1447 | - | 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) |
1447 | + | |
1448 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1448 | + | if(DamageType == 'Knockback' and HitTorso)then |
1449 | - | 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) |
1449 | + | local up = DamageEffects.KnockUp or 25 |
1450 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) |
1450 | + | local back = DamageEffects.KnockBack or 25 |
1451 | - | end |
1451 | + | local origin = DamageEffects.Origin or Root |
1452 | - | CreateSound("138097048", ra, 3, .8) |
1452 | + | local decay = DamageEffects.Decay or .5; |
1453 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") |
1453 | + | |
1454 | - | for i = 0, 1.2, 0.1 do |
1454 | + | local bfos = Instance.new("BodyVelocity",HitTorso) |
1455 | - | swait() |
1455 | + | bfos.P = 20000 |
1456 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) |
1456 | + | bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
1457 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1457 | + | bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back) |
1458 | - | 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) |
1458 | + | S.Debris:AddItem(bfos,decay) |
1459 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1459 | + | |
1460 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) |
1460 | + | |
1461 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1461 | + | |
1462 | - | end |
1462 | + | |
1463 | - | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 1.1, 1.1, 1.1, 0.02) |
1463 | + | end |
1464 | - | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 1.1, 1.1, 1.1, 0.03) |
1464 | + | |
1465 | - | for i = 0, 2 do |
1465 | + | |
1466 | - | 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) |
1466 | + | function AOEDamage(where,range,options) |
1467 | local hit = {} | |
1468 | - | coroutine.resume(coroutine.create(function() |
1468 | + | for _,v in next, getRegion(where,range,{Char}) do |
1469 | - | for i = 0,1.8,0.1 do |
1469 | + | if(options.BreakGlass and v.Material == Enum.Material.Glass)then |
1470 | SoundPart(260496290,1,6,false,true,true,v.CFrame) | |
1471 | - | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) |
1471 | + | v:destroy() |
1472 | end | |
1473 | - | for i = 0,1.8,0.1 do |
1473 | + | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then |
1474 | local callTable = {Who=v.Parent} | |
1475 | - | hum.CameraOffset = Vector3.new(0,0,0) |
1475 | + | hit[v.Parent] = true |
1476 | for _,v in next, options do callTable[_] = v end | |
1477 | - | end)) |
1477 | + | DealDamage(callTable) |
1478 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") |
1478 | + | |
1479 | end | |
1480 | - | swait() |
1480 | + | return hit |
1481 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) |
1481 | + | |
1482 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1482 | + | |
1483 | - | 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) |
1483 | + | function AOEHeal(where,range,amount) |
1484 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1484 | + | local healed = {} |
1485 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) |
1485 | + | for _,v in next, getRegion(where,range,{Char}) do |
1486 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1486 | + | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) |
1487 | - | end |
1487 | + | if(hum and not healed[hum])then |
1488 | - | combo = 4 |
1488 | + | hum.Health = hum.Health + amount |
1489 | - | end |
1489 | + | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then |
1490 | - | if combo == 4 and wait2 == false then |
1490 | + | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color) |
1491 | - | for i = 0,1.2,0.1 do |
1491 | + | |
1492 | end | |
1493 | - | 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) |
1493 | + | |
1494 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1494 | + | |
1495 | - | 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) |
1495 | + | |
1496 | - | 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) |
1496 | + | --// Anti-death \\-- |
1497 | - | 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) |
1497 | + | |
1498 | - | 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) |
1498 | + | local REGENSOUND = 300208779 |
1499 | for _, c in pairs(Char:GetDescendants()) do | |
1500 | - | 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) |
1500 | + | if c and c.Parent then |
1501 | - | 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) |
1501 | + | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then |
1502 | - | Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01) |
1502 | + | local ACCESSORY = c.Parent |
1503 | - | CreateSound("331666100", char, 10, 1) |
1503 | + | c.Parent = Char |
1504 | - | for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do |
1504 | + | if c then |
1505 | - | if v:FindFirstChild("Head") then |
1505 | + | if(c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment"))then |
1506 | - | SoulSteal(v) |
1506 | + | --weldBetween(Head,c) |
1507 | - | Eviscerate(v) |
1507 | + | Weld(Head,c,CF.N(),c.CFrame:inverse()*Head.CFrame) |
1508 | else | |
1509 | --weldBetween(Torso,c) | |
1510 | - | coroutine.resume(coroutine.create(function() |
1510 | + | Weld(Torso,c,CF.N(),c.CFrame:inverse()*Head.CFrame) |
1511 | - | for i = 0,1.8,0.1 do |
1511 | + | |
1512 | end | |
1513 | - | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) |
1513 | + | ACCESSORY:remove() |
1514 | end | |
1515 | - | for i = 0,1.8,0.1 do |
1515 | + | |
1516 | end | |
1517 | - | hum.CameraOffset = Vector3.new(0,0,0) |
1517 | + | |
1518 | local BODY = {} | |
1519 | - | end)) |
1519 | + | local FULLREGEN = false |
1520 | - | for i = 1,4.7,0.1 do |
1520 | + | for _, c in pairs(Char:GetDescendants()) do |
1521 | - | 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) |
1521 | + | if c:IsA("BasePart") and not c.Parent.Name:lower():find'secret' then |
1522 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) |
1522 | + | if(c ~= Root and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg)then |
1523 | - | 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) |
1523 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
1524 | - | 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) |
1524 | + | |
1525 | - | 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) |
1525 | + | local REGENVALUE = IN("BoolValue",c) |
1526 | - | 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) |
1526 | + | REGENVALUE.Name = "IsRegening" |
1527 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE}) | |
1528 | - | wait(.6) |
1528 | + | elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then |
1529 | - | combo = 1 |
1529 | + | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil}) |
1530 | end | |
1531 | - | hum.WalkSpeed = 16 |
1531 | + | |
1532 | - | wait2 = false |
1532 | + | |
1533 | - | attack = false |
1533 | + | function FullBodyRegen() -- thanks shack bb |
1534 | if not FULLREGEN then | |
1535 | Sound(Head,REGENSOUND,M.RNG(80,120)/100,3,false,true,true) | |
1536 | - | function Destruction() |
1536 | + | FULLREGEN = true |
1537 | - | attack = true |
1537 | + | Hum.MaxHealth = "inf" |
1538 | - | local Ring1 = Instance.new("Part", char) |
1538 | + | Hum.Health = "inf" |
1539 | - | Ring1.Anchored = true |
1539 | + | Hum.Parent = nil |
1540 | - | Ring1.BrickColor = maincolor |
1540 | + | Char.Parent = workspace |
1541 | - | Ring1.CanCollide = false |
1541 | + | for e = 1, #BODY do |
1542 | - | Ring1.FormFactor = 3 |
1542 | + | if BODY[e] ~= nil then |
1543 | - | Ring1.Name = "Ring" |
1543 | + | local STUFF = BODY[e] |
1544 | - | Ring1.Material = "Neon" |
1544 | + | local PART = STUFF[1] |
1545 | - | Ring1.Size = Vector3.new(1, 0.05, 1) |
1545 | + | local PARENT = STUFF[2] |
1546 | - | Ring1.Transparency = 1 |
1546 | + | local MATERIAL = STUFF[3] |
1547 | - | Ring1.TopSurface = 0 |
1547 | + | local COLOR = STUFF[4] |
1548 | - | Ring1.BottomSurface = 0 |
1548 | + | local TRANSPARENCY = STUFF[5] |
1549 | - | local Ring1Mesh = Instance.new("SpecialMesh", Ring1) |
1549 | + | --local SIZE = STUFF[6] |
1550 | - | Ring1Mesh.MeshType = "Brick" |
1550 | + | local NAME = STUFF[7] |
1551 | - | Ring1Mesh.Name = "SizeMesh" |
1551 | + | local VALUE = STUFF[8] |
1552 | - | Ring1Mesh.Scale = Vector3.new(0, 1, 0) |
1552 | + | PART.Parent = PARENT |
1553 | - | local InnerRing1 = Ring1:Clone() |
1553 | + | |
1554 | - | InnerRing1.Parent = char |
1554 | + | |
1555 | - | InnerRing1.Transparency = 0 |
1555 | + | |
1556 | - | InnerRing1.BrickColor = BrickColor.new("New Yeller") |
1556 | + | FULLREGEN = false |
1557 | - | InnerRing1.Size = Vector3.new(1, 1, 1) |
1557 | + | Hum = IN("Humanoid",Char) |
1558 | - | local InnerRing1Mesh = InnerRing1.SizeMesh |
1558 | + | Hum.Died:Connect(FullBodyRegen) |
1559 | - | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) |
1559 | + | |
1560 | - | InnerRing1Mesh.MeshType = "Sphere" |
1560 | + | |
1561 | - | Ring1:Destroy() |
1561 | + | |
1562 | - | for i = 0, 5, 0.1 do |
1562 | + | Hum.Died:connect(FullBodyRegen) |
1563 | ||
1564 | - | 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) |
1564 | + | --// Attack Functions \\-- |
1565 | - | 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) |
1565 | + | |
1566 | - | 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) |
1566 | + | function Taunt() |
1567 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
1567 | + | Attack = true |
1568 | - | 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) |
1568 | + | NeutralAnims = false |
1569 | - | 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) |
1569 | + | local oWS = WalkSpeed |
1570 | - | 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) |
1570 | + | WalkSpeed = 8 |
1571 | - | 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) |
1571 | + | for i = 0, 6, 0.1 do |
1572 | - | root.CFrame = FaceMouse()[1] |
1572 | + | |
1573 | local Alpha = .1 | |
1574 | - | InnerRing1.Transparency = 1 |
1574 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1575 | - | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5 |
1575 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816116, 0.0216168761, 0.980170131, 7.27576055e-11, 0.198157549, -0.00124608271, 0.999980211, 0.006163646, -0.198153645, -0.00628834311, 0.980150878),Alpha) |
1576 | - | CreateSound("294188875", char, 2.3, 1) |
1576 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498538613, -0.990978837, 0.0154614588, 0.974127889, 7.27576055e-11, -0.225997537, 0.00142114982, 0.999980211, 0.0061256499, 0.225993097, -0.00628834311, 0.974108756),Alpha) |
1577 | - | local a = IT("Part", char) |
1577 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.21096981, 0.74825114, -0.289877862, 0.911424756, -0.398663461, 0.101844907, -0.377689809, -0.908785701, -0.177366614, 0.163264811, 0.123190522, -0.978861034),Alpha) |
1578 | - | a.Name = "Direction" |
1578 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.12800264, 0.737565041, -0.20420365, 0.897937059, 0.439862728, -0.0151603902, 0.423085958, -0.872155368, -0.245648772, -0.12127395, 0.214162976, -0.969240546),Alpha) |
1579 | - | a.Anchored = true |
1579 | + | NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) |
1580 | - | a.BrickColor = maincolor |
1580 | + | |
1581 | - | a.Material = "Neon" |
1581 | + | Sound(Torso,363808674,1.3,10,false,true,true) |
1582 | - | a.Transparency = 0 |
1582 | + | for i = 0, 3, 0.1 do |
1583 | - | a.Shape = "Cylinder" |
1583 | + | |
1584 | - | a.CanCollide = false |
1584 | + | local Alpha = 1 |
1585 | - | local a2 = IT("Part", char) |
1585 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1586 | - | a2.Name = "Direction" |
1586 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816116, 0.0216168761, 0.980170131, 7.27576055e-11, 0.198157549, -0.00124608271, 0.999980211, 0.006163646, -0.198153645, -0.00628834311, 0.980150878),Alpha) |
1587 | - | a2.Anchored = true |
1587 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498538822, -0.990978837, 0.0154605275, 0.974127889, 7.27576055e-11, -0.225997537, 0.00142114982, 0.999980211, 0.0061256499, 0.225993097, -0.00628834311, 0.974108756),Alpha) |
1588 | - | a2.BrickColor = maincolor |
1588 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.22952282, 0.929760218, 0.0582782328, 0.898733914, -0.247438282, 0.362010598, -0.419819236, -0.723916769, 0.547445357, 0.126606628, -0.643986762, -0.754487872),Alpha) |
1589 | - | a2.Color = maincolor.Color |
1589 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.00443649, 1.08148849, -0.22035557, 0.783190131, 0.597044468, 0.173641399, 0.566939712, -0.571022332, -0.593728125, -0.255329013, 0.563446164, -0.785707235),Alpha) |
1590 | - | a2.Material = "Neon" |
1590 | + | NK.C0 = clerp(NK.C0,CFrame.new(8.05407763e-06, 1.49894309, -0.0144012496, -0.0156119671, -0.0575570092, 0.998220086, -0.00628757617, 0.998327732, 0.0574648753, -0.999858439, -0.00537924562, -0.0159477536),Alpha) |
1591 | - | a2.Transparency = 0.5 |
1591 | + | |
1592 | - | a2.Shape = "Cylinder" |
1592 | + | Sound(Torso,363808674,1.15,10,false,true,true) |
1593 | - | a2.CanCollide = false |
1593 | + | for i = 0, 3, 0.1 do |
1594 | - | local ba = IT("Part", char) |
1594 | + | |
1595 | - | ba.Name = "HitDirect" |
1595 | + | local Alpha = .3 |
1596 | - | ba.Anchored = true |
1596 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1597 | - | ba.BrickColor = maincolor |
1597 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816116, 0.0216168761, 0.980170131, 7.27576055e-11, 0.198157549, -0.00124608271, 0.999980211, 0.006163646, -0.198153645, -0.00628834311, 0.980150878),Alpha) |
1598 | - | ba.Material = "Neon" |
1598 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498533249, -0.990978837, 0.0154592311, 0.974127889, 7.27576055e-11, -0.225997537, 0.00142114982, 0.999980211, 0.0061256499, 0.225993097, -0.00628834311, 0.974108756),Alpha) |
1599 | - | ba.Transparency = 1 |
1599 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.23011494, 0.825429916, -0.106563747, 0.895470679, -0.436958104, 0.0848518461, -0.313485146, -0.754420936, -0.576694131, 0.3160052, 0.48981297, -0.812541783),Alpha) |
1600 | - | ba.CanCollide = false |
1600 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.13026094, 0.666716635, -0.0574921668, 0.900917113, 0.433720857, -0.0153176785, 0.42869699, -0.883876204, 0.187034056, 0.0675816536, -0.175068855, -0.98223412),Alpha) |
1601 | - | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) |
1601 | + | NK.C0 = clerp(NK.C0,CFrame.new(1.10268593e-05, 1.49894726, -0.0144011229, 0.912795186, 0.0235101581, -0.407740325, 0.00256826938, 0.997991681, 0.0632933378, 0.408409536, -0.0588210449, 0.910901666),Alpha) |
1602 | - | local ignore = char |
1602 | + | |
1603 | - | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
1603 | + | WalkSpeed = oWS |
1604 | - | a.BottomSurface = 10 |
1604 | + | Attack = false |
1605 | - | a.TopSurface = 10 |
1605 | + | NeutralAnims = true |
1606 | - | a2.BottomSurface = 10 |
1606 | + | |
1607 | - | a2.TopSurface = 10 |
1607 | + | |
1608 | - | local distance = (InnerRing1.CFrame.p - position).magnitude |
1608 | + | function SnapAFaggotsNeck() |
1609 | - | a.Size = Vector3.new(distance, 1, 1) |
1609 | + | local whom = (Mouse.Target and Mouse.Target.Parent) |
1610 | - | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) |
1610 | + | local hum = (whom and whom:FindFirstChildOfClass'Humanoid') |
1611 | - | a2.Size = Vector3.new(distance, 1, 1) |
1611 | + | local hed = (whom and whom:FindFirstChild'Head') |
1612 | - | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) |
1612 | + | if(whom and hum and hed and hum.Health > 0)then |
1613 | - | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) |
1613 | + | Attack = true |
1614 | - | a.CFrame = a.CFrame * angles(0, Rad(90), 0) |
1614 | + | NeutralAnims = false |
1615 | - | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) |
1615 | + | |
1616 | - | game:GetService("Debris"):AddItem(a, 20) |
1616 | + | local oWS = WalkSpeed |
1617 | - | game:GetService("Debris"):AddItem(a2, 20) |
1617 | + | WalkSpeed = 8 |
1618 | - | game:GetService("Debris"):AddItem(ba, 20) |
1618 | + | for i = 0, 12, 0.1 do |
1619 | - | local msh = Instance.new("SpecialMesh", a) |
1619 | + | |
1620 | - | msh.MeshType = "Sphere" |
1620 | + | local Alpha = .1 |
1621 | - | msh.Scale = Vector3.new(1, 25, 25) |
1621 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1622 | - | local msh2 = Instance.new("SpecialMesh", a2) |
1622 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816116, 0.0216168761, 0.980170131, 7.27576055e-11, 0.198157549, -0.00124608271, 0.999980211, 0.006163646, -0.198153645, -0.00628834311, 0.980150878),Alpha) |
1623 | - | msh2.MeshType = "Sphere" |
1623 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498538613, -0.990978837, 0.0154614588, 0.974127889, 7.27576055e-11, -0.225997537, 0.00142114982, 0.999980211, 0.0061256499, 0.225993097, -0.00628834311, 0.974108756),Alpha) |
1624 | - | msh2.Scale = Vector3.new(1, 30, 30) |
1624 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.21096981, 0.74825114, -0.289877862, 0.911424756, -0.398663461, 0.101844907, -0.377689809, -0.908785701, -0.177366614, 0.163264811, 0.123190522, -0.978861034),Alpha) |
1625 | - | for i = 0, 10, 0.1 do |
1625 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.12800264, 0.737565041, -0.20420365, 0.897937059, 0.439862728, -0.0151603902, 0.423085958, -0.872155368, -0.245648772, -0.12127395, 0.214162976, -0.969240546),Alpha) |
1626 | NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
1627 | - | root.CFrame = FaceMouse()[1] |
1627 | + | |
1628 | - | hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1)) |
1628 | + | Sound(Torso,363808674,1.3,10,false,true,true) |
1629 | - | a2.Color = maincolor.Color |
1629 | + | NoobySphere(2,0,'Multiply',hed.CFrame,V3.N(1,1,1),.2,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'xyz') |
1630 | - | InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4 |
1630 | + | DealDamage{Who=whom,MaxHP=M.RNG(25,1e3),MinimumDamage=5,MaximumDamage=(M.RNG()*250)+5,DamageFX={DeathFunction=GrabANoobsSoul}} |
1631 | - | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) |
1631 | + | for i = 0, 6, 0.1 do |
1632 | - | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
1632 | + | |
1633 | - | distance = (InnerRing1.CFrame.p - position).magnitude |
1633 | + | local Alpha = 1 |
1634 | - | a.Size = Vector3.new(distance, 1, 1) |
1634 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1635 | - | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) |
1635 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816116, 0.0216168761, 0.980170131, 7.27576055e-11, 0.198157549, -0.00124608271, 0.999980211, 0.006163646, -0.198153645, -0.00628834311, 0.980150878),Alpha) |
1636 | - | a2.Size = Vector3.new(distance, 1, 1) |
1636 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498538822, -0.990978837, 0.0154605275, 0.974127889, 7.27576055e-11, -0.225997537, 0.00142114982, 0.999980211, 0.0061256499, 0.225993097, -0.00628834311, 0.974108756),Alpha) |
1637 | - | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) |
1637 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.22952282, 0.929760218, 0.0582782328, 0.898733914, -0.247438282, 0.362010598, -0.419819236, -0.723916769, 0.547445357, 0.126606628, -0.643986762, -0.754487872),Alpha) |
1638 | - | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) |
1638 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.00443649, 1.08148849, -0.22035557, 0.783190131, 0.597044468, 0.173641399, 0.566939712, -0.571022332, -0.593728125, -0.255329013, 0.563446164, -0.785707235),Alpha) |
1639 | - | a.CFrame = a.CFrame * angles(0, Rad(90), 0) |
1639 | + | NK.C0 = clerp(NK.C0,CFrame.new(8.05407763e-06, 1.49894309, -0.0144012496, -0.0156119671, -0.0575570092, 0.998220086, -0.00628757617, 0.998327732, 0.0574648753, -0.999858439, -0.00537924562, -0.0159477536),Alpha) |
1640 | - | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) |
1640 | + | |
1641 | - | msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25) |
1641 | + | NoobySphere(4,0,'Multiply',Torso.CFrame,V3.N(1,1,1),.3,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'xyz') |
1642 | - | msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3) |
1642 | + | Sound(Head,300208779,.8,10,false,true,true) |
1643 | - | 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) |
1643 | + | WalkSpeed = oWS |
1644 | - | 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) |
1644 | + | Attack = false |
1645 | - | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do |
1645 | + | NeutralAnims = true |
1646 | - | if v:FindFirstChild("Head") then |
1646 | + | |
1647 | - | Eviscerate(v) |
1647 | + | |
1648 | - | SoulSteal(v) |
1648 | + | |
1649 | function Wave() | |
1650 | Attack = true | |
1651 | NeutralAnims = false | |
1652 | - | a:Destroy() |
1652 | + | WalkSpeed = 0 |
1653 | - | a2:Destroy() |
1653 | + | for i = 0, 15, .1 do |
1654 | - | ba:Destroy() |
1654 | + | local Alpha = .1 |
1655 | - | InnerRing1:Destroy() |
1655 | + | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.15+.1*M.C(Sine/24),0)*CF.A(M.R(-25),0,0),Alpha) |
1656 | - | attack = false |
1656 | + | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) |
1657 | - | hum.CameraOffset = Vector3.new(0,0,0) |
1657 | + | if(M.RNG(1,45) == 45)then |
1658 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
1659 | - | function BURN_IN_HELL() |
1659 | + | |
1660 | - | attack = true |
1660 | + | if(not Glitching)then |
1661 | - | chatfunc("BURN....", BrickColor.random().Color) |
1661 | + | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(-5-5*M.C(Sine/24))),Alpha) |
1662 | - | for i = 0,5.2,0.1 do |
1662 | + | |
1663 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-10,10)),Alpha) | |
1664 | - | 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) |
1664 | + | |
1665 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1665 | + | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0)*CF.A(M.R(180),0,M.R(0+25*M.C(Sine/6))),Alpha) |
1666 | - | 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) |
1666 | + | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(-5)),Alpha) |
1667 | - | 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) |
1667 | + | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(5)),Alpha) |
1668 | - | 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) |
1668 | + | |
1669 | - | 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) |
1669 | + | |
1670 | WalkSpeed = 16 | |
1671 | - | chatfunc("IN....", BrickColor.random().Color) |
1671 | + | Attack = false |
1672 | - | wait(2) |
1672 | + | NeutralAnims = true |
1673 | - | CreateSound("331666100", char, 10, 1) |
1673 | + | |
1674 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
1674 | + | |
1675 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
1675 | + | function Boolets() |
1676 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
1676 | + | Attack = true |
1677 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
1677 | + | NeutralAnims = false |
1678 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) |
1678 | + | local oWS = WalkSpeed |
1679 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) |
1679 | + | WalkSpeed = 0 |
1680 | - | chatfunc("HELL!!!!!", BrickColor.random().Color) |
1680 | + | for i = 0, 1, 0.1 do |
1681 | - | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do |
1681 | + | |
1682 | - | if v:FindFirstChild("Head") then |
1682 | + | local Alpha = .3 |
1683 | - | Eviscerate(v) |
1683 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-4.68989847e-11, -1.07431245, 2.49501318e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1684 | - | SoulSteal(v) |
1684 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.506277919, 0.0234779716, -0.612002969, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) |
1685 | RH.C0 = clerp(RH.C0,CFrame.new(0.488053799, -1.43056154, -0.653246641, 0.999878109, -0.0152971046, 0.0031194177, -9.8173201e-05, 0.193645224, 0.981071711, -0.015611616, -0.980952501, 0.19362013),Alpha) | |
1686 | LS.C0 = clerp(LS.C0,CFrame.new(-0.405749947, 0.473833799, -0.493766844, 0.365731448, -0.921088159, -0.133555874, 0.13443999, 0.19427453, -0.971690953, 0.920959532, 0.337422758, 0.194883406),Alpha) | |
1687 | - | coroutine.resume(coroutine.create(function() |
1687 | + | RS.C0 = clerp(RS.C0,CFrame.new(0.949500263, 0.459093392, -0.375410318, 0.999878109, 0.0156117259, 7.85123193e-05, -9.8173201e-05, 0.0113163982, -0.999935985, -0.015611616, 0.999814153, 0.0113165528),Alpha) |
1688 | - | for i = 0,2.8,0.1 do |
1688 | + | NK.C0 = clerp(NK.C0,CFrame.new(1.00737707e-05, 1.49894547, -0.0144003704, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) |
1689 | end | |
1690 | - | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) |
1690 | + | for i = 1, 300 do |
1691 | NoobyBlock(2,-.3,'Multiply',RArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),0,C3.N(M.RNG(),M.RNG(),M.RNG()),25,true) | |
1692 | - | for i = 0,1.8,0.1 do |
1692 | + | |
1693 | end | |
1694 | - | hum.CameraOffset = Vector3.new(0,0,0) |
1694 | + | local origin = RArm.CFrame*CF.N(0,-1,0); |
1695 | local hit,pos,norm,dist = CastRay(origin.p,Mouse.Hit.p,750) | |
1696 | - | end)) |
1696 | + | local ray = Part(Effects,C3.N(M.RNG(),M.RNG(),M.RNG()),Enum.Material.Neon,V3.N(2,2,dist),CF.N(origin.p,pos)*CF.N(0,0,-dist/2),true,false) |
1697 | - | for i = 0,3.7,0.1 do |
1697 | + | NoobyBlock(3,0,'Multiply',CF.N(pos)*CF.A(M.RNG(0,360),M.RNG(0,360),M.RNG(0,360)),V3.N(4,4,4),-.1,C3.N(M.RNG(),M.RNG(),M.RNG()),0,true) |
1698 | - | 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) |
1698 | + | Mesh(ray,Enum.MeshType.Sphere) |
1699 | - | 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) |
1699 | + | for i = 1, 9 do |
1700 | - | 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) |
1700 | + | NoobySphere(1,.6,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,25),-0.05,C3.N(M.RNG(),M.RNG(),M.RNG()),0) |
1701 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1701 | + | NoobySphere(2,.6,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,25),-0.05,C3.N(M.RNG(),M.RNG(),M.RNG()),0) |
1702 | - | 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) |
1702 | + | |
1703 | - | 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) |
1703 | + | CamShakeAll(15,120,CF.N(pos)) |
1704 | - | 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) |
1704 | + | AOEDamage(pos,8,{MinimumDamage=100,MaximumDamage=500,MaxHP=0,DamageFX={DeathFunction=GrabANoobsSoul}}) |
1705 | - | 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) |
1705 | + | Sound(RArm,1202656211,.8,6,false,true,true) |
1706 | coroutine.wrap(function() | |
1707 | - | wait(.6) |
1707 | + | for i = 0, 1, .05 do |
1708 | - | CreateSound("907332997", hed, 10, 1) |
1708 | + | ray.Transparency = i |
1709 | - | attack = false |
1709 | + | |
1710 | end | |
1711 | - | ------------------------------------------------------- |
1711 | + | ray:destroy() |
1712 | - | --End Attacks N Stuff-- |
1712 | + | end)() |
1713 | - | ------------------------------------------------------- |
1713 | + | for i = 0, .7, 0.1 do |
1714 | - | mouse.KeyDown:connect(function(key) |
1714 | + | |
1715 | - | if attack == false then |
1715 | + | local Alpha = .3 |
1716 | - | if key == 'f' then |
1716 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-4.68989847e-11, -1.07431245, 2.49501318e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) |
1717 | - | Destruction() |
1717 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.506277919, 0.0234779716, -0.612002969, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) |
1718 | - | elseif key == 'r' then |
1718 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.488053799, -1.43056154, -0.653246641, 0.999878109, -0.0152971046, 0.0031194177, -9.8173201e-05, 0.193645224, 0.981071711, -0.015611616, -0.980952501, 0.19362013),Alpha) |
1719 | - | BURN_IN_HELL() |
1719 | + | LS.C0 = clerp(LS.C0,CFrame.new(-0.405749947, 0.473833799, -0.493766844, 0.365731448, -0.921088159, -0.133555874, 0.13443999, 0.19427453, -0.971690953, 0.920959532, 0.337422758, 0.194883406),Alpha) |
1720 | - | elseif key == 't' then |
1720 | + | RS.C0 = clerp(RS.C0,CFrame.new(0.949500263, 0.459093392, 0, 0.999878109, 0.0156117259, 7.85123193e-05, -9.8173201e-05, 0.0113163982, -0.999935985, -0.015611616, 0.999814153, 0.0113165528)*CF.A(M.R(25),0,0),Alpha) |
1721 | - | chatfunc("HM, HM, HAHAHAHAHAHA", BrickColor.random().Color) |
1721 | + | NK.C0 = clerp(NK.C0,CFrame.new(1.00737707e-05, 1.49894547, -0.0144003704, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) |
1722 | - | CreateSound("300208779", hed, 10, 1) |
1722 | + | |
1723 | for i = 0, 1, 0.1 do | |
1724 | swait() | |
1725 | local Alpha = .3 | |
1726 | RJ.C0 = clerp(RJ.C0,CFrame.new(-4.68989847e-11, -1.07431245, 2.49501318e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
1727 | LH.C0 = clerp(LH.C0,CFrame.new(-0.506277919, 0.0234779716, -0.612002969, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
1728 | RH.C0 = clerp(RH.C0,CFrame.new(0.488053799, -1.43056154, -0.653246641, 0.999878109, -0.0152971046, 0.0031194177, -9.8173201e-05, 0.193645224, 0.981071711, -0.015611616, -0.980952501, 0.19362013),Alpha) | |
1729 | LS.C0 = clerp(LS.C0,CFrame.new(-0.405749947, 0.473833799, -0.493766844, 0.365731448, -0.921088159, -0.133555874, 0.13443999, 0.19427453, -0.971690953, 0.920959532, 0.337422758, 0.194883406),Alpha) | |
1730 | RS.C0 = clerp(RS.C0,CFrame.new(0.949500263, 0.459093392, -0.375410318, 0.999878109, 0.0156117259, 7.85123193e-05, -9.8173201e-05, 0.0113163982, -0.999935985, -0.015611616, 0.999814153, 0.0113165528),Alpha) | |
1731 | NK.C0 = clerp(NK.C0,CFrame.new(1.00737707e-05, 1.49894547, -0.0144003704, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
1732 | - | ------------------------------------------------------- |
1732 | + | |
1733 | - | --Start Animations-- |
1733 | + | |
1734 | - | ------------------------------------------------------- |
1734 | + | WalkSpeed = oWS |
1735 | - | local equipped = false |
1735 | + | Attack = false |
1736 | - | local idle = 0 |
1736 | + | NeutralAnims = true |
1737 | - | local change = 1 |
1737 | + | |
1738 | - | local val = 0 |
1738 | + | |
1739 | - | local toim = 0 |
1739 | + | function EnderCrusher() |
1740 | - | local idleanim = 0.4 |
1740 | + | Attack = true |
1741 | - | hum.Animator.Parent = nil |
1741 | + | NeutralAnims = false |
1742 | for i = 0, 1, 0.1 do | |
1743 | swait() | |
1744 | - | for i, v in pairs(NeonParts) do |
1744 | + | local Alpha = .3 |
1745 | - | v.BrickColor = BrickColor.Random() |
1745 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00522388704, 0.00628674403, -0.00522619626, 0.0688143149, -0.00627302658, -0.997609854, 2.14558099e-06, 0.99998033, -0.00628778478, 0.997629464, 0.000430549087, 0.0688129738),Alpha) |
1746 | - | end |
1746 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.496492326, -0.990816116, 0.0216155611, 0.993310273, 0, 0.115476817, -0.000726110418, 0.99998033, 0.00624586828, -0.115474544, -0.00628793286, 0.993290722),Alpha) |
1747 | - | for i, v in pairs(NeonParts2) do |
1747 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498532742, -0.990978837, 0.0154617764, 0.994481444, 0, -0.104913011, 0.000659685873, 0.99998033, 0.00625323225, 0.10491094, -0.00628793286, 0.994461834),Alpha) |
1748 | - | v.BrickColor = BrickColor.Random() |
1748 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.21578574, 0.745456934, 0.0146782137, -0.572345138, 0.819864511, 0.0156007186, -0.819891989, -0.572483957, 0.00629093405, 0.014088871, -0.00919030979, 0.999858677),Alpha) |
1749 | - | end |
1749 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.46006393, 0.556873441, -0.0312470123, 0.974938631, -0.189474821, -0.116593234, 0.191492826, 0.981474221, 0.0062534851, 0.113248363, -0.0284235328, 0.993160248),Alpha) |
1750 | - | maincolor = BrickColor.Random() |
1750 | + | NK.C0 = clerp(NK.C0,CFrame.new(0.00563911209, 1.52473295, -0.109123379, 0.0523908362, 0.00942024402, 0.998582244, -0.183145523, 0.983085871, 0.000334712997, -0.981688976, -0.182903409, 0.0532299653),Alpha) |
1751 | - | Music.Parent = char |
1751 | + | |
1752 | - | tecks2.TextStrokeColor3 = maincolor.Color |
1752 | + | for i = 0, 1, 0.1 do |
1753 | - | sine = sine + change |
1753 | + | |
1754 | - | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude |
1754 | + | local Alpha = .3 |
1755 | - | local velderp = root.Velocity.y |
1755 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0205445699, 0.193036824, -0.986245275, 0.0668300614, -0.013895493, -0.997667611, 0.487526804, 0.872867286, 0.0205003377, 0.870546579, -0.487759739, 0.0651082024),Alpha) |
1756 | - | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) |
1756 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.653007567, -1.04005051, 0.0135816727, 0.875705957, 0.473324358, 0.0954113901, -0.468000621, 0.880668044, -0.0734798834, -0.118805602, 0.0196941663, 0.992722213),Alpha) |
1757 | - | if equipped == true or equipped == false then |
1757 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.572268248, -0.862032056, 0.0185812451, 0.875338256, 0.473323733, -0.0987298191, -0.472729653, 0.880668402, 0.0308205243, 0.101536319, 0.0196941309, 0.994636893),Alpha) |
1758 | - | if attack == false then |
1758 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.50244987, 0.677883029, 0.00128105097, 0.880246103, 0.474452406, 0.00785287656, -0.474386185, 0.879492998, 0.0380767621, 0.0111590661, -0.0372422226, 0.999243975),Alpha) |
1759 | - | idle = idle + 1 |
1759 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.46005797, 0.556865275, -0.0312457234, 0.974938869, -0.189474136, -0.116593227, 0.191492081, 0.98147428, 0.00625339895, 0.113248393, -0.0284233708, 0.993160188),Alpha) |
1760 | NK.C0 = clerp(NK.C0,CFrame.new(0.00564883649, 1.52473044, -0.109123766, 0.0523897149, 0.00942194462, 0.998582244, -0.183142692, 0.983086407, 0.000332683325, -0.981689572, -0.182900488, 0.0532291718),Alpha) | |
1761 | - | idle = 0 |
1761 | + | |
1762 | end | |
1763 | - | if 1 < root.Velocity.y and hitfloor == nil then |
1763 | + | |
1764 | - | Anim = "Jump" |
1764 | + | function BurnInHell() |
1765 | - | if attack == false then |
1765 | + | Attack = true |
1766 | - | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) |
1766 | + | NeutralAnims = false |
1767 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) |
1767 | + | local oWS = WalkSpeed |
1768 | - | 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) |
1768 | + | WalkSpeed = 0 |
1769 | - | 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) |
1769 | + | for i = 0, 4, 0.1 do |
1770 | - | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) |
1770 | + | |
1771 | - | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) |
1771 | + | local Alpha = .3 |
1772 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00485810312, 0.0316153169, 0.311138451, 0.999987781, 0.00486974791, -0.000811986625, -0.00487500243, 0.948008895, -0.318206728, -0.000779815018, 0.318206787, 0.948021114),Alpha) | |
1773 | - | elseif -1 > root.Velocity.y and hitfloor == nil then |
1773 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.510864973, -0.229482889, -0.90414387, 0.999878109, -0.00487500243, 0.014832234, -9.87363892e-05, 0.948008895, 0.31824407, -0.0156125315, -0.318206728, 0.947892845),Alpha) |
1774 | - | Anim = "Fall" |
1774 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498864055, -1.05720699, 0.0368085802, 0.999878109, -0.00487500243, 0.014832234, -9.87363892e-05, 0.948008895, 0.31824407, -0.0156125315, -0.318206728, 0.947892845),Alpha) |
1775 | - | if attack == false then |
1775 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.35505569, 0.670614362, -0.223142803, 0.959186316, 0.282539397, -0.0115337875, 0.200012222, -0.706719875, -0.678632736, -0.199891627, 0.648628354, -0.734387398),Alpha) |
1776 | - | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) |
1776 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.36051559, 0.693020046, -0.238958716, 0.964897394, -0.262373805, -0.0115305167, -0.200247049, -0.70659554, -0.678692877, 0.169923812, 0.657177925, -0.734331787),Alpha) |
1777 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) |
1777 | + | NK.C0 = clerp(NK.C0,CFrame.new(7.16691147e-06, 1.49894702, -0.0144103244, 1, -2.56579369e-07, -9.6578151e-07, 3.18512321e-07, 0.997964621, 0.0637722015, 9.47155058e-07, -0.0637722015, 0.997964621),Alpha) |
1778 | - | 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) |
1778 | + | |
1779 | - | 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) |
1779 | + | local hit,pos = CastRay(Root.CFrame.p,Root.CFrame*CF.N(0,-100,0).p,4) |
1780 | - | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) |
1780 | + | if(hit)then |
1781 | - | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) |
1781 | + | Sound(Root,331666100,1,10,false,true,true) |
1782 | NoobySphere(6,0,'Multiply',CF.N(pos),V3.N(25,.1,25),3,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'xz') | |
1783 | - | elseif torvel < 1 and hitfloor ~= nil then |
1783 | + | NoobySphere(6,0,'Multiply',CF.N(pos),V3.N(27,.1,27),3,C3.N(M.RNG(),M.RNG(),M.RNG()),0,20329976,'xyz') |
1784 | - | Anim = "Idle" |
1784 | + | CamShakeAll(25,480,CF.N(pos)) |
1785 | - | change = 1.9 |
1785 | + | AOEDamage(pos,100,{MinimumDamage=65,MaximumDamage=125,DamageFX={DeathFunction=GrabANoobsSoul}}) |
1786 | - | if attack == false then |
1786 | + | for i = 0, 6, 0.1 do |
1787 | - | 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) |
1787 | + | |
1788 | - | 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) |
1788 | + | local Alpha = .7 |
1789 | - | 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) |
1789 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00231076009, 0.00770531036, -0.147999823, 0.99999398, -0.00343433861, -0.00036024116, 0.00343199959, 0.976900637, 0.213666588, -0.000381881371, -0.213666543, 0.976906598),Alpha) |
1790 | - | 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) |
1790 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.507900298, -0.858686984, -0.710240602, 0.999878109, 0.00343199959, 0.0152302161, -9.81268749e-05, 0.976900637, -0.213694125, -0.015611805, 0.213666588, 0.976781964),Alpha) |
1791 | - | 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) |
1791 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.497379601, -1.00486779, -0.0586356819, 0.999878109, 0.00343199959, 0.0152302161, -9.81268749e-05, 0.976900637, -0.213694125, -0.015611805, 0.213666588, 0.976781964),Alpha) |
1792 | - | 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) |
1792 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.32998621, 0.381940007, -0.114178419, 0.976541102, -0.214856252, 0.0142948823, 0.202841416, 0.895589113, -0.395949066, 0.0722698048, 0.389560163, 0.918161273),Alpha) |
1793 | RS.C0 = clerp(RS.C0,CFrame.new(1.33391047, 0.313477397, -0.14020586, 0.964281619, 0.264514685, 0.0138949398, -0.230238646, 0.862955749, -0.4497751, -0.130962834, 0.4305107, 0.893033922),Alpha) | |
1794 | - | elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then |
1794 | + | NK.C0 = clerp(NK.C0,CFrame.new(9.53666768e-06, 1.49893439, -0.0143984929, 1, 0, -9.31322575e-10, 0, 0.99796474, 0.0637705624, 9.31322575e-10, -0.0637705922, 0.99796474),Alpha) |
1795 | - | Anim = "Walk" |
1795 | + | end |
1796 | - | change = 1 |
1796 | + | |
1797 | - | if attack == false then |
1797 | + | Sound(Head,907332997,1,5,false,true,true) |
1798 | - | 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) |
1798 | + | |
1799 | - | 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) |
1799 | + | WalkSpeed = oWS |
1800 | - | 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) |
1800 | + | Attack = false |
1801 | - | 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) |
1801 | + | NeutralAnims = true |
1802 | - | RW.C0 = clerp(RW.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)) - ra.RotVelocity.Y / 75), 0.1) |
1802 | + | |
1803 | - | 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) |
1803 | + | |
1804 | function Punch1() | |
1805 | Attack = true | |
1806 | NeutralAnims = false | |
1807 | - | if 0 < #Effects then |
1807 | + | for i = 0, 1, 0.1 do |
1808 | - | for e = 1, #Effects do |
1808 | + | |
1809 | - | if Effects[e] ~= nil then |
1809 | + | local Alpha = .3 |
1810 | - | local Thing = Effects[e] |
1810 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00303284684, -0.00845655054, 0.018393999, 0.829989552, -0.00170222612, -0.557776392, -0.0659508482, 0.992681146, -0.101166509, 0.553866267, 0.120752975, 0.82380271),Alpha) |
1811 | - | if Thing ~= nil then |
1811 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.498080581, -0.967759907, -0.0813563764, 0.999878287, 0.00258669257, 0.0153926909, -9.47788358e-05, 0.987160385, -0.159732834, -0.0156083405, 0.159711912, 0.987040341),Alpha) |
1812 | - | local Part = Thing[1] |
1812 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.551928759, -0.937464952, 0.0919702426, 0.997745395, -0.0659520403, 0.0124365687, 0.0643434152, 0.992680907, 0.102198936, -0.0190857947, -0.101168282, 0.994686365),Alpha) |
1813 | - | local Mode = Thing[2] |
1813 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.19935811, 0.247517601, 0.102068216, 0.862561703, -0.47241962, -0.181127191, 0.5056777, 0.793171406, 0.339366257, -0.0166583657, -0.384316325, 0.923051357),Alpha) |
1814 | - | local Delay = Thing[3] |
1814 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.36349249, 0.481498182, 0.454916179, 0.961948335, -0.273231745, 2.82377005e-06, 0.00172190368, 0.00605178624, -0.999980271, 0.273226321, 0.961929321, 0.00629197806),Alpha) |
1815 | - | local IncX = Thing[4] |
1815 | + | NK.C0 = clerp(NK.C0,CFrame.new(5.7220459e-06, 1.59853172, -0.197701856, 0.8530972, 0.111252025, -0.509753108, 0.0332853794, 0.963407874, 0.265965462, 0.520689368, -0.24386172, 0.818177402),Alpha) |
1816 | - | local IncY = Thing[5] |
1816 | + | |
1817 | - | local IncZ = Thing[6] |
1817 | + | Sound(RArm,138097048,.8,5,false,true,true) |
1818 | - | if 1 >= Thing[1].Transparency then |
1818 | + | CamShake(Char,10,20) |
1819 | - | if Thing[2] == "Block1" then |
1819 | + | for i = 0, 1, 0.1 do |
1820 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
1820 | + | |
1821 | - | local Mesh = Thing[1].Mesh |
1821 | + | AOEDamage(Hitbox.CFrame.p,1,{BreakGlass=true,MinimumDamage=25,MaximumDamage=45,DamageFX={DeathFunction=GrabANoobsSoul}}) |
1822 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1822 | + | local Alpha = .3 |
1823 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1823 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(0.221829414, -0.041221004, -0.167406395, 0.655658543, -0.0240739044, 0.7546736, -0.126397654, 0.981888115, 0.141135931, -0.744402826, -0.187925935, 0.640740454),Alpha) |
1824 | - | elseif Thing[2] == "Block2" then |
1824 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.38520214, -0.664491296, -0.834472895, 0.959806442, 0.145656854, -0.239907712, -0.00527707487, 0.864004254, 0.503456831, 0.280613184, -0.481955111, 0.830045581),Alpha) |
1825 | - | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) |
1825 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.541060686, -0.867475212, -0.0686345175, 0.300405502, -0.230044976, -0.925654411, 0.0495565683, 0.972932756, -0.225711957, 0.952523351, 0.0219328459, 0.303674638),Alpha) |
1826 | - | local Mesh = Thing[7] |
1826 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.19936907, 0.247526154, 0.10210143, 0.862560809, -0.472424746, -0.181118309, 0.505679011, 0.793172836, 0.339360535, -0.016664207, -0.384306818, 0.923055112),Alpha) |
1827 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1827 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.32535827, 0.626296461, -0.365535617, 0.667200208, -0.734076262, 0.126396075, -0.0211371183, -0.188276812, -0.981888533, 0.744578481, 0.652444601, -0.14113459),Alpha) |
1828 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1828 | + | NK.C0 = clerp(NK.C0,CFrame.new(0.109995492, 1.54714108, -0.197692186, 0.891068459, 0.111260638, -0.44002074, 0.0119341798, 0.963409364, 0.267768592, 0.453712255, -0.243851393, 0.857135892),Alpha) |
1829 | - | elseif Thing[2] == "Block3" then |
1829 | + | |
1830 | - | 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) |
1830 | + | NoobySphere(2,0,'Multiply',RArm.CFrame*CF.N(0,-1.25,0),V3.N(1,1,1),.02,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'xyz') |
1831 | - | local Mesh = Thing[7] |
1831 | + | CliccAttack = 1 |
1832 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1832 | + | Attack = false |
1833 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1833 | + | NeutralAnims = true |
1834 | - | elseif Thing[2] == "Cylinder" then |
1834 | + | |
1835 | - | local Mesh = Thing[1].Mesh |
1835 | + | |
1836 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1836 | + | function Punch2() |
1837 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1837 | + | Attack = true |
1838 | - | elseif Thing[2] == "Blood" then |
1838 | + | NeutralAnims = false |
1839 | - | local Mesh = Thing[7] |
1839 | + | for i = 0, 1, 0.1 do |
1840 | - | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) |
1840 | + | |
1841 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1841 | + | local Alpha = .3 |
1842 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1842 | + | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00346098561, 0.00628894754, -0.0012467528, 0.726998925, 0.0043156785, 0.686625063, -1.47682942e-06, 0.99998033, -0.00628366228, -0.686638534, 0.00456720171, 0.72698462),Alpha) |
1843 | - | elseif Thing[2] == "Elec" then |
1843 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.526590466, -0.738100231, -0.162178785, 0.998713851, 0.0483061969, 0.015406251, -0.0501749068, 0.985334337, 0.163092062, -0.00730189681, -0.163655281, 0.986490667),Alpha) |
1844 | - | local Mesh = Thing[1].Mesh |
1844 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498546928, -0.990978956, 0.0154537652, 0.737630069, 0, -0.675205052, 0.00424381625, 0.99998033, 0.00463617174, 0.67519176, -0.00628522551, 0.737615526),Alpha) |
1845 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) |
1845 | + | LS.C0 = clerp(LS.C0,CFrame.new(-1.39983284, 0.47202, 0.441156834, 0.974284291, 0.225321591, 0.000400889665, -0.006716704, 0.0308211353, -0.99950248, -0.225221843, 0.973796844, 0.0315419659),Alpha) |
1846 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1846 | + | RS.C0 = clerp(RS.C0,CFrame.new(1.12138152, 0.390171707, 0.100771606, 0.894619286, 0.425640225, -0.135966122, -0.326698512, 0.830674589, 0.450830519, 0.3048352, -0.358901739, 0.882193387),Alpha) |
1847 | - | elseif Thing[2] == "Disappear" then |
1847 | + | NK.C0 = clerp(NK.C0,CFrame.new(7.91251659e-06, 1.49894547, -0.0143923312, 0.911271095, -0.0442877896, 0.409418523, -0.0262595415, 0.985927641, 0.165097922, -0.41096884, -0.161200091, 0.897284389),Alpha) |
1848 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1848 | + | |
1849 | - | elseif Thing[2] == "Shatter" then |
1849 | + | Sound(LArm,138097048,.85,5,false,true,true) |
1850 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1850 | + | CamShake(Char,10,20) |
1851 | - | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) |
1851 | + | for i = 0, 1, 0.1 do |
1852 | - | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) |
1852 | + | |
1853 | - | Thing[6] = Thing[6] + Thing[5] |
1853 | + | AOEDamage(Hitbox2.CFrame.p,1,{BreakGlass=true,MinimumDamage=25,MaximumDamage=45,DamageFX={DeathFunction=GrabANoobsSoul}}) |
1854 | local Alpha = .3 | |
1855 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.136174262, 0.00628654659, -0.0922046751, 0.677523315, -0.00462364964, -0.735486805, 1.58175465e-06, 0.99998033, -0.0062849354, 0.735501349, 0.00425702613, 0.677509904),Alpha) | |
1856 | - | Part.Parent = nil |
1856 | + | LH.C0 = clerp(LH.C0,CFrame.new(-0.526590168, -0.738105536, -0.162170187, 0.998713851, 0.0483057015, 0.015409112, -0.050174918, 0.985334039, 0.163093939, -0.00730475783, -0.163657293, 0.98649025),Alpha) |
1857 | - | table.remove(Effects, e) |
1857 | + | RH.C0 = clerp(RH.C0,CFrame.new(0.498551786, -0.990978837, 0.0154557731, 0.73763144, 0, -0.675203681, 0.00424459483, 0.99998033, 0.0046370402, 0.67519033, -0.00628639245, 0.737616837),Alpha) |
1858 | LS.C0 = clerp(LS.C0,CFrame.new(-1.25003541, 0.491848499, -0.0866259038, 0.787719667, 0.616033971, 0.000401966274, -0.0191161502, 0.025095908, -0.999502361, -0.615737379, 0.787319839, 0.0315447338),Alpha) | |
1859 | RS.C0 = clerp(RS.C0,CFrame.new(1.1213876, 0.39017421, 0.100768551, 0.894620538, 0.425638735, -0.135962933, -0.326698095, 0.83067435, 0.450831085, 0.304832101, -0.358903915, 0.882193565),Alpha) | |
1860 | NK.C0 = clerp(NK.C0,CFrame.new(4.991889e-06, 1.49894702, -0.0143903494, 0.742484093, -0.0442790203, 0.668398857, -0.0754856765, 0.985926628, 0.149166599, -0.665597081, -0.161208332, 0.728692353),Alpha) | |
1861 | end | |
1862 | NoobySphere(2,0,'Multiply',LArm.CFrame*CF.N(0,-1.25,0),V3.N(1,1,1),.02,C3.N(M.RNG(),M.RNG(),M.RNG()),0,nil,'xyz') | |
1863 | ||
1864 | - | ------------------------------------------------------- |
1864 | + | CliccAttack = 2 |
1865 | - | --End Animations And Script-- |
1865 | + | Attack = false |
1866 | - | ------------------------------------------------------- |
1866 | + | NeutralAnims = true |
1867 | end | |
1868 | ||
1869 | function Balls() | |
1870 | Attack = true | |
1871 | NeutralAnims = false | |
1872 | local col = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
1873 | ||
1874 | for i = 0, .7, 0.1 do | |
1875 | swait() | |
1876 | local Alpha = .3 | |
1877 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00215275097, 0.00629182765, -0.00059090578, 0.900342047, -0.00273694564, -0.435174465, 9.35837932e-07, 0.999980211, -0.00628724555, 0.435183108, 0.00566026382, 0.900324225),Alpha) | |
1878 | LH.C0 = clerp(LH.C0,CFrame.new(-0.469716221, -1.06538355, 0.0258644074, 0.974693179, 0.142052263, 0.172611207, -0.143726677, 0.989613414, -0.00282384129, -0.171219468, -0.0220564567, 0.984986067),Alpha) | |
1879 | RH.C0 = clerp(RH.C0,CFrame.new(0.498543769, -0.990978837, 0.0154537726, 0.982019305, 0, 0.188781217, -0.00118727924, 0.999980211, 0.00617609732, -0.188777432, -0.00628918223, 0.981999874),Alpha) | |
1880 | LS.C0 = clerp(LS.C0,CFrame.new(-1.46611869, 0.607237041, 0.019460775, 0.975984871, 0.217278525, 0.01561445, -0.217396572, 0.976063132, 0.0062906472, -0.0138738751, -0.00953410566, 0.999858379),Alpha) | |
1881 | RS.C0 = clerp(RS.C0,CFrame.new(1.21949148, 0.508351624, 0.358449012, 0.860025883, -0.505158067, 0.0719099715, 0.0637161881, -0.0335059837, -0.99740541, 0.506256819, 0.862376273, 0.00337073021),Alpha) | |
1882 | NK.C0 = clerp(NK.C0,CFrame.new(7.62939544e-06, 1.49894273, -0.0144160762, 1.00000012, 0, 0, 0, 0.99796468, 0.0637711138, 0, -0.0637711212, 0.997964621),Alpha) | |
1883 | end | |
1884 | Sound(LArm,138097048,.8,5,false,true,true) | |
1885 | for i = 0, .7, 0.1 do | |
1886 | swait() | |
1887 | local Alpha = .3 | |
1888 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.189023629, 0.00628119428, 0.0795610398, 0.764717221, 0.00405249046, 0.64435333, -1.38591895e-06, 0.99998033, -0.00628746813, -0.644366086, 0.00480724219, 0.764702141),Alpha) | |
1889 | LH.C0 = clerp(LH.C0,CFrame.new(-0.469702303, -1.06538916, 0.0258520916, 0.921251655, 0.142055079, 0.362099022, -0.140328288, 0.989613056, -0.0312121194, -0.362771749, -0.0220585242, 0.931616962),Alpha) | |
1890 | RH.C0 = clerp(RH.C0,CFrame.new(0.49855575, -0.990978956, 0.0154509144, 0.971297801, 0, -0.237866998, 0.00149597228, 0.99998033, 0.00610860158, 0.237862319, -0.00628911238, 0.971278608),Alpha) | |
1891 | LS.C0 = clerp(LS.C0,CFrame.new(-1.45857167, 0.644691706, -0.0370098501, 0.975984752, 0.212625384, -0.0473736525, -0.217396557, 0.936839819, -0.27398926, -0.0138756037, 0.277708232, 0.960565329),Alpha) | |
1892 | RS.C0 = clerp(RS.C0,CFrame.new(1.20919418, 0.515175998, -0.398130298, 0.808712423, -0.588204265, 0, 0.00369928288, 0.00508608343, -0.99998033, 0.588192701, 0.808696389, 0.00628911238),Alpha) | |
1893 | NK.C0 = clerp(NK.C0,CFrame.new(1.44699588e-05, 1.49894357, -0.0144186728, 0.921718836, 0, -0.387858808, 0.00243928749, 0.99998033, 0.00579679385, 0.387851059, -0.00628911238, 0.921700656),Alpha) | |
1894 | end | |
1895 | SoundPart(206083252,.8,4,false,true,true,RArm.CFrame*CF.N(0,-1.25,0)) | |
1896 | CamShake(Char,25,45,RArm.CFrame*CF.N(0,-1.25,0)) | |
1897 | AOEDamage(RArm.CFrame*CF.N(0,-1.25,0).p,4,{MinimumDamage=35,MaximumDamage=65,DamageFX={DeathFunction=GrabANoobsSoul}}) | |
1898 | for i = 1, 10 do | |
1899 | NoobySphere(2,.1,'Multiply',RArm.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1.5,1.5,1.5),-.01,col,0,nil,'xyz') | |
1900 | end | |
1901 | NoobySphere(2,0,'Multiply',RArm.CFrame*CF.N(0,-1.25,0),V3.N(2,2,2),.02,col,0,nil,'xyz') | |
1902 | NoobySphere(4,0,'Multiply',RArm.CFrame*CF.N(0,-1.25,0),V3.N(2,2,2),.1,col,0,nil,'xyz') | |
1903 | NoobySphere(2,0,'Multiply',RArm.CFrame*CF.N(0,-1.25,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2.5,1.25,2.5),.02,col,0,1058822174,'xyz') | |
1904 | CliccAttack = 3 | |
1905 | Attack = false | |
1906 | NeutralAnims = true | |
1907 | end | |
1908 | ||
1909 | function Spin() | |
1910 | Attack = true | |
1911 | NeutralAnims = false | |
1912 | for i = 0, 1, 0.1 do | |
1913 | swait() | |
1914 | local Alpha = .3 | |
1915 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.130551443, 0.00628537219, -0.069158569, 0.567979217, 0.00517133344, 0.823026657, -1.77017421e-06, 0.99998033, -0.00628196634, -0.823042929, 0.00356656965, 0.567967951),Alpha) | |
1916 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496484399, -0.990816236, 0.021614084, 0.999878287, 0, 0.015612185, -9.80941113e-05, 0.99998033, 0.00628242362, -0.0156118274, -0.00628318777, 0.999858499),Alpha) | |
1917 | RH.C0 = clerp(RH.C0,CFrame.new(0.498544514, -0.990978956, 0.0154505149, 0.999878287, 0, 0.015612185, -9.80941113e-05, 0.99998033, 0.00628242362, -0.0156118274, -0.00628318777, 0.999858499),Alpha) | |
1918 | LS.C0 = clerp(LS.C0,CFrame.new(-0.867346704, 0.364127517, -0.592892349, 0.343383282, -0.928154707, 0.143585742, 0.611392558, 0.104853727, -0.784350157, 0.7129426, 0.357119888, 0.603471875),Alpha) | |
1919 | RS.C0 = clerp(RS.C0,CFrame.new(0.586915255, 0.520536065, -0.638412833, 0.340278387, 0.762223601, 0.550659537, 0.0388735868, 0.573702097, -0.818141103, -0.939520955, 0.299801826, 0.165588096),Alpha) | |
1920 | NK.C0 = clerp(NK.C0,CFrame.new(4.76837204e-06, 1.49894536, -0.0143966526, 1.00000012, 0, 0, -2.32830644e-10, 0.997965157, 0.0637637973, 2.98023224e-08, -0.0637638047, 0.997965038),Alpha) | |
1921 | end | |
1922 | for i = 0, 1, .06 do | |
1923 | swait() | |
1924 | local col = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
1925 | for i = 1, 3 do | |
1926 | NoobySphere(5,.1,'Multiply',Torso.CFrame*CF.N(-8,0,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),-.01,col,0,nil,'xyz') | |
1927 | end | |
1928 | SoundPart(206083252,1.2,1.6,false,true,true,Torso.CFrame*CF.N(-8,0,0)) | |
1929 | NoobySphere(5,0,'Multiply',Torso.CFrame*CF.N(-8,0,0),V3.N(1.5,1.5,1.5),.02,col,0,nil,'xyz') | |
1930 | AOEDamage(Torso.CFrame*CF.N(-8,0,0).p,3,{MinimumDamage=35,MaximumDamage=65,DamageFX={DeathFunction=GrabANoobsSoul}}) | |
1931 | local Alpha = 1 | |
1932 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(0,M.R(i*385),0),Alpha) | |
1933 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990818024, 0.0216199681, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
1934 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990980625, 0.0154640935, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
1935 | LS.C0 = clerp(LS.C0,CFrame.new(-1.452793, 0.502107382, 0.0199129172, -4.37788152e-08, 0.999878109, 0.0156119233, -0.999980211, -9.82169149e-05, 0.00628757617, 0.00628834357, -0.015611616, 0.999858439),Alpha) | |
1936 | RS.C0 = clerp(RS.C0,CFrame.new(1.42737567, 0.494466186, -0.0250103828, -4.36333032e-08, -0.999878109, 0.0156119233, 0.999980211, 9.8129487e-05, 0.00628757617, -0.00628834264, 0.015611616, 0.999858439),Alpha) | |
1937 | NK.C0 = clerp(NK.C0,CFrame.new(4.35172615e-06, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
1938 | end | |
1939 | for i = 0, 1.2, 0.1 do | |
1940 | swait() | |
1941 | local Alpha = .3 | |
1942 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.427243918, -0.920417011, 0.0234051645, 0.679439783, 0.549923182, -0.485742748, -0.444893807, 0.83520782, 0.323260784, 0.583464742, -0.00353231793, 0.812130868)*CF.A(0,M.R(-8.22),0),Alpha) | |
1943 | LH.C0 = clerp(LH.C0,CFrame.new(-0.176611602, -0.983374894, -0.89919436, 0.920897245, -0.048158884, -0.386819303, 0.319696367, 0.661085546, 0.678793311, 0.223030806, -0.748763561, 0.624187946),Alpha) | |
1944 | RH.C0 = clerp(RH.C0,CFrame.new(0.359278589, 0.0876072049, -0.182106972, 0.910182238, -0.403486162, 0.0936347246, 0.411501646, 0.855026662, -0.315588117, 0.047275275, 0.325773478, 0.944265127),Alpha) | |
1945 | LS.C0 = clerp(LS.C0,CFrame.new(-1.31082213, 0.463033974, 0.0179460477, 0.925886035, 0.377480268, 0.0156087875, -0.37760976, 0.925943553, 0.00628813449, -0.0120791793, -0.0117161274, 0.999858379),Alpha) | |
1946 | RS.C0 = clerp(RS.C0,CFrame.new(1.46370375, 0.0682249963, -0.0286035687, 0.883351564, -0.45030269, 0.130067378, 0.468411744, 0.858031332, -0.210648447, -0.0167463124, 0.247001737, 0.968870401),Alpha) | |
1947 | NK.C0 = clerp(NK.C0,CFrame.new(2.31595841e-05, 1.49894369, -0.0143923387, 0.980648994, -0.195774525, -3.27825546e-07, 0.195376158, 0.978653729, 0.0637584627, -0.0124819279, -0.0625247359, 0.997965455),Alpha) | |
1948 | end | |
1949 | CliccAttack = 0 | |
1950 | Attack = false | |
1951 | NeutralAnims = true | |
1952 | end | |
1953 | ||
1954 | --// Wrap it all up \\-- | |
1955 | ||
1956 | local Playlist = { | |
1957 | MusicID, | |
1958 | 1696854181, | |
1959 | 1259371424, | |
1960 | 1274310715, | |
1961 | 943961217, | |
1962 | 206425245, | |
1963 | 623662713, | |
1964 | 1547875818, | |
1965 | 1470848774, | |
1966 | 915169951 | |
1967 | } | |
1968 | local nums = {Enum.KeyCode.One,Enum.KeyCode.Two,Enum.KeyCode.Three,Enum.KeyCode.Four,Enum.KeyCode.Five,Enum.KeyCode.Six,Enum.KeyCode.Seven,Enum.KeyCode.Eight,Enum.KeyCode.Nine,Enum.KeyCode.Zero} | |
1969 | ||
1970 | function KeyToNum(kc) | |
1971 | for i,v in next, nums do | |
1972 | if(v == kc)then | |
1973 | return i | |
1974 | end | |
1975 | end | |
1976 | return 0 | |
1977 | end | |
1978 | ||
1979 | S.UserInputService.InputBegan:connect(function(io,gpe) | |
1980 | if(gpe)then return end | |
1981 | local num = KeyToNum(io.KeyCode) | |
1982 | if(num and Playlist[num])then | |
1983 | MusicID = Playlist[num] | |
1984 | end | |
1985 | if(io.KeyCode == Enum.KeyCode.M)then | |
1986 | MusicParent = (MusicParent == miniRadio and PlrGui or miniRadio) | |
1987 | warn("Music is now in "..MusicParent.Name) | |
1988 | Music:Pause() | |
1989 | end | |
1990 | if(Attack)then return end | |
1991 | if(io.KeyCode == Enum.KeyCode.LeftControl)then | |
1992 | WalkSpeed = (WalkSpeed == 16 and 50 or 16) | |
1993 | elseif(io.KeyCode == Enum.KeyCode.T)then | |
1994 | Taunt() | |
1995 | elseif(io.KeyCode == Enum.KeyCode.Z)then | |
1996 | Boolets() | |
1997 | elseif(io.KeyCode == Enum.KeyCode.X)then | |
1998 | BurnInHell() | |
1999 | elseif(io.KeyCode == Enum.KeyCode.C)then | |
2000 | SnapAFaggotsNeck() | |
2001 | end | |
2002 | ||
2003 | end) | |
2004 | ||
2005 | Mouse.Button1Down:connect(function() | |
2006 | if(Attack)then return end | |
2007 | if(CliccAttack == 0)then | |
2008 | Punch1() | |
2009 | elseif(CliccAttack == 1)then | |
2010 | Punch2() | |
2011 | elseif(CliccAttack == 2)then | |
2012 | Balls() | |
2013 | elseif(CliccAttack == 3)then | |
2014 | Spin() | |
2015 | end | |
2016 | end) | |
2017 | ||
2018 | Plr.Chatted:connect(function(m) | |
2019 | if(Attack)then return end | |
2020 | if(m == '/e wave')then | |
2021 | Wave() | |
2022 | end | |
2023 | end) | |
2024 | ||
2025 | local col = { | |
2026 | RLeg.Color, | |
2027 | LLeg.Color, | |
2028 | RArm.Color, | |
2029 | LArm.Color, | |
2030 | Head.Color, | |
2031 | Torso.Color | |
2032 | } | |
2033 | ||
2034 | local Nametags = {"EnDeR","ender","3ND37","3nd37","end3r","end37","3nder","3nde7","ENDer","eNDER","eNder","enDer","endEr","endeR","H3LP"} | |
2035 | coroutine.wrap(function() | |
2036 | while true do | |
2037 | if(M.RNG(1,200) == 1 and not Glitching)then | |
2038 | Glitching = true | |
2039 | swait(M.RNG(15,30)) | |
2040 | Glitching = false | |
2041 | end | |
2042 | swait() | |
2043 | end | |
2044 | end)() | |
2045 | ||
2046 | local Meshes = {} | |
2047 | ||
2048 | for _,v in next, Char:GetDescendants() do | |
2049 | if(v:IsA'DataModelMesh')then | |
2050 | table.insert(Meshes,v) | |
2051 | end | |
2052 | end | |
2053 | ||
2054 | while true do | |
2055 | swait() | |
2056 | Sine = Sine + Change | |
2057 | if(not Music or not Music.Parent)then | |
2058 | local tp = (Music and Music.TimePosition) | |
2059 | Music = Sound(MusicParent,MusicID,1,10,true,false,true) | |
2060 | Music.Name = 'Music' | |
2061 | Music.TimePosition = tp | |
2062 | end | |
2063 | -- | |
2064 | Music.SoundId = "rbxassetid://"..MusicID | |
2065 | Music.Parent = MusicParent | |
2066 | Music.Pitch = .85 | |
2067 | Music.Volume = (MusicParent ~= PlrGui and Plr.UserId ~= 5719877 and 1 or 5) | |
2068 | Music.Playing = not Glitching | |
2069 | ||
2070 | if(not Static or not Static.Parent)then | |
2071 | local tp = (Static and Static.TimePosition) | |
2072 | Static = Sound(Torso,MusicID,1,10,true,false,true) | |
2073 | Static.Name = 'Music' | |
2074 | Static.TimePosition = tp | |
2075 | end | |
2076 | Static.SoundId = "rbxassetid://1588058260" | |
2077 | Static.Parent = Torso | |
2078 | Static.Pitch = M.RNG(90,95)/100 | |
2079 | Static.Volume = 5 | |
2080 | ||
2081 | miniRadio.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2082 | if(God)then | |
2083 | Hum.MaxHealth = 1e100 | |
2084 | Hum.Health = 1e100 | |
2085 | if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end | |
2086 | Hum.Name = M.RNG()*100 | |
2087 | end | |
2088 | ||
2089 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char) | |
2090 | ||
2091 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2092 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle") | |
2093 | if(not Effects or not Effects.Parent)then | |
2094 | Effects = IN("Model",Char) | |
2095 | Effects.Name = "Effects" | |
2096 | end | |
2097 | if(State == 'Run')then | |
2098 | local wsVal = 16 / (Hum.WalkSpeed/16) | |
2099 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2100 | Change = 1 | |
2101 | RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25-15*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha) | |
2102 | LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25+15*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha) | |
2103 | elseif(State == 'Walk')then | |
2104 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2105 | local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1) | |
2106 | Change = 1 | |
2107 | RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15-5*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha) | |
2108 | LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15+5*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha) | |
2109 | else | |
2110 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2) | |
2111 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2) | |
2112 | end | |
2113 | ||
2114 | mota1.C0 = mota1.C0:lerp(CF.A(0,M.RRNG(-180,180),M.R(90)),.2) | |
2115 | ||
2116 | Hum.WalkSpeed = WalkSpeed | |
2117 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
2118 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
2119 | ||
2120 | for _,v in next, NeonParts do | |
2121 | v.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2122 | end | |
2123 | ||
2124 | tecks2.TextStrokeColor3 = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2125 | if(Glitching)then | |
2126 | Static:Resume() | |
2127 | Music:Pause() | |
2128 | RA.Parent = RArm | |
2129 | LA.Parent = LArm | |
2130 | FT.Parent = Torso | |
2131 | RL.Parent = RLeg | |
2132 | LL.Parent = LLeg | |
2133 | for _,v in next, Meshes do | |
2134 | v.Offset = V3.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100) | |
2135 | end | |
2136 | tecks2.Text = Nametags[M.RNG(1,#Nametags)].."?" | |
2137 | RLeg.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2138 | LLeg.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2139 | RArm.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2140 | LArm.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2141 | Torso.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2142 | Head.Color = C3.N(M.RNG(),M.RNG(),M.RNG()) | |
2143 | ||
2144 | RLeg.Material = Enum.Material.Neon | |
2145 | LLeg.Material = Enum.Material.Neon | |
2146 | RArm.Material = Enum.Material.Neon | |
2147 | LArm.Material = Enum.Material.Neon | |
2148 | Torso.Material = Enum.Material.Neon | |
2149 | Head.Material = Enum.Material.Neon | |
2150 | else | |
2151 | for _,v in next, Meshes do | |
2152 | v.Offset = V3.N(0,0,0) | |
2153 | end | |
2154 | Static:Stop() | |
2155 | Music:Resume() | |
2156 | RA.Parent = nil | |
2157 | LA.Parent = nil | |
2158 | FT.Parent = nil | |
2159 | RL.Parent = nil | |
2160 | LL.Parent = nil | |
2161 | tecks2.Text = "Ender?" | |
2162 | RLeg.Color = col[1] | |
2163 | LLeg.Color = col[2] | |
2164 | RArm.Color = col[3] | |
2165 | LArm.Color = col[4] | |
2166 | Head.Color = col[5] | |
2167 | Torso.Color = col[6] | |
2168 | RLeg.Material = Enum.Material.SmoothPlastic | |
2169 | LLeg.Material = Enum.Material.SmoothPlastic | |
2170 | RArm.Material = Enum.Material.SmoothPlastic | |
2171 | LArm.Material = Enum.Material.SmoothPlastic | |
2172 | Torso.Material = Enum.Material.SmoothPlastic | |
2173 | Head.Material = Enum.Material.SmoothPlastic | |
2174 | end | |
2175 | if(NeutralAnims)then | |
2176 | if(State == 'Idle')then | |
2177 | local Alpha = .1 | |
2178 | Change = 1 | |
2179 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3) | |
2180 | if(M.RNG(1,45) == 45)then | |
2181 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
2182 | end | |
2183 | if(not Glitching)then | |
2184 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.15+.1*M.C(Sine/24),0)*CF.A(M.R(-25),0,0),Alpha) | |
2185 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(-5-5*M.C(Sine/24))),Alpha) | |
2186 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(5+5*M.C(Sine/24))),Alpha) | |
2187 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(-5)),Alpha) | |
2188 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(25),0,M.R(5)),Alpha) | |
2189 | else | |
2190 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1) | |
2191 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-10,10)),1) | |
2192 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-10,10)),1) | |
2193 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1) | |
2194 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1) | |
2195 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-10,10),0),.1) | |
2196 | end | |
2197 | -- idle | |
2198 | elseif(State == 'Run')then | |
2199 | local wsVal = 16 / (Hum.WalkSpeed/16) | |
2200 | local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1) | |
2201 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3) | |
2202 | if(M.RNG(1,45) == 45)then | |
2203 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
2204 | end | |
2205 | RJ.C0 = RJ.C0:lerp(CF.N(0,-.075+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-25-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha) | |
2206 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(75*M.C(Sine/wsVal)),0,M.R(-5-7*M.S(Sine/wsVal))+LArm.RotVelocity.y/35),Alpha) | |
2207 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.27*M.C(Sine/wsVal))*CF.A(M.R(-75*M.C(Sine/wsVal)),0,M.R(5+7*M.S(Sine/wsVal))+RArm.RotVelocity.y/35),Alpha) | |
2208 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(25+2.5*M.C(Sine/(wsVal/2))),0,0),Alpha) | |
2209 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(25+2.5*M.C(Sine/(wsVal/2))),0,0),Alpha) | |
2210 | elseif(State == 'Walk')then | |
2211 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2212 | local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1) | |
2213 | NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3) | |
2214 | if(M.RNG(1,45) == 45)then | |
2215 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
2216 | end | |
2217 | if(not Glitching)then | |
2218 | RJ.C0 = RJ.C0:lerp(CF.N(0,-.075+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-15-2.5*M.C(Sine/(wsVal/2))),M.R(4*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha) | |
2219 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(45*M.C(Sine/wsVal)),0,M.R(-5-7*M.S(Sine/wsVal))+LArm.RotVelocity.y/35),Alpha) | |
2220 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.27*M.C(Sine/wsVal))*CF.A(M.R(-45*M.C(Sine/wsVal)),0,M.R(5+7*M.S(Sine/wsVal))+RArm.RotVelocity.y/35),Alpha) | |
2221 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha) | |
2222 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha) | |
2223 | else | |
2224 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1) | |
2225 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-10,10)),1) | |
2226 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-10,10)),1) | |
2227 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1) | |
2228 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1) | |
2229 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-10,10),0),.1) | |
2230 | end | |
2231 | ||
2232 | elseif(State == 'Jump')then | |
2233 | local Alpha = .1 | |
2234 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
2235 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha) | |
2236 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha) | |
2237 | RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
2238 | NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2239 | if(M.RNG(1,45) == 45)then | |
2240 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
2241 | end | |
2242 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
2243 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
2244 | elseif(State == 'Fall')then | |
2245 | local Alpha = .1 | |
2246 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
2247 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha) | |
2248 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha) | |
2249 | RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
2250 | NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2251 | if(M.RNG(1,45) == 45)then | |
2252 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1) | |
2253 | end | |
2254 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
2255 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
2256 | elseif(State == 'Paralyzed')then | |
2257 | -- paralyzed | |
2258 | elseif(State == 'Sit')then | |
2259 | local Alpha = .1 | |
2260 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2261 | LH.C0 = clerp(LH.C0,CFrame.new(-0.466096163, -0.994458497, -0.733146906, 0.978622258, 0.0421638973, 0.201297805, -0.0426979661, 0.999086678, -0.0016900585, -0.201185226, -0.0069410787, 0.979528725),Alpha) | |
2262 | RH.C0 = clerp(RH.C0,CFrame.new(0.487065285, -0.997798502, -0.719440222, 0.998841465, 0.000311898883, -0.048122026, -0.000977467163, 0.999904215, -0.0138079338, 0.0481131151, 0.0138389766, 0.998746097),Alpha) | |
2263 | LS.C0 = clerp(LS.C0,CFrame.new(-1.50068951, 0.376530707, -0.0506974161, 0.999878109, 0.0145290866, 0.00571295246, -9.8173201e-05, 0.371779412, -0.928321123, -0.015611616, 0.928207576, 0.371735603),Alpha) | |
2264 | RS.C0 = clerp(RS.C0,CFrame.new(1.4989773, 0.376236171, -0.0975327194, 0.999878109, 0.0145290866, 0.00571295246, -9.8173201e-05, 0.371779412, -0.928321123, -0.015611616, 0.928207576, 0.371735603),Alpha) | |
2265 | NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2266 | end | |
2267 | end | |
2268 | ||
2269 | for i,v in next, BloodPuddles do | |
2270 | local mesh = i:FindFirstChild'CylinderMesh' | |
2271 | BloodPuddles[i] = v + 1 | |
2272 | if(not mesh or i.Transparency >= 1)then | |
2273 | i:destroy() | |
2274 | BloodPuddles[i] = nil | |
2275 | elseif(v >= Frame_Speed*4)then | |
2276 | local trans = (v-Frame_Speed*4)/(Frame_Speed*2) | |
2277 | i.Transparency = trans | |
2278 | if(mesh.Scale.Z > 0)then | |
2279 | mesh.Scale = mesh.Scale-V3.N(.05,0,.05) | |
2280 | end | |
2281 | else | |
2282 | i.Transparency = 0 | |
2283 | end | |
2284 | end | |
2285 | end |