SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------- |
1 | + | warn([[Star Glitcher Loaded. |
2 | - | --WhAT ANOTHER ONE????????!-- |
2 | + | All purpose switcher... -- wat |
3 | - | ------------------------------------------------------- |
3 | + | |
4 | - | --A script By makhail07 |
4 | + | It's not over yet. |
5 | The faith is among us. | |
6 | - | --This edit by 2003boobear |
6 | + | And yet you still haven't defeated me. |
7 | Now is my chance to destroy you. | |
8 | - | --Discord Creterisk#2958 |
8 | + | Then you're out of the world. |
9 | With the elemental being struggling to gain power. | |
10 | This is the result. | |
11 | - | --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png |
11 | + | Very unstable and powerful. |
12 | - | ------------------------------------------------------- |
12 | + | A insanely chaotic being. |
13 | Who haven't ever known that one could hold this power. | |
14 | - | local FavIDs = { |
14 | + | It's the one that has been created by an unknown being. |
15 | - | 340106355, --Nefl Crystals |
15 | + | You'll know this name already. |
16 | - | 927529620, --Dimension |
16 | + | Till now. |
17 | - | 876981900, --Fantasy |
17 | + | The power is inside your body. |
18 | - | 398987889, --Ordinary Days |
18 | + | You will decide things with this. |
19 | - | 1117396305, --Oh wait, it's you. |
19 | + | And the future changes within the power. |
20 | - | 885996042, --Action Winter Journey |
20 | + | For now, you'll decide your own. |
21 | - | 919231299, --Sprawling Idiot Effigy |
21 | + | You're one of them who holds this power. |
22 | - | 743466274, --Good Day Sunshine |
22 | + | And so on, you would get chaotic to everyone else. |
23 | - | 727411183, --Knife Fight |
23 | + | You seem to dont trust everyone else, but one. |
24 | - | 1402748531, --The Earth Is Counting On You! |
24 | + | That one... you can't know. |
25 | - | 595230126 --Robot Language |
25 | + | It's only your decision. |
26 | - | } |
26 | + | At yourself. |
27 | No mercy, or spare. | |
28 | ||
29 | ||
30 | - | --The reality of my life isn't real but a Universe -makhail07 |
30 | + | Created by 'NoobyGames12' |
31 | Edited by 'danny199990' | |
32 | - | local Player = game.Players.localPlayer |
32 | + | ]]) |
33 | - | local Character = Player.Character |
33 | + | print([[Icons: |
34 | - | local plr = game:service'Players'.LocalPlayer |
34 | + | ! = New |
35 | - | local char = plr.Character |
35 | + | ? = Spoilers |
36 | - | local hum = char.Humanoid |
36 | + | * = Exclusivity |
37 | - | local ra = char["Right Arm"] |
37 | + | ]]) |
38 | - | local la= char["Left Arm"] |
38 | + | warn([[V 3.3.1 (ON PROGRESS) Update Log: |
39 | - | local rl= char["Right Leg"] |
39 | + | - Originall themes included |
40 | - | local ll = char["Left Leg"] |
40 | + | ! - Calamity's "Z" has changed. |
41 | - | local hed = char.Head |
41 | + | ! - Starfall EX added. |
42 | - | local root = char.HumanoidRootPart |
42 | + | ! - Mayhem now has Destruction mode. |
43 | - | local rootj = root.RootJoint |
43 | + | ! - Chaos theme has been changed. |
44 | - | local tors = char.Torso |
44 | + | ! - Purity's theme has been extended. |
45 | - | local mouse = plr:GetMouse() |
45 | + | ? - Corruption's "Z" will have animation sooner. |
46 | - | local LeftArm = Character["Left Arm"] |
46 | + | ! - Calamity's "X" is added, named Starfall. |
47 | - | local RightArm = Character["Right Arm"] |
47 | + | * - Catastrophe's "Z" coming soon, same as Calamity's "Z" but more powerful. |
48 | - | local LeftLeg = Character["Left Leg"] |
48 | + | ! - Divinity's Shield move fixed, wont break anymore(Hold F)(Made by danny199990). |
49 | - | local RightLeg = Character["Right Leg"] |
49 | + | ! - Equinox's MeteorStrike move(X) added(Made by danny199990). |
50 | - | local Head = Character.Head |
50 | + | ! - Divinity's Judgement move(Z) collison issue fixed(Made by danny199990). |
51 | - | local Torso = Character.Torso |
51 | + | ! - Divinity's Judgement move(Z) can now be held as long as you want it to. |
52 | ||
53 | - | local RootPart = Character.HumanoidRootPart |
53 | + | I'd like if you wouldnt remove my or NoobyGames's credit, thanks alot ;). |
54 | - | local RootJoint = RootPart.RootJoint |
54 | + | ]]) |
55 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
55 | + | --- its obs smooth af do not touch |
56 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
56 | + | ---- Sources and functions might be taken from others |
57 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
57 | + | plr = game:GetService("Players").LocalPlayer |
58 | - | local EdgyMode = false |
58 | + | char = plr.Character |
59 | - | local Divinity = false |
59 | + | hum = char.Humanoid |
60 | - | local Fighter = false |
60 | + | |
61 | - | local Purity = false |
61 | + | local Controller = plr.PlayerScripts:WaitForChild("ControlScript") |
62 | - | local Destruction = false |
62 | + | Camera = cam |
63 | - | local helpme = false |
63 | + | local CamInterrupt = false |
64 | - | local Planetary = false |
64 | + | local TwoD = false |
65 | - | local Solar = false |
65 | + | local TargetInfo = {nil, nil} |
66 | - | local Lunar = false |
66 | + | cam.CameraType = "Custom" |
67 | - | local Frost = false |
67 | + | t = char.Torso |
68 | - | local Ashes = false |
68 | + | h = char.Head |
69 | - | local notmenacing = true |
69 | + | ra = char["Right Arm"] |
70 | - | local maincolor = BrickColor.new("Institutional white") |
70 | + | la = char["Left Arm"] |
71 | rl = char["Right Leg"] | |
72 | - | --do a die |
72 | + | ll = char["Left Leg"] |
73 | tors = char.Torso | |
74 | - | ------------------------------------------------------- |
74 | + | lleg = char["Left Leg"] |
75 | - | --Start Good Stuff-- |
75 | + | root = char.HumanoidRootPart |
76 | - | ------------------------------------------------------- |
76 | + | hed = char.Head |
77 | - | CF = CFrame.new |
77 | + | rleg = char["Right Leg"] |
78 | - | VT = Vector3.new |
78 | + | rarm = char["Right Arm"] |
79 | - | angles = CFrame.Angles |
79 | + | larm = char["Left Arm"] |
80 | radian = math.rad | |
81 | random = math.random | |
82 | - | Rad = math.rad |
82 | + | Vec3 = Vector3.new |
83 | - | IT = Instance.new |
83 | + | Inst = Instance.new |
84 | - | BrickC = BrickColor.new |
84 | + | cFrame = CFrame.new |
85 | - | Cos = math.cos |
85 | + | |
86 | - | Acos = math.acos |
86 | + | vt = Vector3.new |
87 | - | Sin = math.sin |
87 | + | bc = BrickColor.new |
88 | - | Asin = math.asin |
88 | + | br = BrickColor.random |
89 | - | Abs = math.abs |
89 | + | it = Instance.new |
90 | - | Mrandom = math.random |
90 | + | cf = CFrame.new |
91 | - | Floor = math.floor |
91 | + | local eff = true |
92 | - | local cn = CFrame.new |
92 | + | local shielding = false |
93 | - | local mr = math.rad |
93 | + | |
94 | - | local angles = CFrame.Angles |
94 | + | local Booleans = { |
95 | - | local ud = UDim2.new |
95 | + | CamFollow = true, |
96 | - | local c3 = Color3.new |
96 | + | GyroUse = true |
97 | - | ------------------------------------------------------- |
97 | + | |
98 | - | --End Good Stuff-- |
98 | + | |
99 | - | ------------------------------------------------------- |
99 | + | function lerp(object, newCFrame, alpha) |
100 | - | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
100 | + | return object:lerp(newCFrame, alpha) |
101 | - | RSH, LSH = nil, nil |
101 | + | |
102 | - | RW = Instance.new("Weld") |
102 | + | |
103 | - | LW = Instance.new("Weld") |
103 | + | local Directer = Inst("BodyGyro", root) |
104 | - | RH = tors["Right Hip"] |
104 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
105 | - | LH = tors["Left Hip"] |
105 | + | Directer.P = 600000 |
106 | - | RSH = tors["Right Shoulder"] |
106 | + | local CPart = Inst("Part") |
107 | - | LSH = tors["Left Shoulder"] |
107 | + | CPart.Anchored = true |
108 | - | RSH.Parent = nil |
108 | + | CPart.CanCollide = false |
109 | - | LSH.Parent = nil |
109 | + | CPart.Locked = true |
110 | - | RW.Name = "RW" |
110 | + | CPart.Transparency = 1 |
111 | - | RW.Part0 = tors |
111 | + | |
112 | - | RW.C0 = CF(1.5, 0.5, 0) |
112 | + | local rainbowmode = false |
113 | - | RW.C1 = CF(0, 0.5, 0) |
113 | + | local chaosmode = false |
114 | - | RW.Part1 = ra |
114 | + | |
115 | - | RW.Parent = tors |
115 | + | kan = Instance.new("Sound",char) |
116 | - | LW.Name = "LW" |
116 | + | kan.Volume = 1.25 |
117 | - | LW.Part0 = tors |
117 | + | kan.TimePosition = 0 |
118 | - | LW.C0 = CF(-1.5, 0.5, 0) |
118 | + | kan.PlaybackSpeed = 1 |
119 | - | LW.C1 = CF(0, 0.5, 0) |
119 | + | kan.Pitch = 1 |
120 | - | LW.Part1 = la |
120 | + | kan.SoundId = "rbxassetid://614032233" |
121 | - | LW.Parent = tors |
121 | + | kan.Name = "wrecked" |
122 | - | Effects = {} |
122 | + | kan.Looped = true |
123 | kan:Play() | |
124 | - | ------------------------------------------------------- |
124 | + | |
125 | - | --Start HeartBeat-- |
125 | + | function newTheme(ID,timepos,pitch,vol) |
126 | - | ------------------------------------------------------- |
126 | + | local kanz = kan |
127 | - | ArtificialHB = Instance.new("BindableEvent", script) |
127 | + | --kanz:Stop() |
128 | - | ArtificialHB.Name = "Heartbeat" |
128 | + | --kanz.Volume = vol |
129 | - | script:WaitForChild("Heartbeat") |
129 | + | --kanz.TimePosition = timepos |
130 | kanz.PlaybackSpeed = pitch | |
131 | - | frame = 1 / 60 |
131 | + | kanz.Pitch = pitch |
132 | - | tf = 0 |
132 | + | kanz.SoundId = ID |
133 | - | allowframeloss = false |
133 | + | kanz.Name = "wrecked" |
134 | - | tossremainder = false |
134 | + | kanz.Looped = true |
135 | kanz.Volume = 0.3 | |
136 | --kanz:Play() | |
137 | - | lastframe = tick() |
137 | + | --coroutine.resume(coroutine.create(function() |
138 | - | script.Heartbeat:Fire() |
138 | + | --wait(0.05) |
139 | --end)) | |
140 | end | |
141 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
141 | + | |
142 | - | tf = tf + s |
142 | + | function newThemeCust(ID,timepos,pitch,vol) |
143 | - | if tf >= frame then |
143 | + | local kanz = kan |
144 | - | if allowframeloss then |
144 | + | kanz:Stop() |
145 | - | script.Heartbeat:Fire() |
145 | + | kanz.Volume = vol |
146 | - | lastframe = tick() |
146 | + | kanz.TimePosition = timepos |
147 | - | else |
147 | + | kanz.PlaybackSpeed = pitch |
148 | - | for i = 1, math.floor(tf / frame) do |
148 | + | kanz.Pitch = pitch |
149 | - | script.Heartbeat:Fire() |
149 | + | kanz.SoundId = ID |
150 | kanz.Name = "wrecked" | |
151 | - | lastframe = tick() |
151 | + | kanz.Looped = true |
152 | kanz:Play() | |
153 | - | if tossremainder then |
153 | + | |
154 | - | tf = 0 |
154 | + | wait(0.05) |
155 | - | else |
155 | + | |
156 | - | tf = tf - frame * math.floor(tf / frame) |
156 | + | |
157 | ||
158 | ||
159 | ||
160 | function CameraShake(Times, Power, PlayerTarget) | |
161 | - | ------------------------------------------------------- |
161 | + | |
162 | - | --End HeartBeat-- |
162 | + | FV = Instance.new("BoolValue", PlayerTarget) |
163 | - | ------------------------------------------------------- |
163 | + | FV.Name = "CameraShake" |
164 | for ShakeNum=1,Times do | |
165 | - | local insanity={"hELPmE","iNsAnItY","iNsAnItY","InsAnITTTTY","InsAnityYyyyy","iNsAnItY","Insane","rUN","sCATTER","bEGoNE","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","hELP","iNsAnItY","iNsAnItY","dREaD","nIgHTFAll","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY"} --why |
165 | + | swait() |
166 | local ef=Power | |
167 | - | local NOUSE={"nOUsE","dONT TrYYYYYY","DiE FOr MEEEEE","HAAHHHHHA","BeGONE","UnSTOpPAbLE","WRYYyY","rUN","NoUsE","nO HOPe FOr tHE HoPELEsS","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","S o U L S","fEED","hUNgEr","HAHAAAAAAAAHHAHAAHA","aAAAaAAAAaA","bEGoNE sINnERRRR"} --aaaaaaa |
167 | + | if ef>=1 then |
168 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
169 | - | local insanityface={"843367143","280233855","148988280","859779193","163713156","313921371","304942859","315792941","1684367763","335761015"} |
169 | + | else |
170 | ef=Power*10 | |
171 | - | ------------------------------------------------------- |
171 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
172 | - | --Start Important Functions-- |
172 | + | end |
173 | - | ------------------------------------------------------- |
173 | + | |
174 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
175 | - | if num == 0 or num == nil then |
175 | + | FV:Destroy() |
176 | - | game:service("RunService").Stepped:wait(0) |
176 | + | |
177 | - | else |
177 | + | |
178 | - | for i = 0, num do |
178 | + | |
179 | - | game:service("RunService").Stepped:wait(0) |
179 | + | function CameraEnshaking(Length,Intensity) |
180 | coroutine.resume(coroutine.create(function() | |
181 | local intensity = 1*Intensity | |
182 | local rotM = 0.01*Intensity | |
183 | - | function thread(f) |
183 | + | for i = 0, Length, 0.1 do |
184 | - | coroutine.resume(coroutine.create(f)) |
184 | + | swait() |
185 | intensity = intensity - 0.05*Intensity/Length | |
186 | - | function clerp(a, b, t) |
186 | + | rotM = rotM - 0.0005*Intensity/Length |
187 | - | local qa = { |
187 | + | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
188 | - | QuaternionFromCFrame(a) |
188 | + | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) |
189 | - | } |
189 | + | |
190 | - | local qb = { |
190 | + | Humanoid.CameraOffset = Vec3(0, 0, 0) |
191 | - | QuaternionFromCFrame(b) |
191 | + | |
192 | - | } |
192 | + | |
193 | - | local ax, ay, az = a.x, a.y, a.z |
193 | + | CamShake=function(Part,Distan,Power,Times) |
194 | - | local bx, by, bz = b.x, b.y, b.z |
194 | + | local de=Part.Position |
195 | - | local _t = 1 - t |
195 | + | for i,v in pairs(workspace:children()) do |
196 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
196 | + | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
197 | for _,c in pairs(v:children()) do | |
198 | - | function QuaternionFromCFrame(cf) |
198 | + | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then |
199 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
199 | + | local Noob=v.Humanoid |
200 | - | local trace = m00 + m11 + m22 |
200 | + | if Noob~=nil then |
201 | - | if trace > 0 then |
201 | + | |
202 | - | local s = math.sqrt(1 + trace) |
202 | + | FV = Instance.new("BoolValue", Noob) |
203 | - | local recip = 0.5 / s |
203 | + | FV.Name = "CameraShake" |
204 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
204 | + | for ShakeNum=1,Times do |
205 | - | else |
205 | + | swait() |
206 | - | local i = 0 |
206 | + | local ef=Power |
207 | - | if m00 < m11 then |
207 | + | if ef>=1 then |
208 | - | i = 1 |
208 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
209 | else | |
210 | - | if m22 > (i == 0 and m00 or m11) then |
210 | + | ef=Power*10 |
211 | - | i = 2 |
211 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
212 | end | |
213 | - | if i == 0 then |
213 | + | |
214 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
214 | + | Humanoid.CameraOffset = Vector3.new(0,0,0) |
215 | - | local recip = 0.5 / s |
215 | + | FV:Destroy() |
216 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
216 | + | |
217 | - | elseif i == 1 then |
217 | + | CameraShake(Times, Power, Noob) |
218 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
218 | + | |
219 | - | local recip = 0.5 / s |
219 | + | |
220 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
220 | + | |
221 | - | elseif i == 2 then |
221 | + | |
222 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
222 | + | |
223 | - | local recip = 0.5 / s |
223 | + | |
224 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
224 | + | |
225 | function chatfunc(text,color) | |
226 | local chat = coroutine.wrap(function() | |
227 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
228 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
228 | + | Character:FindFirstChild("TalkingBillBoard"):destroy() |
229 | - | local xs, ys, zs = x + x, y + y, z + z |
229 | + | |
230 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
230 | + | local naeeym2 = Instance.new("BillboardGui",Character) |
231 | - | local xx = x * xs |
231 | + | naeeym2.Size = UDim2.new(0,100,0,40) |
232 | - | local xy = x * ys |
232 | + | naeeym2.StudsOffset = Vector3.new(0,3,0) |
233 | - | local xz = x * zs |
233 | + | naeeym2.Adornee = Character.Head |
234 | - | local yy = y * ys |
234 | + | naeeym2.Name = "TalkingBillBoard" |
235 | - | local yz = y * zs |
235 | + | |
236 | - | local zz = z * zs |
236 | + | |
237 | - | 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)) |
237 | + | |
238 | tecks2.Text = "" | |
239 | - | function QuaternionSlerp(a, b, t) |
239 | + | tecks2.Font = "SciFi" |
240 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
240 | + | |
241 | - | local startInterp, finishInterp |
241 | + | |
242 | - | if cosTheta >= 1.0E-4 then |
242 | + | tecks2.TextColor3 = color |
243 | - | if 1 - cosTheta > 1.0E-4 then |
243 | + | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
244 | - | local theta = math.acos(cosTheta) |
244 | + | |
245 | - | local invSinTheta = 1 / Sin(theta) |
245 | + | local tecks3 = Instance.new("TextLabel",naeeym2) |
246 | - | startInterp = Sin((1 - t) * theta) * invSinTheta |
246 | + | tecks3.BackgroundTransparency = 1 |
247 | - | finishInterp = Sin(t * theta) * invSinTheta |
247 | + | tecks3.BorderSizePixel = 0 |
248 | - | else |
248 | + | tecks3.Text = "" |
249 | - | startInterp = 1 - t |
249 | + | tecks3.Font = "SciFi" |
250 | - | finishInterp = t |
250 | + | tecks3.TextSize = 30 |
251 | tecks3.TextStrokeTransparency = 0 | |
252 | - | elseif 1 + cosTheta > 1.0E-4 then |
252 | + | tecks3.TextColor3 = Color3.new(0,0,0) |
253 | - | local theta = math.acos(-cosTheta) |
253 | + | tecks3.TextStrokeColor3 = color |
254 | - | local invSinTheta = 1 / Sin(theta) |
254 | + | tecks3.Size = UDim2.new(1,0,0.5,0) |
255 | - | startInterp = Sin((t - 1) * theta) * invSinTheta |
255 | + | |
256 | - | finishInterp = Sin(t * theta) * invSinTheta |
256 | + | |
257 | - | else |
257 | + | swait(1) |
258 | - | startInterp = t - 1 |
258 | + | plr.Character.wrecked.Volume = 0.3 |
259 | - | finishInterp = t |
259 | + | if chaosmode == true then |
260 | tecks2.TextColor3 = BrickColor.random().Color | |
261 | - | 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 |
261 | + | tecks3.TextStrokeColor3 = BrickColor.random().Color |
262 | end | |
263 | - | function rayCast(Position, Direction, Range, Ignore) |
263 | + | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
264 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) |
264 | + | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
265 | tecks2.Rotation = math.random(-5,5) | |
266 | - | local RbxUtility = LoadLibrary("RbxUtility") |
266 | + | tecks3.Rotation = math.random(-5,5) |
267 | - | local Create = RbxUtility.Create |
267 | + | |
268 | end)) | |
269 | - | warn("I'ma just call dis WhAT ANOTHER ONE V1.5") |
269 | + | for i = 1,string.len(text),1 do |
270 | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) | |
271 | - | warn("Please support the original creator, makhail07.") |
271 | + | tecks2.Text = string.sub(text,1,i) |
272 | tecks3.Text = string.sub(text,1,i) | |
273 | - | warn("Also, 2003boobear made this edit.") |
273 | + | swait(1) |
274 | end | |
275 | - | shirt = Instance.new("Shirt", char) |
275 | + | |
276 | - | shirt.Name = "Shirt" |
276 | + | local randomrot = math.random(1,2) |
277 | - | pants = Instance.new("Pants", char) |
277 | + | if randomrot == 1 then |
278 | - | pants.Name = "Pants" |
278 | + | for i = 1, 50 do |
279 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537" |
279 | + | swait() |
280 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689" |
280 | + | tecks2.Rotation = tecks2.Rotation - .75 |
281 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
282 | - | local BC = char["Body Colors"] |
282 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
283 | - | BC.HeadColor = BrickColor.new("Fossil") |
283 | + | tecks3.Rotation = tecks2.Rotation + .75 |
284 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
284 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
285 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
285 | + | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
286 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
286 | + | |
287 | - | BC.RightLegColor = BrickColor.new("Fossil") |
287 | + | elseif randomrot == 2 then |
288 | - | BC.TorsoColor = BrickColor.new("Fossil") |
288 | + | for i = 1, 50 do |
289 | - | ------------------------------------------------------- |
289 | + | swait() |
290 | - | --Start Damage Function-- |
290 | + | tecks2.Rotation = tecks2.Rotation + .75 |
291 | - | ------------------------------------------------------- |
291 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
292 | - | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
292 | + | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
293 | - | if hit.Parent == nil then |
293 | + | tecks3.Rotation = tecks2.Rotation - .75 |
294 | - | return |
294 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
295 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
296 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
296 | + | |
297 | - | for _, v in pairs(hit.Parent:children()) do |
297 | + | |
298 | - | if v:IsA("Humanoid") then |
298 | + | naeeym2:Destroy() |
299 | - | h = v |
299 | + | |
300 | chat() | |
301 | end | |
302 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then |
302 | + | |
303 | ||
304 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
304 | + | local Create = LoadLibrary("RbxUtility").Create |
305 | - | end |
305 | + | |
306 | CFuncs = { | |
307 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then |
307 | + | ["Part"] = { |
308 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil then |
308 | + | |
309 | - | if hit.Parent.DebounceHit.Value == true then |
309 | + | local Part = Create("Part"){ |
310 | - | return |
310 | + | |
311 | Reflectance = Reflectance, | |
312 | Transparency = Transparency, | |
313 | - | if insta == true then |
313 | + | |
314 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
314 | + | |
315 | - | end |
315 | + | |
316 | - | local c = Create("ObjectValue"){ |
316 | + | |
317 | - | Name = "creator", |
317 | + | |
318 | - | Value = game:service("Players").LocalPlayer, |
318 | + | Material = Material, |
319 | - | Parent = h, |
319 | + | |
320 | - | } |
320 | + | |
321 | - | game:GetService("Debris"):AddItem(c, .5) |
321 | + | |
322 | - | if HitSound ~= nil and HitPitch ~= nil then |
322 | + | end; |
323 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
323 | + | }; |
324 | ||
325 | - | local Damage = math.random(minim, maxim) |
325 | + | ["Mesh"] = { |
326 | - | local blocked = false |
326 | + | |
327 | - | local block = hit.Parent:findFirstChild("Block") |
327 | + | local Msh = Create(Mesh){ |
328 | - | if block ~= nil then |
328 | + | |
329 | - | if block.className == "IntValue" then |
329 | + | |
330 | - | if block.Value > 0 then |
330 | + | Scale = Scale, |
331 | - | blocked = true |
331 | + | |
332 | - | block.Value = block.Value - 1 |
332 | + | |
333 | - | print(block.Value) |
333 | + | |
334 | - | end |
334 | + | |
335 | end | |
336 | return Msh | |
337 | - | if blocked == false then |
337 | + | end; |
338 | - | h.Health = h.Health - Damage |
338 | + | }; |
339 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) |
339 | + | |
340 | - | else |
340 | + | ["Mesh"] = { |
341 | - | h.Health = h.Health - (Damage / 2) |
341 | + | |
342 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color) |
342 | + | local Msh = Create(Mesh){ |
343 | Parent = Part, | |
344 | - | if Type == "Knockdown" then |
344 | + | |
345 | - | local hum = hit.Parent.Humanoid |
345 | + | Scale = Scale, |
346 | - | hum.PlatformStand = true |
346 | + | |
347 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
347 | + | |
348 | - | swait(1) |
348 | + | |
349 | - | HHumanoid.PlatformStand = false |
349 | + | |
350 | - | end), hum) |
350 | + | |
351 | - | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
351 | + | |
352 | - | local bodvol = Create("BodyVelocity"){ |
352 | + | end; |
353 | - | velocity = angle * knockback, |
353 | + | }; |
354 | - | P = 5000, |
354 | + | |
355 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
355 | + | ["Weld"] = { |
356 | - | Parent = hit, |
356 | + | |
357 | local Weld = Create("Weld"){ | |
358 | - | local rl = Create("BodyAngularVelocity"){ |
358 | + | |
359 | - | P = 3000, |
359 | + | |
360 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
360 | + | |
361 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
361 | + | |
362 | - | Parent = hit, |
362 | + | C1 = C1, |
363 | } | |
364 | - | game:GetService("Debris"):AddItem(bodvol, .5) |
364 | + | |
365 | - | game:GetService("Debris"):AddItem(rl, .5) |
365 | + | end; |
366 | - | elseif Type == "Normal" then |
366 | + | }; |
367 | - | local vp = Create("BodyVelocity"){ |
367 | + | |
368 | - | P = 500, |
368 | + | ["Sound"] = { |
369 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
369 | + | Create = function(id, par, vol, pit) |
370 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
370 | + | |
371 | local S = Create("Sound"){ | |
372 | - | if knockback > 0 then |
372 | + | |
373 | - | vp.Parent = hit.Parent.Torso |
373 | + | Name = "EffectSoundo", |
374 | Pitch = pit or 1, | |
375 | - | game:GetService("Debris"):AddItem(vp, .5) |
375 | + | |
376 | - | elseif Type == "Up" then |
376 | + | Parent = par or workspace, |
377 | - | local bodyVelocity = Create("BodyVelocity"){ |
377 | + | } |
378 | - | velocity = Vector3.new(0, 20, 0), |
378 | + | wait() |
379 | - | P = 5000, |
379 | + | S:play() |
380 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
380 | + | game:GetService("Debris"):AddItem(S, 10) |
381 | - | Parent = hit, |
381 | + | |
382 | end; | |
383 | - | game:GetService("Debris"):AddItem(bodyVelocity, .5) |
383 | + | }; |
384 | - | elseif Type == "DarkUp" then |
384 | + | |
385 | ["LongSound"] = { | |
386 | - | for i = 0, 1, 0.1 do |
386 | + | Create = function(id, par, vol, pit) |
387 | - | swait() |
387 | + | |
388 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) |
388 | + | local S = Create("Sound"){ |
389 | - | end |
389 | + | |
390 | Pitch = pit or 1, | |
391 | - | local bodyVelocity = Create("BodyVelocity"){ |
391 | + | |
392 | - | velocity = Vector3.new(0, 20, 0), |
392 | + | Parent = par or workspace, |
393 | - | P = 5000, |
393 | + | } |
394 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
394 | + | wait() |
395 | - | Parent = hit, |
395 | + | S:play() |
396 | game:GetService("Debris"):AddItem(S, 30) | |
397 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
397 | + | |
398 | - | elseif Type == "Snare" then |
398 | + | end; |
399 | - | local bp = Create("BodyPosition"){ |
399 | + | }; |
400 | - | P = 2000, |
400 | + | |
401 | - | D = 100, |
401 | + | ["ParticleEmitter"] = { |
402 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
402 | + | |
403 | - | position = hit.Parent.Torso.Position, |
403 | + | local fp = Create("ParticleEmitter"){ |
404 | - | Parent = hit.Parent.Torso, |
404 | + | |
405 | Color = ColorSequence.new(Color1, Color2), | |
406 | - | game:GetService("Debris"):AddItem(bp, 1) |
406 | + | |
407 | - | elseif Type == "Freeze" then |
407 | + | |
408 | - | local BodPos = Create("BodyPosition"){ |
408 | + | |
409 | - | P = 50000, |
409 | + | |
410 | - | D = 1000, |
410 | + | |
411 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
411 | + | |
412 | - | position = hit.Parent.Torso.Position, |
412 | + | |
413 | - | Parent = hit.Parent.Torso, |
413 | + | |
414 | VelocityInheritance = VelocityInheritance, | |
415 | - | local BodGy = Create("BodyGyro") { |
415 | + | |
416 | - | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
416 | + | |
417 | - | P = 20e+003, |
417 | + | |
418 | - | Parent = hit.Parent.Torso, |
418 | + | |
419 | - | cframe = hit.Parent.Torso.CFrame, |
419 | + | |
420 | RotSpeed = RotSpeed, | |
421 | - | hit.Parent.Torso.Anchored = true |
421 | + | |
422 | - | coroutine.resume(coroutine.create(function(Part) |
422 | + | VelocitySpread = VelocitySpread, |
423 | - | swait(1.5) |
423 | + | |
424 | - | Part.Anchored = false |
424 | + | |
425 | - | end), hit.Parent.Torso) |
425 | + | end; |
426 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
426 | + | }; |
427 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
427 | + | |
428 | CreateTemplate = { | |
429 | - | local debounce = Create("BoolValue"){ |
429 | + | |
430 | - | Name = "DebounceHit", |
430 | + | }; |
431 | - | Parent = hit.Parent, |
431 | + | |
432 | - | Value = true, |
432 | + | |
433 | - | } |
433 | + | |
434 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
434 | + | |
435 | - | c = Create("ObjectValue"){ |
435 | + | |
436 | - | Name = "creator", |
436 | + | |
437 | - | Value = Player, |
437 | + | |
438 | - | Parent = h, |
438 | + | |
439 | - | } |
439 | + | |
440 | - | game:GetService("Debris"):AddItem(c, .5) |
440 | + | |
441 | Object.Name = Name | |
442 | return Object | |
443 | - | ------------------------------------------------------- |
443 | + | |
444 | - | --End Damage Function-- |
444 | + | local halocolor = BrickColor.new("Pastel light blue") |
445 | - | ------------------------------------------------------- |
445 | + | local halocolor2 = BrickColor.new("Cool yellow") |
446 | - | local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)), |
446 | + | local starcolor = BrickColor.new("Bright yellow") |
447 | - | ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)), |
447 | + | local lunacolor = BrickColor.new("Navy blue") |
448 | - | ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)), |
448 | + | local lunacolor2 = BrickColor.new("Bright blue") |
449 | - | ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)), |
449 | + | local wepcolor = BrickColor.new("Really black") |
450 | - | ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)), |
450 | + | local maincolor = BrickColor.new("Really black") |
451 | - | ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)), |
451 | + | local m = Instance.new("Model",char) |
452 | - | ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)), |
452 | + | local m2 = Instance.new("Model",char) |
453 | - | ColorSequenceKeypoint.new(1, Color3.new(0,0,0))} |
453 | + | local m3 = Instance.new("Model",char) |
454 | - | local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0) |
454 | + | local mw1 = Instance.new("Model",char) |
455 | - | local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0) |
455 | + | local mw2 = Instance.new("Model",char) |
456 | - | local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4 |
456 | + | |
457 | - | DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
457 | + | local extrawingmod1 = Instance.new("Model",char) |
458 | - | DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1 |
458 | + | local extrawingmod2 = Instance.new("Model",char) |
459 | - | DTrail2.Enabled = false |
459 | + | |
460 | - | local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0) |
460 | + | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
461 | - | local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0) |
461 | + | local p = Instance.new("Part") |
462 | - | local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6 |
462 | + | p.TopSurface = 0 |
463 | - | DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
463 | + | p.BottomSurface = 0 |
464 | - | DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1 |
464 | + | p.Parent = parent |
465 | - | DTrail3.Enabled = false |
465 | + | p.Size = Vector3.new(0.1,0.1,0.1) |
466 | - | local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0) |
466 | + | p.Transparency = transparency |
467 | - | local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0) |
467 | + | p.Reflectance = reflectance |
468 | - | local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8 |
468 | + | p.CanCollide = false |
469 | - | DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
469 | + | p.Locked = true |
470 | - | DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1 |
470 | + | p.BrickColor = brickcolor |
471 | - | DTrail4.Enabled = false |
471 | + | p.Material = material |
472 | - | local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0) |
472 | + | return p |
473 | - | local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0) |
473 | + | |
474 | - | local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10 |
474 | + | |
475 | - | DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
475 | + | function CreateMesh(parent,meshtype,x1,y1,z1) |
476 | - | DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1 |
476 | + | local mesh = Instance.new("SpecialMesh",parent) |
477 | - | DTrail5.Enabled = false |
477 | + | mesh.MeshType = meshtype |
478 | - | local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0) |
478 | + | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
479 | - | local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0) |
479 | + | |
480 | - | local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2 |
480 | + | |
481 | - | DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
481 | + | |
482 | - | DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1 |
482 | + | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
483 | - | DTrail.Enabled = false |
483 | + | local mesh = Instance.new("SpecialMesh",parent) |
484 | - | ------------------------------------------------------- |
484 | + | mesh.MeshType = "FileMesh" |
485 | - | --Start Damage Function Customization-- |
485 | + | mesh.MeshId = meshid |
486 | - | ------------------------------------------------------- |
486 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
487 | return mesh | |
488 | - | local Rate = (1 / 30) |
488 | + | |
489 | - | local Pos = (Pos or Vector3.new(0, 0, 0)) |
489 | + | |
490 | - | local Text = (Text or "") |
490 | + | |
491 | - | local Time = (Time or 2) |
491 | + | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
492 | - | local Color = (Color or Color3.new(1, 0, 1)) |
492 | + | local mesh = Instance.new("SpecialMesh",parent) |
493 | - | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
493 | + | mesh.MeshType = "FileMesh" |
494 | - | EffectPart.Anchored = true |
494 | + | mesh.MeshId = meshid |
495 | - | local BillboardGui = Create("BillboardGui"){ |
495 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
496 | - | Size = UDim2.new(3, 0, 3, 0), |
496 | + | mesh.Scale = Vector3.new(x1,y1,z1) |
497 | - | Adornee = EffectPart, |
497 | + | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
498 | - | Parent = EffectPart, |
498 | + | |
499 | - | } |
499 | + | |
500 | - | local TextLabel = Create("TextLabel"){ |
500 | + | |
501 | - | BackgroundTransparency = 1, |
501 | + | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
502 | - | Size = UDim2.new(1, 0, 1, 0), |
502 | + | local weld = Instance.new("Weld") |
503 | - | Text = Text, |
503 | + | weld.Parent = parent |
504 | - | Font = "Highway", |
504 | + | weld.Part0 = part0 |
505 | - | TextColor3 = Color, |
505 | + | weld.Part1 = part1 |
506 | - | TextScaled = true, |
506 | + | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
507 | - | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
507 | + | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
508 | - | Parent = BillboardGui, |
508 | + | return weld |
509 | - | } |
509 | + | |
510 | - | game.Debris:AddItem(EffectPart, (Time)) |
510 | + | |
511 | - | EffectPart.Parent = game:GetService("Workspace") |
511 | + | |
512 | - | delay(0, function() |
512 | + | -------------- |
513 | - | local Frames = (Time / Rate) |
513 | + | local secondchar = Instance.new("Model",char) |
514 | - | for Frame = 1, Frames do |
514 | + | local GhostCol = BrickColor.new("Really red") |
515 | - | wait(Rate) |
515 | + | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) |
516 | - | local Percent = (Frame / Frames) |
516 | + | CreateMesh(sectors,"Brick",2*8,2*8,1*8) |
517 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
517 | + | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
518 | - | TextLabel.TextTransparency = Percent |
518 | + | |
519 | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
520 | - | if EffectPart and EffectPart.Parent then |
520 | + | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) |
521 | - | EffectPart:Destroy() |
521 | + | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
522 | ||
523 | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
524 | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) | |
525 | - | ------------------------------------------------------- |
525 | + | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
526 | - | --End Damage Function Customization-- |
526 | + | |
527 | - | ------------------------------------------------------- |
527 | + | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
528 | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) | |
529 | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
530 | ||
531 | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
532 | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) | |
533 | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
534 | ||
535 | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
536 | CreateMesh(seched,"Brick",1*8,1*8,1*8) | |
537 | - | if magni >= mag and c.Name ~= plr.Name then |
537 | + | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
538 | - | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
538 | + | -------------- |
539 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
540 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
541 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
542 | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
543 | ||
544 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
545 | - | function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie |
545 | + | CreateMesh(handle,"Brick",0,0,0) |
546 | - | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) |
546 | + | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
547 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) |
547 | + | local valuaring = 10 |
548 | - | RW.C0 = clerp(RW.C0, table[3], speed) |
548 | + | for i = 0, 49 do |
549 | - | LW.C0 = clerp(LW.C0, table[4], speed) |
549 | + | valuaring = valuaring + 10 |
550 | - | RH.C0 = clerp(RH.C0, table[5], speed) |
550 | + | rn = CreateParta(mw2,0,0,"Neon",halocolor) |
551 | - | LH.C0 = clerp(LH.C0, table[6], speed) |
551 | + | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
552 | - | if bool == true then |
552 | + | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
553 | - | if resetc1 == false then |
553 | + | |
554 | - | resetc1 = true |
554 | + | |
555 | - | RootJoint.C1 = RootJoint.C1 |
555 | + | handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
556 | - | Torso.Neck.C1 = Torso.Neck.C1 |
556 | + | CreateMesh(handle,"Brick",0,0,0) |
557 | - | RW.C1 = rarmc1 |
557 | + | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
558 | - | LW.C1 = larmc1 |
558 | + | local valuaring = 10 |
559 | - | RH.C1 = rlegc1 |
559 | + | for i = 0, 49 do |
560 | - | LH.C1 = llegc1 |
560 | + | valuaring = valuaring + 10 |
561 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
562 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
563 | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
564 | end | |
565 | - | CFuncs = { |
565 | + | |
566 | - | Part = { |
566 | + | |
567 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
568 | - | local Part = Create("Part")({ |
568 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
569 | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
570 | ||
571 | --- Left wing. | |
572 | ||
573 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
574 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
575 | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
576 | ||
577 | - | Material = Material |
577 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
578 | - | }) |
578 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
579 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
580 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
581 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
582 | - | }, |
582 | + | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
583 | - | Mesh = { |
583 | + | A0 = Instance.new('Attachment',wed) |
584 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
585 | - | local Msh = Create(Mesh)({ |
585 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
586 | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
587 | A1 = Instance.new('Attachment',wed) | |
588 | - | Scale = Scale |
588 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
589 | - | }) |
589 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
590 | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
591 | ||
592 | tl1 = Instance.new('Trail',wed) | |
593 | tl1.Attachment0 = A0 | |
594 | tl1.Attachment1 = A1 | |
595 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
596 | - | }, |
596 | + | tl1.LightEmission = 1 |
597 | - | Mesh = { |
597 | + | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
598 | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
599 | - | local Msh = Create(Mesh)({ |
599 | + | tl1.Lifetime = 0.6 |
600 | ||
601 | ||
602 | - | Scale = Scale |
602 | + | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
603 | - | }) |
603 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
604 | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
605 | ||
606 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
607 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
608 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
609 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
610 | - | }, |
610 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
611 | - | Weld = { |
611 | + | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
612 | A0 = Instance.new('Attachment',wed) | |
613 | - | local Weld = Create("Weld")({ |
613 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
614 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
615 | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
616 | A1 = Instance.new('Attachment',wed) | |
617 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
618 | - | C1 = C1 |
618 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
619 | - | }) |
619 | + | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
620 | ||
621 | tl2 = Instance.new('Trail',wed) | |
622 | - | }, |
622 | + | tl2.Attachment0 = A0 |
623 | - | Sound = { |
623 | + | tl2.Attachment1 = A1 |
624 | - | Create = function(id, par, vol, pit) |
624 | + | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
625 | tl2.LightEmission = 1 | |
626 | - | local S = Create("Sound")({ |
626 | + | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
627 | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
628 | tl2.Lifetime = 0.6 | |
629 | ||
630 | - | Parent = par or workspace |
630 | + | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
631 | - | }) |
631 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
632 | - | wait() |
632 | + | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
633 | - | S:play() |
633 | + | |
634 | - | game:GetService("Debris"):AddItem(S, 6) |
634 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
635 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
636 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
637 | - | }, |
637 | + | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
638 | - | ParticleEmitter = { |
638 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
639 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
640 | - | local fp = Create("ParticleEmitter")({ |
640 | + | A0 = Instance.new('Attachment',wed) |
641 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
642 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
643 | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
644 | A1 = Instance.new('Attachment',wed) | |
645 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
646 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
647 | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
648 | ||
649 | tl3 = Instance.new('Trail',wed) | |
650 | tl3.Attachment0 = A0 | |
651 | tl3.Attachment1 = A1 | |
652 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
653 | tl3.LightEmission = 1 | |
654 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) | |
655 | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color) | |
656 | tl3.Lifetime = 0.6 | |
657 | ||
658 | tl1.Enabled = false | |
659 | - | VelocitySpread = VelocitySpread |
659 | + | tl2.Enabled = false |
660 | - | }) |
660 | + | tl3.Enabled = false |
661 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
662 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
663 | - | } |
663 | + | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
664 | ||
665 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
666 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
666 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
667 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
668 | - | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
668 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
669 | - | local Part = Create("Part")({ |
669 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
670 | - | formFactor = FormFactor, |
670 | + | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
671 | - | Parent = Parent, |
671 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
672 | - | Reflectance = Reflectance, |
672 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
673 | - | Transparency = Transparency, |
673 | + | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
674 | - | CanCollide = false, |
674 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
675 | - | Locked = true, |
675 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
676 | - | BrickColor = BrickColor.new(tostring(BColor)), |
676 | + | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
677 | - | Name = Name, |
677 | + | |
678 | - | Size = Size, |
678 | + | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
679 | - | Material = Material |
679 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
680 | - | }) |
680 | + | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
681 | - | RemoveOutlines(Part) |
681 | + | |
682 | - | return Part |
682 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
683 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
684 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
685 | - | local Msh = Create(Mesh)({ |
685 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
686 | - | Parent = Part, |
686 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
687 | - | Offset = OffSet, |
687 | + | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
688 | - | Scale = Scale |
688 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
689 | - | }) |
689 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
690 | - | if Mesh == "SpecialMesh" then |
690 | + | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
691 | - | Msh.MeshType = MeshType |
691 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
692 | - | Msh.MeshId = MeshId |
692 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
693 | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
694 | - | return Msh |
694 | + | |
695 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
696 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
697 | - | local Weld = Create("Weld")({ |
697 | + | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
698 | - | Parent = Parent, |
698 | + | |
699 | - | Part0 = Part0, |
699 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
700 | - | Part1 = Part1, |
700 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
701 | - | C0 = C0, |
701 | + | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
702 | - | C1 = C1 |
702 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
703 | - | }) |
703 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
704 | - | return Weld |
704 | + | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
705 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
706 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
707 | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
708 | - | ------------------------------------------------------- |
708 | + | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
709 | - | --Start Effect Function-- |
709 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
710 | - | ------------------------------------------------------- |
710 | + | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
711 | - | EffectModel = Instance.new("Model", char) |
711 | + | |
712 | - | Effects = { |
712 | + | -- Right wing. |
713 | - | Block = { |
713 | + | |
714 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
714 | + | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
715 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
715 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
716 | - | prt.Anchored = true |
716 | + | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
717 | - | prt.CFrame = cframe |
717 | + | |
718 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
718 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
719 | - | game:GetService("Debris"):AddItem(prt, 10) |
719 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
720 | - | if Type == 1 or Type == nil then |
720 | + | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
721 | - | table.insert(Effects, { |
721 | + | A0 = Instance.new('Attachment',wed) |
722 | - | prt, |
722 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
723 | - | "Block1", |
723 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
724 | - | delay, |
724 | + | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
725 | - | x3, |
725 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
726 | - | y3, |
726 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
727 | - | z3, |
727 | + | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
728 | - | msh |
728 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
729 | - | }) |
729 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
730 | - | elseif Type == 2 then |
730 | + | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
731 | - | table.insert(Effects, { |
731 | + | A1 = Instance.new('Attachment',wed) |
732 | - | prt, |
732 | + | |
733 | - | "Block2", |
733 | + | tr1 = Instance.new('Trail',wed) |
734 | - | delay, |
734 | + | tr1.Attachment0 = A0 |
735 | - | x3, |
735 | + | tr1.Attachment1 = A1 |
736 | - | y3, |
736 | + | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
737 | - | z3, |
737 | + | tr1.LightEmission = 1 |
738 | - | msh |
738 | + | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
739 | - | }) |
739 | + | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
740 | tr1.Lifetime = 0.6 | |
741 | - | table.insert(Effects, { |
741 | + | |
742 | - | prt, |
742 | + | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
743 | - | "Block3", |
743 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
744 | - | delay, |
744 | + | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
745 | - | x3, |
745 | + | |
746 | - | y3, |
746 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
747 | - | z3, |
747 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
748 | - | msh |
748 | + | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
749 | - | }) |
749 | + | A0 = Instance.new('Attachment',wed) |
750 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
751 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
752 | - | }, |
752 | + | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
753 | - | Sphere = { |
753 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
754 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
754 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
755 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
755 | + | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
756 | - | prt.Anchored = true |
756 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
757 | - | prt.CFrame = cframe |
757 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
758 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
758 | + | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
759 | - | game:GetService("Debris"):AddItem(prt, 10) |
759 | + | A1 = Instance.new('Attachment',wed) |
760 | - | table.insert(Effects, { |
760 | + | |
761 | - | prt, |
761 | + | tr2 = Instance.new('Trail',wed) |
762 | - | "Cylinder", |
762 | + | tr2.Attachment0 = A0 |
763 | - | delay, |
763 | + | tr2.Attachment1 = A1 |
764 | - | x3, |
764 | + | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
765 | - | y3, |
765 | + | tr2.LightEmission = 1 |
766 | - | z3, |
766 | + | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
767 | - | msh |
767 | + | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
768 | tr2.Lifetime = 0.6 | |
769 | ||
770 | - | }, |
770 | + | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
771 | - | Cylinder = { |
771 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
772 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
772 | + | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
773 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
773 | + | |
774 | - | prt.Anchored = true |
774 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
775 | - | prt.CFrame = cframe |
775 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
776 | - | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
776 | + | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
777 | - | game:GetService("Debris"):AddItem(prt, 10) |
777 | + | A0 = Instance.new('Attachment',wed) |
778 | - | table.insert(Effects, { |
778 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
779 | - | prt, |
779 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
780 | - | "Cylinder", |
780 | + | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
781 | - | delay, |
781 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
782 | - | x3, |
782 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
783 | - | y3, |
783 | + | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
784 | - | z3, |
784 | + | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
785 | - | msh |
785 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
786 | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
787 | A1 = Instance.new('Attachment',wed) | |
788 | - | }, |
788 | + | |
789 | - | Wave = { |
789 | + | tr3 = Instance.new('Trail',wed) |
790 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
790 | + | tr3.Attachment0 = A0 |
791 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
791 | + | tr3.Attachment1 = A1 |
792 | - | prt.Anchored = true |
792 | + | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
793 | - | prt.CFrame = cframe |
793 | + | tr3.LightEmission = 1 |
794 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) |
794 | + | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
795 | - | game:GetService("Debris"):AddItem(prt, 10) |
795 | + | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
796 | - | table.insert(Effects, { |
796 | + | tr3.Lifetime = 0.6 |
797 | - | prt, |
797 | + | |
798 | - | "Cylinder", |
798 | + | |
799 | - | delay, |
799 | + | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
800 | - | x3 / 60, |
800 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
801 | - | y3 / 60, |
801 | + | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
802 | - | z3 / 60, |
802 | + | |
803 | - | msh |
803 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
804 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
805 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
806 | - | }, |
806 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
807 | - | Ring = { |
807 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
808 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
808 | + | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
809 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
809 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
810 | - | prt.Anchored = true |
810 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
811 | - | prt.CFrame = cframe |
811 | + | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
812 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
812 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
813 | - | game:GetService("Debris"):AddItem(prt, 10) |
813 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
814 | - | table.insert(Effects, { |
814 | + | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
815 | - | prt, |
815 | + | |
816 | - | "Cylinder", |
816 | + | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
817 | - | delay, |
817 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
818 | - | x3, |
818 | + | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
819 | - | y3, |
819 | + | |
820 | - | z3, |
820 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
821 | - | msh |
821 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
822 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
823 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
824 | - | }, |
824 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
825 | - | Break = { |
825 | + | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
826 | - | Create = function(brickcolor, cframe, x1, y1, z1) |
826 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
827 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
827 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
828 | - | prt.Anchored = true |
828 | + | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
829 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
829 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
830 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
830 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
831 | - | local num = math.random(10, 50) / 1000 |
831 | + | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
832 | - | game:GetService("Debris"):AddItem(prt, 10) |
832 | + | |
833 | - | table.insert(Effects, { |
833 | + | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
834 | - | prt, |
834 | + | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
835 | - | "Shatter", |
835 | + | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
836 | - | num, |
836 | + | |
837 | - | prt.CFrame, |
837 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
838 | - | math.random() - math.random(), |
838 | + | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
839 | - | 0, |
839 | + | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
840 | - | math.random(50, 100) / 100 |
840 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
841 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
842 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
843 | - | }, |
843 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
844 | - | Spiral = { |
844 | + | CreateMesh(wed,"Wedge",0.05,0.5,3) |
845 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
845 | + | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
846 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
846 | + | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
847 | - | prt.Anchored = true |
847 | + | CreateMesh(wed,"Wedge",0.05,3,0.5) |
848 | - | prt.CFrame = cframe |
848 | + | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
849 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
849 | + | |
850 | - | game:GetService("Debris"):AddItem(prt, 10) |
850 | + | ---- HERES THE RING |
851 | - | table.insert(Effects, { |
851 | + | |
852 | - | prt, |
852 | + | |
853 | - | "Cylinder", |
853 | + | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
854 | - | delay, |
854 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
855 | - | x3, |
855 | + | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
856 | - | y3, |
856 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
857 | - | z3, |
857 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
858 | - | msh |
858 | + | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
859 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
860 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
861 | - | }, |
861 | + | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
862 | - | Push = { |
862 | + | |
863 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
863 | + | |
864 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
864 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
865 | - | prt.Anchored = true |
865 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
866 | - | prt.CFrame = cframe |
866 | + | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
867 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
867 | + | |
868 | - | game:GetService("Debris"):AddItem(prt, 10) |
868 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
869 | - | table.insert(Effects, { |
869 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
870 | - | prt, |
870 | + | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
871 | - | "Cylinder", |
871 | + | |
872 | - | delay, |
872 | + | |
873 | - | x3, |
873 | + | |
874 | - | y3, |
874 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
875 | - | z3, |
875 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
876 | - | msh |
876 | + | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
877 | ||
878 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
879 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
880 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
881 | - | ------------------------------------------------------- |
881 | + | |
882 | - | --End Effect Function-- |
882 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
883 | - | ------------------------------------------------------- |
883 | + | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
884 | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
885 | - | function CreateSound(ID, PARENT, VOLUME, PITCH) |
885 | + | |
886 | - | local NSound = nil |
886 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
887 | - | coroutine.resume(coroutine.create(function() |
887 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
888 | - | NSound = Instance.new("Sound", PARENT) |
888 | + | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
889 | - | NSound.Volume = VOLUME |
889 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
890 | - | NSound.Pitch = PITCH |
890 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
891 | - | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID |
891 | + | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
892 | ||
893 | - | NSound:play() |
893 | + | --- second ring |
894 | - | game:GetService("Debris"):AddItem(NSound, 10) |
894 | + | |
895 | - | end)) |
895 | + | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
896 | - | return NSound |
896 | + | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
897 | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
898 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
899 | - | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
899 | + | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
900 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
900 | + | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
901 | - | prt.Anchored = true |
901 | + | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
902 | - | prt.CFrame = cframe |
902 | + | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
903 | - | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
903 | + | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
904 | - | game:GetService("Debris"):AddItem(prt, 10) |
904 | + | |
905 | - | if Type == 1 or Type == nil then |
905 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
906 | - | table.insert(Effects, { |
906 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
907 | - | prt, |
907 | + | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
908 | - | "Block1", |
908 | + | |
909 | - | delay, |
909 | + | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
910 | - | x3, |
910 | + | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
911 | - | y3, |
911 | + | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
912 | - | z3, |
912 | + | |
913 | - | msh |
913 | + | |
914 | ||
915 | - | elseif Type == 2 then |
915 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
916 | - | table.insert(Effects, { |
916 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
917 | - | prt, |
917 | + | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
918 | - | "Block2", |
918 | + | |
919 | - | delay, |
919 | + | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
920 | - | x3, |
920 | + | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
921 | - | y3, |
921 | + | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
922 | - | z3, |
922 | + | |
923 | - | msh |
923 | + | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
924 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
925 | - | elseif Type == 3 then |
925 | + | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
926 | - | table.insert(Effects, { |
926 | + | |
927 | - | prt, |
927 | + | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
928 | - | "Block3", |
928 | + | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
929 | - | delay, |
929 | + | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
930 | - | x3, |
930 | + | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
931 | - | y3, |
931 | + | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
932 | - | z3, |
932 | + | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- |
933 | - | msh |
933 | + | |
934 | ||
935 | ||
936 | for i, v in pairs(m:GetChildren()) do | |
937 | if v:IsA("Part") then | |
938 | v.BrickColor = BrickColor.new("Really black") | |
939 | - | local fp=Instance.new("Part") |
939 | + | v.Material = "Glass" |
940 | end | |
941 | end | |
942 | for i, v in pairs(m2:GetChildren()) do | |
943 | if v:IsA("Part") then | |
944 | v.BrickColor = BrickColor.new("Crimson") | |
945 | v.Material = "Granite" | |
946 | end | |
947 | end | |
948 | for i, v in pairs(m3:GetChildren()) do | |
949 | - | fp.Position=tors.Position |
949 | + | if v:IsA("Part") then |
950 | - | RemoveOutlines(fp) |
950 | + | v.BrickColor = BrickColor.new("Really red") |
951 | v.Material = "Neon" | |
952 | end | |
953 | end | |
954 | for i, v in pairs(mw2:GetChildren()) do | |
955 | if v:IsA("Part") then | |
956 | v.BrickColor = BrickColor.new("Really red") | |
957 | - | local mesh=Instance.new(Mesh) |
957 | + | v.Material = "Neon" |
958 | end | |
959 | end | |
960 | for i, v in pairs(mw1:GetChildren()) do | |
961 | if v:IsA("Part") then | |
962 | v.Transparency = 1 | |
963 | v.BrickColor = BrickColor.new("Really red") | |
964 | v.Material = "Neon" | |
965 | end | |
966 | end | |
967 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
968 | if v:IsA("Part") then | |
969 | v.Transparency = 1 | |
970 | - | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
970 | + | v.BrickColor = BrickColor.new("White") |
971 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
971 | + | v.Material = "Neon" |
972 | - | prt.Anchored = true |
972 | + | |
973 | - | prt.Material = "Neon" |
973 | + | |
974 | - | prt.CFrame = cframe |
974 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
975 | - | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
975 | + | if v:IsA("Part") then |
976 | - | game:GetService("Debris"):AddItem(prt, 5) |
976 | + | v.Transparency = 1 |
977 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
977 | + | v.BrickColor = BrickColor.new("White") |
978 | - | local rtype = rottype |
978 | + | v.Material = "Neon" |
979 | - | for i = 0, 1, delay do |
979 | + | |
980 | - | swait() |
980 | + | |
981 | - | if rtype == 1 then |
981 | + | local MAINRUINCOLOR = BrickColor.new("Really red") |
982 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
982 | + | ------ |
983 | - | elseif rtype == 2 then |
983 | + | |
984 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
984 | + | |
985 | function RemoveOutlines(part) | |
986 | - | prt.Transparency = i |
986 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
987 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
987 | + | |
988 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
989 | - | Part.Parent = nil |
989 | + | local Part = Create("Part")({ |
990 | - | end), prt, msh) |
990 | + | Parent = Parent, |
991 | Reflectance = Reflectance, | |
992 | Transparency = Transparency, | |
993 | CanCollide = false, | |
994 | - | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
994 | + | Locked = true, |
995 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
995 | + | BrickColor = BrickColor.new(tostring(BColor)), |
996 | - | prt.Anchored = true |
996 | + | Name = Name, |
997 | - | prt.Material = "Neon" |
997 | + | Size = Size, |
998 | - | prt.CFrame = cframe |
998 | + | Material = Material |
999 | - | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
999 | + | }) |
1000 | - | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1000 | + | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
1001 | - | game:GetService("Debris"):AddItem(prt, 5) |
1001 | + | RemoveOutlines(Part) |
1002 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
1002 | + | return Part |
1003 | - | for i = 0, 1, delay do |
1003 | + | |
1004 | - | swait() |
1004 | + | |
1005 | - | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
1005 | + | local Msh = Create(Mesh)({ |
1006 | - | Part.Transparency = i |
1006 | + | Parent = Part, |
1007 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
1007 | + | Offset = OffSet, |
1008 | Scale = Scale | |
1009 | - | Part.Parent = nil |
1009 | + | }) |
1010 | - | end), prt, msh) |
1010 | + | if Mesh == "SpecialMesh" then |
1011 | Msh.MeshType = MeshType | |
1012 | Msh.MeshId = MeshId | |
1013 | end | |
1014 | - | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) |
1014 | + | return Msh |
1015 | - | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
1015 | + | |
1016 | - | prt.Anchored = true |
1016 | + | |
1017 | - | prt.Material = "Neon" |
1017 | + | local Weld = Create("Weld")({ |
1018 | - | prt.CFrame = cframe |
1018 | + | Parent = Parent, |
1019 | - | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01)) |
1019 | + | Part0 = Part0, |
1020 | - | game:GetService("Debris"):AddItem(prt, 5) |
1020 | + | Part1 = Part1, |
1021 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
1021 | + | C0 = C0, |
1022 | - | local rtype = rottype |
1022 | + | C1 = C1 |
1023 | - | for i = 0, 1, delay do |
1023 | + | }) |
1024 | - | swait() |
1024 | + | return Weld |
1025 | - | if rtype == 1 then |
1025 | + | |
1026 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1026 | + | |
1027 | - | elseif rtype == 2 then |
1027 | + | Player=game:GetService("Players").LocalPlayer |
1028 | - | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1028 | + | Character=Player.Character |
1029 | PlayerGui=Player.PlayerGui | |
1030 | - | prt.Transparency = i |
1030 | + | Backpack=Player.Backpack |
1031 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) |
1031 | + | Torso=Character.Torso |
1032 | Head=Character.Head | |
1033 | - | Part.Parent = nil |
1033 | + | Humanoid=Character.Humanoid |
1034 | - | end), prt, msh) |
1034 | + | m=Instance.new('Model',Character) |
1035 | LeftArm=Character["Left Arm"] | |
1036 | LeftLeg=Character["Left Leg"] | |
1037 | - | function Eviscerate(dude) |
1037 | + | RightArm=Character["Right Arm"] |
1038 | - | if dude.Name ~= char then |
1038 | + | RightLeg=Character["Right Leg"] |
1039 | - | local bgf = IT("BodyGyro", dude.Head) |
1039 | + | LS=Torso["Left Shoulder"] |
1040 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
1040 | + | LH=Torso["Left Hip"] |
1041 | - | local val = IT("BoolValue", dude) |
1041 | + | RS=Torso["Right Shoulder"] |
1042 | - | val.Name = "IsHit" |
1042 | + | RH=Torso["Right Hip"] |
1043 | - | local ds = coroutine.wrap(function() |
1043 | + | Face = Head.face |
1044 | - | dude:WaitForChild("Head"):BreakJoints() |
1044 | + | Neck=Torso.Neck |
1045 | - | wait(0.5) |
1045 | + | it=Instance.new |
1046 | - | target = nil |
1046 | + | attacktype=1 |
1047 | vt=Vector3.new | |
1048 | - | for i, v in pairs(dude:GetChildren()) do |
1048 | + | cf=CFrame.new |
1049 | - | if v:IsA("Accessory") then |
1049 | + | euler=CFrame.fromEulerAnglesXYZ |
1050 | - | v:Destroy() |
1050 | + | angles=CFrame.Angles |
1051 | - | end |
1051 | + | cloaked=false |
1052 | - | if v:IsA("Humanoid") then |
1052 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
1053 | - | v:Destroy() |
1053 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
1054 | - | end |
1054 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
1055 | - | if v:IsA("CharacterMesh") then |
1055 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
1056 | - | v:Destroy() |
1056 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
1057 | - | end |
1057 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
1058 | - | if v:IsA("Model") then |
1058 | + | RootPart=Character.HumanoidRootPart |
1059 | - | v:Destroy() |
1059 | + | RootJoint=RootPart.RootJoint |
1060 | - | end |
1060 | + | RootCF=euler(-1.57,0,3.14) |
1061 | - | if v:IsA("Part") or v:IsA("MeshPart") then |
1061 | + | attack = false |
1062 | - | for x, o in pairs(v:GetChildren()) do |
1062 | + | attackdebounce = false |
1063 | - | if o:IsA("Decal") then |
1063 | + | deb=false |
1064 | - | o:Destroy() |
1064 | + | equipped=true |
1065 | hand=false | |
1066 | - | end |
1066 | + | MMouse=nil |
1067 | - | coroutine.resume(coroutine.create(function() |
1067 | + | combo=0 |
1068 | - | v.Material = "Neon" |
1068 | + | mana=0 |
1069 | - | v.CanCollide = false |
1069 | + | trispeed=.2 |
1070 | - | local PartEmmit1 = IT("ParticleEmitter", v) |
1070 | + | attackmode='none' |
1071 | - | PartEmmit1.LightEmission = 1 |
1071 | + | local idle=0 |
1072 | - | PartEmmit1.Texture = "rbxassetid://284205403" |
1072 | + | local Anim="Idle" |
1073 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
1073 | + | local Effects={} |
1074 | - | PartEmmit1.Rate = 150 |
1074 | + | local gun=false |
1075 | - | PartEmmit1.Lifetime = NumberRange.new(1) |
1075 | + | local shoot=false |
1076 | - | PartEmmit1.Size = NumberSequence.new({ |
1076 | + | local sine = 0 |
1077 | - | NumberSequenceKeypoint.new(0, 0.75, 0), |
1077 | + | |
1078 | - | NumberSequenceKeypoint.new(1, 0, 0) |
1078 | + | player=nil |
1079 | - | }) |
1079 | + | |
1080 | - | PartEmmit1.Transparency = NumberSequence.new({ |
1080 | + | |
1081 | - | NumberSequenceKeypoint.new(0, 0, 0), |
1081 | + | local toggleTag = true |
1082 | - | NumberSequenceKeypoint.new(1, 1, 0) |
1082 | + | local txt = Instance.new("BillboardGui", Head) |
1083 | - | }) |
1083 | + | txt.Adornee = nil |
1084 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
1084 | + | txt.Name = "NameDetect" |
1085 | - | PartEmmit1.VelocitySpread = 30000 |
1085 | + | txt.Size = UDim2.new(4, 0, 1.2, 0) |
1086 | - | PartEmmit1.Rotation = NumberRange.new(-500, 500) |
1086 | + | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
1087 | - | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) |
1087 | + | local text = Instance.new("TextLabel", txt) |
1088 | - | local BodPoss = IT("BodyPosition", v) |
1088 | + | text.Size = UDim2.new(10/2, 0, 7/2, 0) |
1089 | - | BodPoss.P = 3000 |
1089 | + | text.FontSize = "Size8" |
1090 | - | BodPoss.D = 1000 |
1090 | + | text.TextScaled = true |
1091 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
1091 | + | text.TextTransparency = 0 |
1092 | - | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
1092 | + | text.BackgroundTransparency = 1 |
1093 | - | v.Color = maincolor.Color |
1093 | + | text.TextTransparency = 0 |
1094 | - | coroutine.resume(coroutine.create(function() |
1094 | + | text.TextStrokeTransparency = 0 |
1095 | - | for i = 0, 49 do |
1095 | + | text.Font = "Fantasy" |
1096 | - | swait(1) |
1096 | + | text.TextStrokeColor3 = Color3.new(1,0,0) |
1097 | - | v.Transparency = v.Transparency + 0.08 |
1097 | + | text.TextColor3 = Color3.new(0,0,0) |
1098 | text.Text = "Mayhem" | |
1099 | - | wait(0.5) |
1099 | + | |
1100 | - | PartEmmit1.Enabled = false |
1100 | + | function RecolorTextAndRename(name,col1,col2) |
1101 | - | wait(3) |
1101 | + | text.TextStrokeColor3 = col2 |
1102 | - | v:Destroy() |
1102 | + | text.TextColor3 = col1 |
1103 | - | dude:Destroy() |
1103 | + | text.Text = name |
1104 | - | end)) |
1104 | + | |
1105 | - | end)) |
1105 | + | mouse=Player:GetMouse() |
1106 | - | end |
1106 | + | --save shoulders |
1107 | - | end |
1107 | + | RSH, LSH=nil, nil |
1108 | --welds | |
1109 | - | end) |
1109 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
1110 | - | ds() |
1110 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
1111 | LH=Torso["Left Hip"] | |
1112 | RH=Torso["Right Hip"] | |
1113 | TorsoColor=Torso.BrickColor | |
1114 | function NoOutline(Part) | |
1115 | - | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
1115 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
1116 | end | |
1117 | player=Player | |
1118 | ch=Character | |
1119 | - | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then |
1119 | + | RSH=ch.Torso["Right Shoulder"] |
1120 | - | table.insert(List, v) |
1120 | + | LSH=ch.Torso["Left Shoulder"] |
1121 | -- | |
1122 | RSH.Parent=nil | |
1123 | LSH.Parent=nil | |
1124 | -- | |
1125 | - | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
1125 | + | RW.Name="Right Shoulder" |
1126 | - | local type = type |
1126 | + | RW.Part0=ch.Torso |
1127 | - | local rng = Instance.new("Part", char) |
1127 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
1128 | - | rng.Anchored = true |
1128 | + | RW.C1=cf(0, 0.5, 0) |
1129 | - | rng.BrickColor = color |
1129 | + | RW.Part1=ch["Right Arm"] |
1130 | - | rng.CanCollide = false |
1130 | + | RW.Parent=ch.Torso |
1131 | - | rng.FormFactor = 3 |
1131 | + | -- |
1132 | - | rng.Name = "Ring" |
1132 | + | LW.Name="Left Shoulder" |
1133 | - | rng.Material = "Neon" |
1133 | + | LW.Part0=ch.Torso |
1134 | - | rng.Size = Vector3.new(1, 1, 1) |
1134 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
1135 | - | rng.Transparency = 0 |
1135 | + | LW.C1=cf(0, 0.5, 0) |
1136 | - | rng.TopSurface = 0 |
1136 | + | LW.Part1=ch["Left Arm"] |
1137 | - | rng.BottomSurface = 0 |
1137 | + | LW.Parent=ch.Torso |
1138 | - | rng.CFrame = pos |
1138 | + | |
1139 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
1139 | + | local Stats=Instance.new("BoolValue") |
1140 | - | local rngm = Instance.new("SpecialMesh", rng) |
1140 | + | Stats.Name="Stats" |
1141 | - | rngm.MeshType = "Sphere" |
1141 | + | Stats.Parent=Character |
1142 | - | rngm.Scale = Vector3.new(x1, y1, z1) |
1142 | + | local Atk=Instance.new("NumberValue") |
1143 | - | local scaler2 = 1 |
1143 | + | Atk.Name="Damage" |
1144 | - | local speeder = FastSpeed |
1144 | + | Atk.Parent=Stats |
1145 | - | if type == "Add" then |
1145 | + | Atk.Value=1 |
1146 | - | scaler2 = 1 * value |
1146 | + | local Def=Instance.new("NumberValue") |
1147 | - | elseif type == "Divide" then |
1147 | + | Def.Name="Defense" |
1148 | - | scaler2 = 1 / value |
1148 | + | Def.Parent=Stats |
1149 | Def.Value=1 | |
1150 | - | coroutine.resume(coroutine.create(function() |
1150 | + | local Speed=Instance.new("NumberValue") |
1151 | - | for i = 0, 10 / bonuspeed, 0.1 do |
1151 | + | Speed.Name="Speed" |
1152 | - | swait() |
1152 | + | Speed.Parent=Stats |
1153 | - | if type == "Add" then |
1153 | + | Speed.Value=1 |
1154 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
1154 | + | local Mvmt=Instance.new("NumberValue") |
1155 | - | elseif type == "Divide" then |
1155 | + | Mvmt.Name="Movement" |
1156 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
1156 | + | Mvmt.Parent=Stats |
1157 | Mvmt.Value=1 | |
1158 | - | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
1158 | + | |
1159 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
1159 | + | local donum=0 |
1160 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
1160 | + | |
1161 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
1161 | + | |
1162 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1163 | - | rng:Destroy() |
1163 | + | local fp=it("Part") |
1164 | - | end)) |
1164 | + | |
1165 | fp.Parent=parent | |
1166 | - | ------------------------------------------------------- |
1166 | + | |
1167 | - | --End Important Functions-- |
1167 | + | |
1168 | - | ------------------------------------------------------- |
1168 | + | |
1169 | fp.Locked=true | |
1170 | - | --[[ |
1170 | + | |
1171 | - | Thanks for using Build-To-Lua by jarredbcv. |
1171 | + | |
1172 | - | ]]-- |
1172 | + | |
1173 | fp.Position=Torso.Position | |
1174 | NoOutline(fp) | |
1175 | fp.Material="SmoothPlastic" | |
1176 | fp:BreakJoints() | |
1177 | return fp | |
1178 | end | |
1179 | ||
1180 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1181 | local mesh=it(Mesh) | |
1182 | mesh.Parent=part | |
1183 | if Mesh=="SpecialMesh" then | |
1184 | - | NewInstance = function(instance,parent,properties) |
1184 | + | |
1185 | - | local inst = Instance.new(instance,parent) |
1185 | + | |
1186 | - | if(properties)then |
1186 | + | |
1187 | - | for i,v in next, properties do |
1187 | + | |
1188 | - | pcall(function() inst[i] = v end) |
1188 | + | |
1189 | mesh.Offset=offset | |
1190 | mesh.Scale=scale | |
1191 | - | return inst; |
1191 | + | |
1192 | end | |
1193 | ||
1194 | - | Gunty = New("Model",char,"Gunty",{}) |
1194 | + | function weld(parent,part0,part1,c0) |
1195 | - | Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 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),}) |
1195 | + | local weld=it("Weld") |
1196 | - | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),}) |
1196 | + | weld.Parent=parent |
1197 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1197 | + | weld.Part0=part0 |
1198 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),}) |
1198 | + | weld.Part1=part1 |
1199 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1199 | + | weld.C0=c0 |
1200 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1200 | + | return weld |
1201 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1201 | + | |
1202 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1202 | + | |
1203 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) |
1203 | + | local Color1=Torso.BrickColor |
1204 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1204 | + | |
1205 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1205 | + | local bodvel=Instance.new("BodyVelocity") |
1206 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) |
1206 | + | local bg=Instance.new("BodyGyro") |
1207 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1207 | + | |
1208 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1208 | + | |
1209 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) |
1209 | + | if num==0 or num==nil then |
1210 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1210 | + | game:service'RunService'.Stepped:wait(0) |
1211 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1211 | + | else |
1212 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) |
1212 | + | for i=0,num do |
1213 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1213 | + | game:service'RunService'.Stepped:wait(0) |
1214 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1214 | + | |
1215 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1215 | + | |
1216 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1216 | + | |
1217 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1217 | + | |
1218 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1218 | + | -------- RAINBOW LEAVE IT TO ME |
1219 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1219 | + | local r = 255 |
1220 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1220 | + | local g = 0 |
1221 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1221 | + | local b = 0 |
1222 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1222 | + | |
1223 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1223 | + | while wait() do |
1224 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1224 | + | for i = 0, 254/5 do |
1225 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1225 | + | |
1226 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1226 | + | g = g + 5 |
1227 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
1227 | + | |
1228 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) |
1228 | + | for i = 0, 254/5 do |
1229 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1229 | + | |
1230 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),}) |
1230 | + | r = r - 5 |
1231 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),}) |
1231 | + | |
1232 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1232 | + | for i = 0, 254/5 do |
1233 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1233 | + | |
1234 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) |
1234 | + | b = b + 5 |
1235 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1235 | + | |
1236 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),}) |
1236 | + | for i = 0, 254/5 do |
1237 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1237 | + | |
1238 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1238 | + | g = g - 5 |
1239 | - | Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1239 | + | |
1240 | - | Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1240 | + | for i = 0, 254/5 do |
1241 | - | mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1241 | + | |
1242 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1242 | + | r = r + 5 |
1243 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),}) |
1243 | + | |
1244 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1244 | + | for i = 0, 254/5 do |
1245 | - | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1245 | + | |
1246 | - | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1246 | + | b = b - 5 |
1247 | - | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1247 | + | |
1248 | - | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1248 | + | |
1249 | - | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1249 | + | |
1250 | - | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1250 | + | |
1251 | - | Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1251 | + | |
1252 | - | mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1252 | + | so = function(id,par,vol,pit) |
1253 | - | Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),}) |
1253 | + | |
1254 | - | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),}) |
1254 | + | local sou = Instance.new("Sound",par or workspace) |
1255 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),}) |
1255 | + | sou.Volume=vol |
1256 | sou.Pitch=pit or 1 | |
1257 | - | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)}) |
1257 | + | sou.SoundId=id |
1258 | swait() | |
1259 | - | for _,v in next, Gunty:children() do |
1259 | + | sou:play() |
1260 | - | v.CanCollide = false |
1260 | + | game:GetService("Debris"):AddItem(sou,6) |
1261 | end)) | |
1262 | end | |
1263 | - | local all, last = {}, nil |
1263 | + | |
1264 | - | ArmourParts = {} |
1264 | + | function clerp(a,b,t) |
1265 | - | ArmourParts2 = {} |
1265 | + | local qa = {QuaternionFromCFrame(a)} |
1266 | - | NeonParts = {} |
1266 | + | local qb = {QuaternionFromCFrame(b)} |
1267 | - | function scan(p) |
1267 | + | local ax, ay, az = a.x, a.y, a.z |
1268 | - | for _, v in pairs(p:GetChildren()) do |
1268 | + | local bx, by, bz = b.x, b.y, b.z |
1269 | - | if v:IsA("BasePart") then |
1269 | + | local _t = 1-t |
1270 | - | if v.BrickColor == BrickColor.new("Smoky grey") then |
1270 | + | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
1271 | - | table.insert(ArmourParts, v) |
1271 | + | |
1272 | ||
1273 | - | if v.BrickColor == BrickColor.new("Fossil") then |
1273 | + | function QuaternionFromCFrame(cf) |
1274 | - | table.insert(ArmourParts2, v) |
1274 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
1275 | local trace = m00 + m11 + m22 | |
1276 | - | if v.BrickColor == BrickColor.new("Institutional white") then |
1276 | + | if trace > 0 then |
1277 | - | table.insert(NeonParts, v) |
1277 | + | local s = math.sqrt(1 + trace) |
1278 | local recip = 0.5/s | |
1279 | - | if last then |
1279 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
1280 | - | local w = Instance.new("Weld") |
1280 | + | else |
1281 | - | w.Part0, w.Part1 = last, v |
1281 | + | local i = 0 |
1282 | - | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() |
1282 | + | if m11 > m00 then |
1283 | - | w.Parent = last |
1283 | + | i = 1 |
1284 | end | |
1285 | - | table.insert(all, v) |
1285 | + | if m22 > (i == 0 and m00 or m11) then |
1286 | - | last = v |
1286 | + | i = 2 |
1287 | end | |
1288 | - | scan(v) |
1288 | + | if i == 0 then |
1289 | local s = math.sqrt(m00-m11-m22+1) | |
1290 | local recip = 0.5/s | |
1291 | - | scan(Gunty) |
1291 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
1292 | - | for _, v in pairs(all) do |
1292 | + | elseif i == 1 then |
1293 | - | v.Anchored = false |
1293 | + | local s = math.sqrt(m11-m22-m00+1) |
1294 | - | v.CanCollide = false |
1294 | + | local recip = 0.5/s |
1295 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1296 | elseif i == 2 then | |
1297 | - | for i, v in pairs(ArmourParts) do |
1297 | + | local s = math.sqrt(m22-m00-m11+1) |
1298 | - | v.BrickColor = BrickColor.new("Smoky grey") |
1298 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
1299 | end | |
1300 | - | for i, v in pairs(ArmourParts2) do |
1300 | + | |
1301 | - | v.BrickColor = BrickColor.new("Fossil") |
1301 | + | |
1302 | ||
1303 | - | for i, v in pairs(NeonParts) do |
1303 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
1304 | - | v.BrickColor = BrickColor.new("Institutional white") |
1304 | + | local xs, ys, zs = x + x, y + y, z + z |
1305 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1306 | - | maincolor = BrickColor.new("Institutional white") |
1306 | + | local xx = x*xs |
1307 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143" |
1307 | + | local xy = x*ys |
1308 | local xz = x*zs | |
1309 | - | ------------------------------------------------------- |
1309 | + | local yy = y*ys |
1310 | - | --Start Music Option-- |
1310 | + | local yz = y*zs |
1311 | - | ------------------------------------------------------- |
1311 | + | local zz = z*zs |
1312 | - | local Music = Instance.new("Sound",tors) |
1312 | + | 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)) |
1313 | - | Music.Volume = 7.5 |
1313 | + | |
1314 | - | Music.SoundId = "rbxassetid://1117396305" |
1314 | + | |
1315 | - | Music.Looped = true |
1315 | + | function QuaternionSlerp(a, b, t) |
1316 | - | Music.Pitch = 1 --Pitcher |
1316 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
1317 | - | Music:Play() |
1317 | + | local startInterp, finishInterp; |
1318 | - | ------------------------------------------------------- |
1318 | + | if cosTheta >= 0.0001 then |
1319 | - | --End Music Option-- |
1319 | + | if (1 - cosTheta) > 0.0001 then |
1320 | - | ------------------------------------------------------- |
1320 | + | local theta = math.acos(cosTheta) |
1321 | local invSinTheta = 1/math.sin(theta) | |
1322 | - | local naeeym2 = Instance.new("BillboardGui",char) |
1322 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
1323 | - | naeeym2.AlwaysOnTop = true |
1323 | + | finishInterp = math.sin(t*theta)*invSinTheta |
1324 | - | naeeym2.Size = UDim2.new(5,35,2,35) |
1324 | + | else |
1325 | - | naeeym2.StudsOffset = Vector3.new(0,2,0) |
1325 | + | startInterp = 1-t |
1326 | - | naeeym2.Adornee = hed |
1326 | + | finishInterp = t |
1327 | - | naeeym2.Name = "Name" |
1327 | + | |
1328 | else | |
1329 | if (1+cosTheta) > 0.0001 then | |
1330 | local theta = math.acos(-cosTheta) | |
1331 | - | tecks2.TextScaled = true |
1331 | + | local invSinTheta = 1/math.sin(theta) |
1332 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
1333 | - | tecks2.Text = "Neutral" |
1333 | + | finishInterp = math.sin(t*theta)*invSinTheta |
1334 | - | tecks2.Font = "Code" |
1334 | + | else |
1335 | startInterp = t-1 | |
1336 | finishInterp = t | |
1337 | - | tecks2.TextColor3 = Color3.new(0,0,0) |
1337 | + | |
1338 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
1338 | + | |
1339 | 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 | |
1340 | - | tecks2.Rotation = 0 |
1340 | + | |
1341 | - | tecks2.Parent = naeeym2 |
1341 | + | |
1342 | local function CFrameFromTopBack(at, top, back) | |
1343 | - | ------------------------------------------------------- |
1343 | + | local right = top:Cross(back) |
1344 | - | --Start Attacks N Stuff-- |
1344 | + | return CFrame.new(at.x, at.y, at.z, |
1345 | - | ------------------------------------------------------- |
1345 | + | right.x, top.x, back.x, |
1346 | - | local sine=0 |
1346 | + | right.y, top.y, back.y, |
1347 | - | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) |
1347 | + | right.z, top.z, back.z) |
1348 | - | local Hitboxpart = Instance.new("Part", EffectModel) |
1348 | + | |
1349 | - | RemoveOutlines(Hitboxpart) |
1349 | + | |
1350 | - | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) |
1350 | + | function Triangle(a, b, c) |
1351 | - | Hitboxpart.CanCollide = false |
1351 | + | local edg1 = (c-a):Dot((b-a).unit) |
1352 | - | Hitboxpart.Transparency = 1 |
1352 | + | local edg2 = (a-b):Dot((c-b).unit) |
1353 | - | Hitboxpart.Anchored = true |
1353 | + | local edg3 = (b-c):Dot((a-c).unit) |
1354 | - | Hitboxpart.CFrame = Pose |
1354 | + | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
1355 | - | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) |
1355 | + | a, b, c = a, b, c |
1356 | - | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) |
1356 | + | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
1357 | a, b, c = b, c, a | |
1358 | - | wait2 = false |
1358 | + | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
1359 | - | combo = 1 |
1359 | + | a, b, c = c, a, b |
1360 | - | mouse.Button1Down:connect(function(key) |
1360 | + | else |
1361 | - | if attack == false then |
1361 | + | assert(false, "unreachable") |
1362 | - | attack = true |
1362 | + | |
1363 | - | hum.WalkSpeed = 3.01 |
1363 | + | |
1364 | - | if combo == 1 and wait2 == false then |
1364 | + | local len1 = (c-a):Dot((b-a).unit) |
1365 | - | wait2 = true |
1365 | + | local len2 = (b-a).magnitude - len1 |
1366 | - | for i = 0, 1.2, 0.1 do |
1366 | + | local width = (a + (b-a).unit*len1 - c).magnitude |
1367 | - | swait() |
1367 | + | |
1368 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) |
1368 | + | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
1369 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
1369 | + | |
1370 | - | 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) |
1370 | + | local list = {} |
1371 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1371 | + | |
1372 | - | 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) |
1372 | + | if len1 > 0.01 then |
1373 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) |
1373 | + | local w1 = Instance.new('WedgePart', m) |
1374 | - | end |
1374 | + | game:GetService("Debris"):AddItem(w1,5) |
1375 | - | CreateSound("138097048", ra, 3, .8) |
1375 | + | w1.Material = "SmoothPlastic" |
1376 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") |
1376 | + | w1.FormFactor = 'Custom' |
1377 | - | for i = 0, 1.2, 0.1 do |
1377 | + | w1.BrickColor = BrickColor.new("Really red") |
1378 | - | swait() |
1378 | + | w1.Transparency = 0 |
1379 | - | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) |
1379 | + | w1.Reflectance = 0 |
1380 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) |
1380 | + | w1.Material = "SmoothPlastic" |
1381 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1381 | + | w1.CanCollide = false |
1382 | - | 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) |
1382 | + | local l1 = Instance.new("PointLight",w1) |
1383 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1383 | + | l1.Color = Color3.new(170,0,0) |
1384 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) |
1384 | + | NoOutline(w1) |
1385 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1385 | + | local sz = Vector3.new(0.2, width, len1) |
1386 | w1.Size = sz | |
1387 | - | combo = 2 |
1387 | + | local sp = Instance.new("SpecialMesh",w1) |
1388 | sp.MeshType = "Wedge" | |
1389 | - | if combo == 2 and wait2 == false then |
1389 | + | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
1390 | - | wait2 = true |
1390 | + | w1:BreakJoints() |
1391 | - | for i = 0, 1.2, 0.1 do |
1391 | + | w1.Anchored = true |
1392 | - | swait() |
1392 | + | w1.Parent = workspace |
1393 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) |
1393 | + | w1.Transparency = 0.7 |
1394 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1394 | + | table.insert(Effects,{w1,"Disappear",.01}) |
1395 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) |
1395 | + | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
1396 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1396 | + | table.insert(list,w1) |
1397 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) |
1397 | + | |
1398 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) |
1398 | + | |
1399 | if len2 > 0.01 then | |
1400 | - | CreateSound("138097048", rl, 3, 1) |
1400 | + | local w2 = Instance.new('WedgePart', m) |
1401 | - | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") |
1401 | + | game:GetService("Debris"):AddItem(w2,5) |
1402 | - | for i = 0, 1.6, 0.1 do |
1402 | + | w2.Material = "SmoothPlastic" |
1403 | - | swait() |
1403 | + | w2.FormFactor = 'Custom' |
1404 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) |
1404 | + | w2.BrickColor = BrickColor.new("Really red") |
1405 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1405 | + | w2.Transparency = 0 |
1406 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) |
1406 | + | w2.Reflectance = 0 |
1407 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) |
1407 | + | w2.Material = "SmoothPlastic" |
1408 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) |
1408 | + | w2.CanCollide = false |
1409 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) |
1409 | + | local l2 = Instance.new("PointLight",w2) |
1410 | l2.Color = Color3.new(170,0,0) | |
1411 | - | combo = 3 |
1411 | + | NoOutline(w2) |
1412 | local sz = Vector3.new(0.2, width, len2) | |
1413 | - | if combo == 3 and wait2 == false then |
1413 | + | w2.Size = sz |
1414 | - | for i = 0, 1.2, 0.1 do |
1414 | + | local sp = Instance.new("SpecialMesh",w2) |
1415 | - | swait() |
1415 | + | sp.MeshType = "Wedge" |
1416 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) |
1416 | + | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
1417 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
1417 | + | w2:BreakJoints() |
1418 | - | 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) |
1418 | + | w2.Anchored = true |
1419 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1419 | + | w2.Parent = workspace |
1420 | - | 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) |
1420 | + | w2.Transparency = 0.7 |
1421 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) |
1421 | + | table.insert(Effects,{w2,"Disappear",.01}) |
1422 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
1423 | - | CreateSound("138097048", ra, 3, .8) |
1423 | + | table.insert(list,w2) |
1424 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") |
1424 | + | |
1425 | - | for i = 0, 1.2, 0.1 do |
1425 | + | return unpack(list) |
1426 | - | swait() |
1426 | + | |
1427 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) |
1427 | + | |
1428 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1428 | + | |
1429 | - | 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) |
1429 | + | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
1430 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1430 | + | if hit.Parent == nil then |
1431 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) |
1431 | + | return |
1432 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1432 | + | |
1433 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1434 | - | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) |
1434 | + | for _, v in pairs(hit.Parent:children()) do |
1435 | - | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) |
1435 | + | if v:IsA("Humanoid") then |
1436 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") |
1436 | + | h = v |
1437 | - | for i = 0, 1.2, 0.1 do |
1437 | + | |
1438 | - | swait() |
1438 | + | |
1439 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) |
1439 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then |
1440 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1440 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then |
1441 | - | 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) |
1441 | + | return |
1442 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1442 | + | |
1443 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) |
1443 | + | local c = Create("ObjectValue")({ |
1444 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) |
1444 | + | Name = "creator", |
1445 | Value = game:service("Players").LocalPlayer, | |
1446 | - | combo = 1 |
1446 | + | Parent = h |
1447 | }) | |
1448 | - | hum.WalkSpeed = 8 |
1448 | + | game:GetService("Debris"):AddItem(c, 0.5) |
1449 | - | wait2 = false |
1449 | + | if HitSound ~= nil and HitPitch ~= nil then |
1450 | - | attack = false |
1450 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
1451 | end | |
1452 | local Damage = math.random(minim, maxim) | |
1453 | - | function Decapitate() |
1453 | + | local blocked = false |
1454 | - | local target = nil |
1454 | + | local block = hit.Parent:findFirstChild("Block") |
1455 | - | local targettorso = nil |
1455 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
1456 | - | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then |
1456 | + | blocked = true |
1457 | - | if mouse.Target.Parent.Humanoid.PlatformStand == false then |
1457 | + | block.Value = block.Value - 1 |
1458 | - | target = mouse.Target.Parent.Humanoid |
1458 | + | print(block.Value) |
1459 | - | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") |
1459 | + | |
1460 | - | targethead = mouse.Target.Parent:FindFirstChild("Head") |
1460 | + | if blocked == false then |
1461 | HitHealth = h.Health | |
1462 | h.Health = h.Health - Damage | |
1463 | - | if target ~= nil then |
1463 | + | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
1464 | - | targettorso.Anchored = true |
1464 | + | print("gained kill") |
1465 | - | attack = true |
1465 | + | |
1466 | - | hum.WalkSpeed = 0 |
1466 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1467 | - | root.CFrame = targettorso.CFrame * CF(0,0,2.6) |
1467 | + | else |
1468 | - | for i = 0,4.2,0.1 do |
1468 | + | h.Health = h.Health - Damage / 2 |
1469 | - | swait() |
1469 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1470 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) |
1470 | + | |
1471 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) |
1471 | + | if Type == "Knockdown" then |
1472 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) |
1472 | + | local hum = hit.Parent.Humanoid |
1473 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) |
1473 | + | hum.PlatformStand = true |
1474 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) |
1474 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
1475 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
1475 | + | swait(1) |
1476 | HHumanoid.PlatformStand = false | |
1477 | - | local ModelHead01 = New("Model", char, "", {}) |
1477 | + | end), hum) |
1478 | - | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {}) |
1478 | + | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
1479 | - | local Head01 = targethead:Clone() |
1479 | + | local bodvol = Create("BodyVelocity")({ |
1480 | - | targethead.Transparency = 1 |
1480 | + | velocity = angle * knockback, |
1481 | - | Head01.Parent = ModelHead01 |
1481 | + | P = 5000, |
1482 | - | local weldHead01 = Instance.new("Weld") |
1482 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1483 | - | weldHead01.Parent = Head01 |
1483 | + | Parent = hit |
1484 | - | weldHead01.Part0 = targethead |
1484 | + | |
1485 | - | weldHead01.Part1 = Head01 |
1485 | + | local rl = Create("BodyAngularVelocity")({ |
1486 | - | weldHead01.C1 = CFrame.new(0, 0, 0) |
1486 | + | P = 3000, |
1487 | - | targethead.face:Remove() |
1487 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
1488 | - | weldHead01.Part0 = ra |
1488 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
1489 | - | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) |
1489 | + | Parent = hit |
1490 | - | targettorso:BreakJoints() |
1490 | + | |
1491 | - | CreateSound("314390675", targettorso, 5, .7) |
1491 | + | game:GetService("Debris"):AddItem(bodvol, 0.5) |
1492 | - | for i = 0,3.2,0.1 do |
1492 | + | game:GetService("Debris"):AddItem(rl, 0.5) |
1493 | - | swait() |
1493 | + | elseif Type == "Normal" then |
1494 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) |
1494 | + | local vp = Create("BodyVelocity")({ |
1495 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) |
1495 | + | P = 500, |
1496 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) |
1496 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
1497 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) |
1497 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
1498 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) |
1498 | + | |
1499 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
1499 | + | if knockback > 0 then |
1500 | vp.Parent = hit.Parent.Head | |
1501 | - | for i = 0,4.2,0.1 do |
1501 | + | |
1502 | - | swait() |
1502 | + | game:GetService("Debris"):AddItem(vp, 0.5) |
1503 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) |
1503 | + | elseif Type == "Up" then |
1504 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) |
1504 | + | local bodyVelocity = Create("BodyVelocity")({ |
1505 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) |
1505 | + | velocity = Vector3.new(0, 20, 0), |
1506 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) |
1506 | + | P = 5000, |
1507 | - | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) |
1507 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1508 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) |
1508 | + | Parent = hit |
1509 | }) | |
1510 | - | CreateSound("541909763", targettorso, 5, .8) |
1510 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1511 | - | weldHead01:Destroy() |
1511 | + | local bodyVelocity = Create("BodyVelocity")({ |
1512 | - | Head01.CanCollide = true |
1512 | + | velocity = Vector3.new(0, 20, 0), |
1513 | - | local bodyVelocity2 = Create("BodyVelocity")({ |
1513 | + | P = 5000, |
1514 | - | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, |
1514 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1515 | - | P = 5000, |
1515 | + | Parent = hit |
1516 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1516 | + | |
1517 | - | Parent = Head01 |
1517 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
1518 | - | }) |
1518 | + | elseif Type == "Leech" then |
1519 | - | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) |
1519 | + | local hum = hit.Parent.Humanoid |
1520 | - | for i = 0,6.2,0.1 do |
1520 | + | if hum ~= nil then |
1521 | - | swait() |
1521 | + | for i = 0, 2 do |
1522 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) |
1522 | + | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1523 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) |
1523 | + | |
1524 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) |
1524 | + | Humanoid.Health = Humanoid.Health + 10 |
1525 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) |
1525 | + | |
1526 | - | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) |
1526 | + | elseif Type == "UpKnock" then |
1527 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) |
1527 | + | local hum = hit.Parent.Humanoid |
1528 | hum.PlatformStand = true | |
1529 | - | targettorso.Anchored = false |
1529 | + | if hum ~= nil then |
1530 | - | attack = false |
1530 | + | hitr = true |
1531 | - | hum.WalkSpeed = 8 |
1531 | + | |
1532 | - | root.CFrame = targettorso.CFrame * CF(0,0,3.4) |
1532 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
1533 | swait(5) | |
1534 | HHumanoid.PlatformStand = false | |
1535 | - | function Laugh() |
1535 | + | hitr = false |
1536 | end), hum) | |
1537 | local bodyVelocity = Create("BodyVelocity")({ | |
1538 | - | CreateSound("300208779", hed, 10, 1) |
1538 | + | velocity = Vector3.new(0, 20, 0), |
1539 | - | for i = 0,9,0.1 do |
1539 | + | P = 5000, |
1540 | maxForce = Vector3.new(8000, 8000, 8000), | |
1541 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15) |
1541 | + | Parent = hit |
1542 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3) |
1542 | + | |
1543 | - | if Mrandom(1,15) == 1 then |
1543 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1544 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) |
1544 | + | local bodyVelocity = Create("BodyVelocity")({ |
1545 | velocity = Vector3.new(0, 20, 0), | |
1546 | - | RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15) |
1546 | + | P = 5000, |
1547 | - | LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15) |
1547 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1548 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1) |
1548 | + | Parent = hit |
1549 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1) |
1549 | + | |
1550 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1551 | elseif Type == "Snare" then | |
1552 | - | hum.WalkSpeed = 10 |
1552 | + | local bp = Create("BodyPosition")({ |
1553 | P = 2000, | |
1554 | - | function Flying_Kick() |
1554 | + | D = 100, |
1555 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1556 | position = hit.Parent.Torso.Position, | |
1557 | - | for i = 0,2.7,0.1 do |
1557 | + | Parent = hit.Parent.Torso |
1558 | }) | |
1559 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) |
1559 | + | game:GetService("Debris"):AddItem(bp, 1) |
1560 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) |
1560 | + | elseif Type == "Slashnare" then |
1561 | - | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) |
1561 | + | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) |
1562 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) |
1562 | + | for i = 1, math.random(4, 5) do |
1563 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1) |
1563 | + | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1564 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1) |
1564 | + | |
1565 | local bp = Create("BodyPosition")({ | |
1566 | - | local bodyVelocity = Create("BodyVelocity")({ |
1566 | + | P = 2000, |
1567 | - | velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250, |
1567 | + | D = 100, |
1568 | - | P = 5000, |
1568 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1569 | - | maxForce = Vector3.new(9e99, 9e99, 9e99), |
1569 | + | position = hit.Parent.Torso.Position, |
1570 | - | Parent = root |
1570 | + | Parent = hit.Parent.Torso |
1571 | - | }) |
1571 | + | |
1572 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.05) |
1572 | + | game:GetService("Debris"):AddItem(bp, 1) |
1573 | - | CreateSound("138097048", rl, 3, 1) |
1573 | + | elseif Type == "Spike" then |
1574 | - | for i = 0,2.1,0.1 do |
1574 | + | CreateBigIceSword(hit.Parent.Torso.CFrame) |
1575 | local bp = Create("BodyPosition")({ | |
1576 | - | HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") |
1576 | + | P = 2000, |
1577 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15) |
1577 | + | D = 100, |
1578 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) |
1578 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1579 | - | RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15) |
1579 | + | position = hit.Parent.Torso.Position, |
1580 | - | LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15) |
1580 | + | Parent = hit.Parent.Torso |
1581 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) |
1581 | + | |
1582 | - | LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1) |
1582 | + | game:GetService("Debris"):AddItem(bp, 1) |
1583 | elseif Type == "Freeze" then | |
1584 | local BodPos = Create("BodyPosition")({ | |
1585 | - | hum.WalkSpeed = 8 |
1585 | + | P = 50000, |
1586 | D = 1000, | |
1587 | - | function UpperCut() |
1587 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1588 | position = hit.Parent.Torso.Position, | |
1589 | Parent = hit.Parent.Torso | |
1590 | - | for i = 0,2.3,0.1 do |
1590 | + | |
1591 | local BodGy = Create("BodyGyro")({ | |
1592 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) |
1592 | + | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
1593 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3) |
1593 | + | P = 20000, |
1594 | - | RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) |
1594 | + | Parent = hit.Parent.Torso, |
1595 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15) |
1595 | + | cframe = hit.Parent.Torso.CFrame |
1596 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1) |
1596 | + | |
1597 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1) |
1597 | + | hit.Parent.Torso.Anchored = true |
1598 | coroutine.resume(coroutine.create(function(Part) | |
1599 | - | CreateSound("138097048", ra, 3, .8) |
1599 | + | swait(1.5) |
1600 | - | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown") |
1600 | + | Part.Anchored = false |
1601 | - | for i = 0,2.8,0.1 do |
1601 | + | end), hit.Parent.Torso) |
1602 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1603 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15) |
1603 | + | game:GetService("Debris"):AddItem(BodGy, 3) |
1604 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) |
1604 | + | |
1605 | - | RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15) |
1605 | + | local debounce = Create("BoolValue")({ |
1606 | - | LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15) |
1606 | + | Name = "DebounceHit", |
1607 | - | RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1) |
1607 | + | Parent = hit.Parent, |
1608 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1) |
1608 | + | Value = true |
1609 | }) | |
1610 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1611 | - | hum.WalkSpeed = 8 |
1611 | + | c = Instance.new("ObjectValue") |
1612 | c.Name = "creator" | |
1613 | - | function Spinning_Kick() |
1613 | + | c.Value = Player |
1614 | c.Parent = h | |
1615 | - | hum.WalkSpeed = 3.01 |
1615 | + | game:GetService("Debris"):AddItem(c, 0.5) |
1616 | - | for i = 0, 1.2, 0.1 do |
1616 | + | |
1617 | - | swait() |
1617 | + | |
1618 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) |
1618 | + | |
1619 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1619 | + | local Rate = 0.03333333333333333 |
1620 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) |
1620 | + | local Pos = Pos or Vector3.new(0, 0, 0) |
1621 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) |
1621 | + | local Text = Text or "" |
1622 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) |
1622 | + | local Time = Time or 2 |
1623 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) |
1623 | + | local Color = Color or Color3.new(1, 0, 1) |
1624 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1625 | - | for i = 0, 4.6, 0.1 do |
1625 | + | EffectPart.Anchored = true |
1626 | - | swait() |
1626 | + | local BillboardGui = Create("BillboardGui")({ |
1627 | - | CreateSound("138097048", rl, 3, 1) |
1627 | + | Size = UDim2.new(3, 0, 3, 0), |
1628 | - | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") |
1628 | + | Adornee = EffectPart, |
1629 | - | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3) |
1629 | + | Parent = EffectPart |
1630 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
1630 | + | }) |
1631 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1) |
1631 | + | local TextLabel = Create("TextLabel")({ |
1632 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3) |
1632 | + | BackgroundTransparency = 1, |
1633 | - | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) |
1633 | + | Size = UDim2.new(1, 0, 1, 0), |
1634 | - | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3) |
1634 | + | Text = Text, |
1635 | TextColor3 = Color, | |
1636 | TextScaled = true, | |
1637 | - | hum.WalkSpeed = 8 |
1637 | + | Font = Enum.Font.ArialBold, |
1638 | Parent = BillboardGui | |
1639 | - | function Beam_Of_Light() |
1639 | + | }) |
1640 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1641 | EffectPart.Parent = game:GetService("Workspace") | |
1642 | - | function Blast_Of_God() |
1642 | + | delay(0, function() |
1643 | local Frames = Time / Rate | |
1644 | - | hum.WalkSpeed = 3.01 |
1644 | + | for Frame = 1, Frames do |
1645 | - | for i = 0,6.3,0.1 do |
1645 | + | wait(Rate) |
1646 | local Percent = Frame / Frames | |
1647 | - | Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1647 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
1648 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15) |
1648 | + | TextLabel.TextTransparency = Percent |
1649 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) |
1649 | + | |
1650 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
1650 | + | if EffectPart and EffectPart.Parent then |
1651 | - | 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) |
1651 | + | EffectPart:Destroy() |
1652 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1652 | + | |
1653 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) |
1653 | + | end) |
1654 | end | |
1655 | - | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) |
1655 | + | |
1656 | - | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03) |
1656 | + | |
1657 | - | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) |
1657 | + | local hum = c:findFirstChildOfClass("Humanoid") |
1658 | - | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05) |
1658 | + | |
1659 | - | Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) |
1659 | + | |
1660 | - | Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03) |
1660 | + | |
1661 | - | CreateSound("142070127", tors, 10, 1) |
1661 | + | |
1662 | - | MagniDamage(ra, 12, 40, 60, 10, "Normal") |
1662 | + | |
1663 | - | for i = 0,2.6,0.1 do |
1663 | + | if magni >= mag and c.Name ~= Player.Name then |
1664 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1665 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15) |
1665 | + | |
1666 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) |
1666 | + | |
1667 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) |
1667 | + | |
1668 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) |
1668 | + | |
1669 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1) |
1669 | + | |
1670 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) |
1670 | + | |
1671 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
1672 | for _, c in pairs(workspace:children()) do | |
1673 | - | hum.WalkSpeed = 8 |
1673 | + | |
1674 | if hum ~= nil then | |
1675 | - | function Diablo_Explosion() |
1675 | + | local head = c:findFirstChild("Torso") |
1676 | if head ~= nil then | |
1677 | - | hum.WalkSpeed = 3.01 |
1677 | + | |
1678 | - | for i = 0,6.3,0.1 do |
1678 | + | |
1679 | if magni >= mag and c.Name ~= Player.Name then | |
1680 | - | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1680 | + | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) |
1681 | - | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1681 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
1682 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1682 | + | |
1683 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1683 | + | |
1684 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1684 | + | |
1685 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) |
1685 | + | |
1686 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1686 | + | |
1687 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) |
1687 | + | |
1688 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1689 | - | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05) |
1689 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1690 | - | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03) |
1690 | + | |
1691 | - | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05) |
1691 | + | |
1692 | - | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05) |
1692 | + | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) |
1693 | - | Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05) |
1693 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1694 | - | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) |
1694 | + | prt.Anchored=true |
1695 | - | CreateSound("142070127", tors, 10, 1) |
1695 | + | prt.CFrame=cframe |
1696 | - | MagniDamage(tors, 12, 34, 54, 10, "DarkUp") |
1696 | + | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) |
1697 | - | for i = 0,4.6,0.1 do |
1697 | + | --http://www.roblox.com/asset/?id=4770560 |
1698 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1698 | + | game:GetService("Debris"):AddItem(prt,2) |
1699 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1699 | + | CF=prt.CFrame |
1700 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1700 | + | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) |
1701 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1701 | + | for i=0,1,0.2 do |
1702 | - | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) |
1702 | + | |
1703 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) |
1703 | + | Part.CFrame=CF*cf(0,0,-0.4) |
1704 | end | |
1705 | - | wait(.6) |
1705 | + | for i=0,1,delay do |
1706 | wait() | |
1707 | - | hum.WalkSpeed = 8 |
1707 | + | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) |
1708 | Mesh.Scale=Mesh.Scale | |
1709 | - | function Multi_Bombs() |
1709 | + | |
1710 | for i=0,1,0.1 do | |
1711 | - | hum.WalkSpeed = 3.01 |
1711 | + | |
1712 | - | for i = 0,3,0.1 do |
1712 | + | Part.Transparency=i |
1713 | end | |
1714 | - | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1714 | + | Part.Parent=nil |
1715 | - | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1715 | + | end),prt,msh,CF) |
1716 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1716 | + | |
1717 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1717 | + | |
1718 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1718 | + | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1719 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) |
1719 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1720 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1720 | + | prt.Anchored=true |
1721 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) |
1721 | + | prt.Material = "Neon" |
1722 | prt.CFrame=cframe | |
1723 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) |
1723 | + | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1724 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) |
1724 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1725 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) |
1725 | + | game:GetService("Debris"):AddItem(prt,5) |
1726 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) |
1726 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1727 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) |
1727 | + | for i=0,1,delay do |
1728 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) |
1728 | + | swait() |
1729 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) |
1729 | + | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1730 | - | CreateSound("142070127", tors, 10, 1) |
1730 | + | Part.Transparency=i |
1731 | - | MagniDamage(tors, 17, 15, 35, 10, "Normal") |
1731 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1732 | end | |
1733 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1733 | + | Part.Parent=nil |
1734 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1734 | + | end),prt,msh) |
1735 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1735 | + | |
1736 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1736 | + | |
1737 | - | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) |
1737 | + | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
1738 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) |
1738 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1739 | prt.Anchored=true | |
1740 | prt.Material = "Neon" | |
1741 | prt.CFrame=cframe | |
1742 | - | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1742 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1743 | - | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1743 | + | game:GetService("Debris"):AddItem(prt,5) |
1744 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1744 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1745 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1745 | + | local rtype = rottype |
1746 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1746 | + | for i=0,1,delay do |
1747 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) |
1747 | + | swait() |
1748 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1748 | + | if rtype == 1 then |
1749 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) |
1749 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1750 | elseif rtype == 2 then | |
1751 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) |
1751 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1752 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) |
1752 | + | |
1753 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) |
1753 | + | Part.Transparency=i |
1754 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) |
1754 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1755 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) |
1755 | + | |
1756 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) |
1756 | + | Part.Parent=nil |
1757 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) |
1757 | + | end),prt,msh) |
1758 | - | CreateSound("142070127", tors, 10, 1) |
1758 | + | |
1759 | - | MagniDamage(tors, 17, 15, 35, 10, "Normal") |
1759 | + | |
1760 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1761 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1761 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1762 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1762 | + | prt.Anchored=true |
1763 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1763 | + | prt.CFrame=cframe |
1764 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1764 | + | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1765 | - | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) |
1765 | + | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1766 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) |
1766 | + | game:GetService("Debris"):AddItem(prt,5) |
1767 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1768 | for i=0,1,delay do | |
1769 | wait() | |
1770 | - | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1770 | + | Part.Transparency=i |
1771 | - | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1771 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1772 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1772 | + | |
1773 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1773 | + | Part.Parent=nil |
1774 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1774 | + | end),prt,msh) |
1775 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15) |
1775 | + | |
1776 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1776 | + | |
1777 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) |
1777 | + | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
1778 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1779 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05) |
1779 | + | prt.Anchored=true |
1780 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03) |
1780 | + | prt.Material = "Neon" |
1781 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05) |
1781 | + | prt.CFrame=cframe |
1782 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05) |
1782 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1783 | - | Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05) |
1783 | + | game:GetService("Debris"):AddItem(prt,5) |
1784 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02) |
1784 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1785 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05) |
1785 | + | local rtype = rottype |
1786 | - | CreateSound("142070127", tors, 10, 1) |
1786 | + | for i=0,1,delay do |
1787 | - | MagniDamage(tors, 17, 15, 35, 10, "Normal") |
1787 | + | swait() |
1788 | if rtype == 1 then | |
1789 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1789 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1790 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1790 | + | elseif rtype == 2 then |
1791 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1791 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1792 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1792 | + | |
1793 | - | RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1) |
1793 | + | Part.Transparency=i |
1794 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) |
1794 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1795 | end | |
1796 | - | wait(.6) |
1796 | + | Part.Parent=nil |
1797 | end),prt,msh) | |
1798 | - | hum.WalkSpeed = 8 |
1798 | + | |
1799 | ||
1800 | - | function Hell_From_Above() |
1800 | + | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
1801 | - | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) |
1801 | + | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1802 | prt.Anchored=true | |
1803 | - | hum.WalkSpeed = 3.01 |
1803 | + | prt.Material = "Neon" |
1804 | - | for i = 0,6.3,0.1 do |
1804 | + | prt.CFrame=cframe |
1805 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1806 | - | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1806 | + | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) |
1807 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1807 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) |
1808 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1808 | + | game:GetService("Debris"):AddItem(prt,5) |
1809 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1809 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1810 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1810 | + | local rtype = rottype |
1811 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) |
1811 | + | for i=0,1,delay do |
1812 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) |
1812 | + | swait() |
1813 | if rtype == 1 then | |
1814 | - | CreateSound("142070127", tors, 10, 1) |
1814 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1815 | - | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) |
1815 | + | elseif rtype == 2 then |
1816 | - | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) |
1816 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1817 | - | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) |
1817 | + | |
1818 | - | Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05) |
1818 | + | dec.Transparency=i |
1819 | - | for i = 0,3.8,0.1 do |
1819 | + | dec2.Transparency=i |
1820 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1821 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
1821 | + | |
1822 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1822 | + | Part.Parent=nil |
1823 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1823 | + | end),prt,msh) |
1824 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1824 | + | |
1825 | - | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) |
1825 | + | |
1826 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) |
1826 | + | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
1827 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1828 | - | CreateSound("224339201", tors, 10, 0.5) |
1828 | + | prt.Anchored=true |
1829 | - | for i = 1, 3 do |
1829 | + | prt.Material = "Neon" |
1830 | - | MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp") |
1830 | + | prt.CFrame=cframe |
1831 | - | UhhhhThing.CFrame = mouse.Hit |
1831 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) |
1832 | - | Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05) |
1832 | + | game:GetService("Debris"):AddItem(prt,5) |
1833 | - | Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05) |
1833 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1834 | local rtype = rottype | |
1835 | - | UhhhhThing:Destroy() |
1835 | + | for i=0,1,delay do |
1836 | swait() | |
1837 | - | hum.WalkSpeed = 8 |
1837 | + | if rtype == 1 then |
1838 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1839 | - | function Spinning_Below() |
1839 | + | elseif rtype == 2 then |
1840 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1841 | - | hum.WalkSpeed = 3.01 |
1841 | + | |
1842 | - | CreateSound("649634100", tors, 10, 0.5) |
1842 | + | prt.Transparency=i |
1843 | - | for i = 0,6.3,0.1 do |
1843 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
1844 | end | |
1845 | - | Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1845 | + | Part.Parent=nil |
1846 | - | Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1846 | + | end),prt,msh) |
1847 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15) |
1847 | + | |
1848 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1848 | + | |
1849 | - | RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
1849 | + | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) |
1850 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
1850 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1851 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) |
1851 | + | prt.Anchored=true |
1852 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1) |
1852 | + | prt.Material = "Neon" |
1853 | prt.CFrame=cframe | |
1854 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
1855 | - | hum.WalkSpeed = 8 |
1855 | + | game:GetService("Debris"):AddItem(prt,5) |
1856 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1857 | - | function Blizzard() |
1857 | + | local rtype = rottype |
1858 | for i=0,1,delay do | |
1859 | - | hum.WalkSpeed = 2 |
1859 | + | swait() |
1860 | - | hum.JumpPower = 0 |
1860 | + | if rtype == 1 then |
1861 | - | for i = 0,70,0.1 do |
1861 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) |
1862 | - | MagniDamage(tors, 41, 1, 3, 1, "Normal") |
1862 | + | elseif rtype == 2 then |
1863 | - | Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-40,40),Mrandom(-40,40),Mrandom(-40,40)), 2, 2, 2, 4, 4, 4, 0.03) |
1863 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) |
1864 | end | |
1865 | - | Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1865 | + | prt.Transparency=i |
1866 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) |
1866 | + | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) |
1867 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) |
1867 | + | |
1868 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
1868 | + | Part.Parent=nil |
1869 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
1869 | + | end),prt,msh) |
1870 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) |
1870 | + | |
1871 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1) |
1871 | + | |
1872 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
1873 | - | hum.WalkSpeed = 16 |
1873 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1874 | - | hum.JumpPower = 50 |
1874 | + | prt.Anchored=true |
1875 | prt.Material = "Neon" | |
1876 | prt.CFrame=cframe | |
1877 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1878 | - | function Cryo_Freeze() |
1878 | + | game:GetService("Debris"):AddItem(prt,5) |
1879 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1880 | - | for i = 0,5.2,0.03 do |
1880 | + | local rtype = rottype |
1881 | for i=0,1,delay do | |
1882 | - | Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1882 | + | swait() |
1883 | - | Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1883 | + | if rtype == 1 then |
1884 | - | 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) |
1884 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1885 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1885 | + | elseif rtype == 2 then |
1886 | - | 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) |
1886 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1887 | - | 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) |
1887 | + | |
1888 | - | 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) |
1888 | + | prt.Transparency=i |
1889 | - | 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) |
1889 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
1890 | end | |
1891 | - | CreateSound("331666100", tors, 10, 1) |
1891 | + | Part.Parent=nil |
1892 | - | Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01) |
1892 | + | end),prt,msh) |
1893 | - | for i = 1,3,0.1 do |
1893 | + | |
1894 | - | hum.WalkSpeed = 0.10 |
1894 | + | |
1895 | - | MagniDamage(tors, 400, 1, 10, 0, "Normal") |
1895 | + | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
1896 | - | 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) |
1896 | + | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1897 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) |
1897 | + | prt.Anchored=true |
1898 | - | 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) |
1898 | + | prt.Material = "Neon" |
1899 | - | 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) |
1899 | + | prt.CFrame=cframe |
1900 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) |
1900 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1901 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) |
1901 | + | game:GetService("Debris"):AddItem(prt,5) |
1902 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1903 | - | for i = 1,10,0.1 do |
1903 | + | local rtype = rottype |
1904 | - | swait(10) |
1904 | + | for i=0,1,delay do |
1905 | - | hum.WalkSpeed = 0.10 |
1905 | + | swait() |
1906 | - | MagniDamage(tors, 400, 1, 1, 0, "Normal") |
1906 | + | if rtype == 1 then |
1907 | - | Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02) |
1907 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1908 | - | 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) |
1908 | + | elseif rtype == 2 then |
1909 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) |
1909 | + | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1910 | - | 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) |
1910 | + | |
1911 | - | 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) |
1911 | + | prt.Transparency=i |
1912 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) |
1912 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1913 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) |
1913 | + | |
1914 | Part.Parent=nil | |
1915 | - | wait(.6) |
1915 | + | end),prt,msh) |
1916 | end | |
1917 | ||
1918 | - | function Menacing_Aura() |
1918 | + | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
1919 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1920 | - | notmenacing = false |
1920 | + | prt.Anchored=false |
1921 | prt.CFrame=cframe | |
1922 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1923 | - | 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) |
1923 | + | local wld=weld(prt,prt,Parent,cframe) |
1924 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1924 | + | game:GetService("Debris"):AddItem(prt,5) |
1925 | - | 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) |
1925 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
1926 | - | 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) |
1926 | + | for i=0,1,delay do |
1927 | - | 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) |
1927 | + | |
1928 | - | 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) |
1928 | + | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
1929 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1930 | - | CreateSound("331666100", tors, 10, 1) |
1930 | + | Part.Transparency=i |
1931 | - | coroutine.resume(coroutine.create(function() |
1931 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1932 | - | for i = 0,25,0.1 do |
1932 | + | |
1933 | - | swait(10) |
1933 | + | Part.Parent=nil |
1934 | - | MagniDamage(tors, 6.5, 1, 2, 0, "Normal") |
1934 | + | end),prt,msh,wld) |
1935 | - | Effects.Ring.Create(maincolor, root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.20, 0.20, 0.05, 0.02) |
1935 | + | |
1936 | ||
1937 | - | notmenacing = true |
1937 | + | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
1938 | - | end)) |
1938 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1939 | - | wait(.6) |
1939 | + | prt.Anchored=false |
1940 | prt.CFrame=cframe | |
1941 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1942 | - | local alternatecooldownbecausewhynotdood = false |
1942 | + | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
1943 | - | function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly! |
1943 | + | game:GetService("Debris"):AddItem(prt,5) |
1944 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1945 | - | alternatecooldownbecausewhynotdood = true |
1945 | + | for i=0,1,delay do |
1946 | wait() | |
1947 | Weld.C0=euler(i*20,0,0) | |
1948 | - | 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) |
1948 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1949 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
1949 | + | Part.Transparency=i |
1950 | - | 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) |
1950 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1951 | - | 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) |
1951 | + | |
1952 | - | 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) |
1952 | + | Part.Parent=nil |
1953 | - | 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) |
1953 | + | end),prt,msh,wld) |
1954 | end | |
1955 | - | Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06) |
1955 | + | |
1956 | - | ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),}) |
1956 | + | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1957 | - | coroutine.resume(coroutine.create(function() |
1957 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1958 | - | for i = 1,150,0.1 do |
1958 | + | prt.Anchored=true |
1959 | - | swait() |
1959 | + | prt.CFrame=cframe |
1960 | - | MagniDamage(ref, 23.3, 3, 9, 0, "Normal") |
1960 | + | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1961 | - | Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) |
1961 | + | game:GetService("Debris"):AddItem(prt,2) |
1962 | - | Effects.Block.Create(BrickColor.new("Black"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) |
1962 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1963 | - | Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05) |
1963 | + | for i=0,1,delay do |
1964 | - | end |
1964 | + | |
1965 | - | swait(50) |
1965 | + | Part.CFrame=Part.CFrame |
1966 | - | alternatecooldownbecausewhynotdood = false |
1966 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1967 | - | ref:Remove() -- still lazy to use debris |
1967 | + | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1968 | - | end)) |
1968 | + | prt2.Anchored=true |
1969 | - | attack = false |
1969 | + | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1970 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
1971 | - | function Eruption() |
1971 | + | game:GetService("Debris"):AddItem(prt2,2) |
1972 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1973 | - | hum.WalkSpeed = 2 |
1973 | + | for i=0,1,0.1 do |
1974 | - | hum.JumpPower = 0 |
1974 | + | |
1975 | - | for i = 0,7,0.1 do |
1975 | + | Part.CFrame=Part.CFrame*cf(0,0.5,0) |
1976 | - | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal") |
1976 | + | |
1977 | Part.Parent=nil | |
1978 | - | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1978 | + | end),prt2,msh2) |
1979 | - | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
1979 | + | |
1980 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) |
1980 | + | for i=0,1,delay*2 do |
1981 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) |
1981 | + | |
1982 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
1982 | + | Part.CFrame=Part.CFrame |
1983 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
1983 | + | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
1984 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) |
1984 | + | |
1985 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) |
1985 | + | Part.Parent=nil |
1986 | end),prt,msh) | |
1987 | - | CreateSound("144699494", tors, 10, 1) |
1987 | + | |
1988 | - | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02) |
1988 | + | |
1989 | - | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02) |
1989 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1990 | - | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02) |
1990 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1991 | - | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03) |
1991 | + | prt.Anchored=true |
1992 | - | MagniDamage(tors, 30, 40, 75, 7, "DarkUp") |
1992 | + | prt.CFrame=cframe |
1993 | - | coroutine.resume(coroutine.create(function() |
1993 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1994 | - | for i = 0,1.8,0.1 do |
1994 | + | game:GetService("Debris"):AddItem(prt,2) |
1995 | - | swait() |
1995 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1996 | - | hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)) |
1996 | + | for i=0,1,delay do |
1997 | wait() | |
1998 | - | for i = 0,1.8,0.1 do |
1998 | + | Part.CFrame=Part.CFrame |
1999 | - | swait() |
1999 | + | Part.Transparency=i |
2000 | - | hum.CameraOffset = Vector3.new(0,0,0) |
2000 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2001 | end | |
2002 | - | end)) |
2002 | + | Part.Parent=nil |
2003 | - | local vel2 = Instance.new("BodyVelocity",tors) |
2003 | + | end),prt,msh) |
2004 | - | vel2.Velocity = Vector3.new(0,55,0) |
2004 | + | |
2005 | - | vel2.MaxForce = Vector3.new(10000000,10000000,10000000) |
2005 | + | |
2006 | - | for i = 0,4,0.1 do |
2006 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
2007 | - | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal") |
2007 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2008 | prt.Anchored=true | |
2009 | - | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
2009 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
2010 | - | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
2010 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
2011 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15) |
2011 | + | game:GetService("Debris"):AddItem(prt,2) |
2012 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) |
2012 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
2013 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
2013 | + | CF=Part.CFrame |
2014 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
2014 | + | Numbb=0 |
2015 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1) |
2015 | + | randnumb=math.random()/10 |
2016 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1) |
2016 | + | rand1=math.random()/10 |
2017 | for i=0,1,rand1 do | |
2018 | - | hum.WalkSpeed = 16 |
2018 | + | |
2019 | - | vel2:Destroy() |
2019 | + | CF=CF*cf(0,math.random()/2,0) |
2020 | - | hum.JumpPower = 50 |
2020 | + | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) |
2021 | Part.CFrame=CF*euler(Numbb,0,0) | |
2022 | Part.Transparency=i | |
2023 | - | function Solar_Flare() |
2023 | + | Numbb=Numbb+randnumb |
2024 | end | |
2025 | - | hum.WalkSpeed = 2 |
2025 | + | Part.Parent=nil |
2026 | - | hum.JumpPower = 75 |
2026 | + | end),prt,CF,Numbb,randnumb) |
2027 | - | hum.Jump = true |
2027 | + | |
2028 | - | wait(0.4) |
2028 | + | |
2029 | - | CreateSound("144699494", tors, 10, 1) |
2029 | + | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
2030 | - | hum.JumpPower = 0 |
2030 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2031 | - | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02) |
2031 | + | prt.Anchored=true |
2032 | - | Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02) |
2032 | + | prt.CFrame=cframe |
2033 | - | Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02) |
2033 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) |
2034 | - | for i = 0,20,0.1 do |
2034 | + | game:GetService("Debris"):AddItem(prt,5) |
2035 | - | root.Velocity = root.CFrame.lookVector * 60 |
2035 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
2036 | - | HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze") |
2036 | + | for i=0,1,delay do |
2037 | wait() | |
2038 | - | Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) |
2038 | + | Part.CFrame=Part.CFrame*euler(0,0.7,0) |
2039 | - | Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05) |
2039 | + | Part.Transparency=i |
2040 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15) |
2040 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2041 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3) |
2041 | + | |
2042 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
2042 | + | Part.Parent=nil |
2043 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) |
2043 | + | end),prt,msh) |
2044 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) |
2044 | + | |
2045 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1) |
2045 | + | |
2046 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2047 | - | hum.WalkSpeed = 16 |
2047 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2048 | - | hum.JumpPower = 50 |
2048 | + | prt.Anchored=true |
2049 | prt.CFrame=cframe | |
2050 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2051 | - | function ShadowWarp() |
2051 | + | game:GetService("Debris"):AddItem(prt,2) |
2052 | - | MagniDamage(tors, 5, 5, 10, 0, "Normal") |
2052 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
2053 | - | Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03) |
2053 | + | for i=0,1,delay do |
2054 | - | Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02) |
2054 | + | |
2055 | - | Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05) |
2055 | + | Part.CFrame=Part.CFrame*cf(0,y3/2,0) |
2056 | - | local pos = root.Position |
2056 | + | Part.Transparency=i |
2057 | - | root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos) |
2057 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2058 | - | CreateSound("769380905", tors, 10, 1) |
2058 | + | |
2059 | - | MagniDamage(tors, 5, 15, 20, 0, "DarkUp") |
2059 | + | Part.Parent=nil |
2060 | - | Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05) |
2060 | + | end),prt,msh) |
2061 | - | Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03) |
2061 | + | |
2062 | - | Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02) |
2062 | + | |
2063 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2064 | - | function Shade() |
2064 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2065 | - | hum.WalkSpeed = 3 |
2065 | + | prt.Anchored=true |
2066 | prt.CFrame=cframe*cf(x,y,z) | |
2067 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2068 | game:GetService("Debris"):AddItem(prt,5) | |
2069 | - | 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) |
2069 | + | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
2070 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2070 | + | local num=math.random() |
2071 | - | 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) |
2071 | + | local num2=math.random(-3,2)+math.random() |
2072 | - | 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) |
2072 | + | local numm=0 |
2073 | - | 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) |
2073 | + | for i=0,1,delay*2 do |
2074 | - | 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) |
2074 | + | swait() |
2075 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2076 | - | hum.WalkSpeed = 3 |
2076 | + | Part.Transparency=i |
2077 | - | CreateSound("588736969", tors, 10, 1) |
2077 | + | numm=numm+0.01 |
2078 | - | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) |
2078 | + | |
2079 | - | MagniDamage(tors, 27, 12, 24, 2, "Normal") |
2079 | + | Part.Parent=nil |
2080 | - | for i = 0,3,0.1 do |
2080 | + | Mesh.Parent=nil |
2081 | end),prt,msh,x,y,z) | |
2082 | - | 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) |
2082 | + | |
2083 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2083 | + | |
2084 | - | 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) |
2084 | + | function dmgstart(dmg,what) |
2085 | - | 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) |
2085 | + | hitcon = what.Touched:connect(function(hit) |
2086 | - | 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) |
2086 | + | local hum = hit.Parent:FindFirstChild("Humanoid") |
2087 | - | 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) |
2087 | + | if hum and not hum:IsDescendantOf(Character) then |
2088 | hum:TakeDamage(dmg) | |
2089 | - | hum.WalkSpeed = 3 |
2089 | + | |
2090 | - | CreateSound("588736969", tors, 10, 1) |
2090 | + | |
2091 | - | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) |
2091 | + | |
2092 | - | MagniDamage(tors, 27, 12, 24, 2, "Normal") |
2092 | + | |
2093 | - | for i = 0,3,0.1 do |
2093 | + | function dmgstop() |
2094 | hitcon:disconnect() | |
2095 | - | 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) |
2095 | + | |
2096 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2096 | + | |
2097 | - | 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) |
2097 | + | function Cloak() |
2098 | - | 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) |
2098 | + | Face.Parent=nil |
2099 | - | 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) |
2099 | + | cloaked=true |
2100 | - | 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) |
2100 | + | for _,v in pairs(Torso.Parent:children()) do |
2101 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
2102 | - | CreateSound("588736969", tors, 10, 1) |
2102 | + | coroutine.resume(coroutine.create(function() |
2103 | - | Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05) |
2103 | + | for i=0,1,0.2 do |
2104 | - | MagniDamage(tors, 27, 12, 24, 2, "Normal") |
2104 | + | wait() |
2105 | - | hum.WalkSpeed = 3 |
2105 | + | v.Transparency=i |
2106 | - | wait(.6) |
2106 | + | end |
2107 | - | hum.WalkSpeed = 16 |
2107 | + | v.Transparency=1 |
2108 | end)) | |
2109 | end | |
2110 | - | function Purity_Slam() |
2110 | + | if v.className=="Hat" then |
2111 | hatp=v.Handle | |
2112 | - | for i = 0,5.2,0.1 do |
2112 | + | coroutine.resume(coroutine.create(function(derp) |
2113 | for i=0,1,0.2 do | |
2114 | - | 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) |
2114 | + | wait() |
2115 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2115 | + | derp.Transparency=i |
2116 | - | 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) |
2116 | + | end |
2117 | - | 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) |
2117 | + | derp.Transparency=1 |
2118 | - | 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) |
2118 | + | end),hatp) |
2119 | - | 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) |
2119 | + | end |
2120 | end | |
2121 | - | CreateSound("331666100", tors, 10, 1) |
2121 | + | for _,v in pairs(m:children()) do |
2122 | - | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03) |
2122 | + | if v.className=="Part" then |
2123 | - | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03) |
2123 | + | coroutine.resume(coroutine.create(function() |
2124 | - | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) |
2124 | + | for i=0,1,0.2 do |
2125 | - | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03) |
2125 | + | wait() |
2126 | - | MagniDamage(tors, 12, 40, 60, 10, "Normal") |
2126 | + | v.Transparency=i |
2127 | - | coroutine.resume(coroutine.create(function() |
2127 | + | end |
2128 | - | for i = 0,1.8,0.1 do |
2128 | + | v.Transparency=1 |
2129 | - | swait() |
2129 | + | end)) |
2130 | - | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) |
2130 | + | end |
2131 | end | |
2132 | - | for i = 0,1.8,0.1 do |
2132 | + | |
2133 | - | swait() |
2133 | + | |
2134 | - | hum.CameraOffset = Vector3.new(0,0,0) |
2134 | + | function UnCloak() |
2135 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
2136 | - | end)) |
2136 | + | Face.Parent=Head |
2137 | - | for i = 1,4.7,0.1 do |
2137 | + | cloaked=false |
2138 | - | 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) |
2138 | + | for _,v in pairs(Torso.Parent:children()) do |
2139 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) |
2139 | + | if v.className=="Part" and v.Name~="HumanoidRootPart" then |
2140 | - | 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) |
2140 | + | coroutine.resume(coroutine.create(function() |
2141 | - | 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) |
2141 | + | for i=0,1,0.1 do |
2142 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) |
2142 | + | wait() |
2143 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) |
2143 | + | v.Transparency=v.Transparency-0.1 |
2144 | end | |
2145 | - | wait(.6) |
2145 | + | v.Transparency=0 |
2146 | end)) | |
2147 | end | |
2148 | - | function Universal_Crush() |
2148 | + | if v.className=="Hat" then |
2149 | hatp=v.Handle | |
2150 | - | for i = 0,5.2,0.05 do |
2150 | + | coroutine.resume(coroutine.create(function(derp) |
2151 | for i=0,1,0.1 do | |
2152 | - | Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
2152 | + | wait() |
2153 | - | Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05) |
2153 | + | derp.Transparency=derp.Transparency-0.1 |
2154 | - | 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) |
2154 | + | end |
2155 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2155 | + | derp.Transparency=0 |
2156 | - | 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) |
2156 | + | end),hatp) |
2157 | - | 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) |
2157 | + | end |
2158 | - | 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) |
2158 | + | |
2159 | - | 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) |
2159 | + | for _,v in pairs(m:children()) do |
2160 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
2161 | - | CreateSound("331666100", tors, 10, 1) |
2161 | + | coroutine.resume(coroutine.create(function() |
2162 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01) |
2162 | + | for i=0,1,0.1 do |
2163 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01) |
2163 | + | wait() |
2164 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01) |
2164 | + | v.Transparency=v.Transparency-0.1 |
2165 | - | Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01) |
2165 | + | end |
2166 | - | MagniDamage(tors, 170, 80, 175, 15, "DarkUp") |
2166 | + | v.Transparency=0 |
2167 | - | coroutine.resume(coroutine.create(function() |
2167 | + | end)) |
2168 | - | for i = 0,1.8,0.1 do |
2168 | + | v.Transparency=0 |
2169 | - | swait() |
2169 | + | end |
2170 | - | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) |
2170 | + | |
2171 | end | |
2172 | - | for i = 0,1.8,0.1 do |
2172 | + | |
2173 | - | swait() |
2173 | + | local origcolor = BrickColor.new("Pastel light blue") |
2174 | - | hum.CameraOffset = Vector3.new(0,0,0) |
2174 | + | ---- This section of explosions. |
2175 | function Explode(rad,par,pitch,vol,mindam,maxdam) | |
2176 | - | end)) |
2176 | + | local expart = Instance.new("Part",char) |
2177 | - | for i = 1,4.7,0.1 do |
2177 | + | local expart2 = Instance.new("Part",char) |
2178 | - | 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) |
2178 | + | local rin = Instance.new("Part",char) |
2179 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) |
2179 | + | local rin2 = Instance.new("Part",char) |
2180 | - | 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) |
2180 | + | local partMesh = Instance.new("SpecialMesh",expart) |
2181 | - | 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) |
2181 | + | partMesh.MeshType = "Sphere" |
2182 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) |
2182 | + | local partMesh2 = Instance.new("SpecialMesh",expart2) |
2183 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) |
2183 | + | partMesh2.MeshType = "Sphere" |
2184 | local partMesh3 = Instance.new("SpecialMesh",rin) | |
2185 | - | wait(.6) |
2185 | + | partMesh3.MeshType = "Brick" |
2186 | local partMesh4 = Instance.new("SpecialMesh",rin2) | |
2187 | partMesh4.MeshType = "Brick" | |
2188 | - | function Painful_Stomp() |
2188 | + | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch) |
2189 | partMesh.Scale = vt(rad,rad,rad) | |
2190 | - | for i = 0,5.2,0.1 do |
2190 | + | expart.Size = vt(1,1,1) |
2191 | expart.Transparency = 0 | |
2192 | - | tecks2.Rotation = math.random(-20, 20) |
2192 | + | expart.Anchored = true |
2193 | - | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] |
2193 | + | expart.Material = "Neon" |
2194 | - | 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) |
2194 | + | expart.BrickColor = bc("White") |
2195 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2195 | + | expart.CFrame = par.CFrame |
2196 | - | 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) |
2196 | + | partMesh2.Scale = vt(rad,rad,rad) |
2197 | - | 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) |
2197 | + | expart2.Size = vt(1.15,1.15,1.15) |
2198 | - | 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) |
2198 | + | expart2.Transparency = 0.5 |
2199 | - | 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) |
2199 | + | expart2.Anchored = true |
2200 | - | end |
2200 | + | expart2.Material = "Neon" |
2201 | - | CreateSound("331666100", char, 10, 1) |
2201 | + | expart2.BrickColor = par.BrickColor |
2202 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
2202 | + | expart2.CFrame = par.CFrame |
2203 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
2203 | + | rin.Size = vt(1.15,1.15,1.15) |
2204 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
2204 | + | rin.Transparency = 1 |
2205 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) |
2205 | + | rin.Anchored = true |
2206 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) |
2206 | + | rin.Material = "Neon" |
2207 | - | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) |
2207 | + | rin.BrickColor = par.BrickColor |
2208 | - | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) |
2208 | + | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2209 | - | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do |
2209 | + | rin2.Size = vt(1.15,1.15,1.15) |
2210 | - | if v:FindFirstChild("Head") then |
2210 | + | rin2.Transparency = 1 |
2211 | - | Eviscerate(v) |
2211 | + | rin2.Anchored = true |
2212 | rin2.Material = "Neon" | |
2213 | rin2.BrickColor = par.BrickColor | |
2214 | - | coroutine.resume(coroutine.create(function() |
2214 | + | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2215 | - | for i = 0,2.8,0.1 do |
2215 | + | partMesh3.Scale = vt(0,1,0) |
2216 | - | swait() |
2216 | + | partMesh4.Scale = vt(0,1,0) |
2217 | - | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) |
2217 | + | local dec2 = Instance.new("Decal", rin) |
2218 | dec2.Face = "Top" | |
2219 | - | for i = 0,1.8,0.1 do |
2219 | + | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" |
2220 | - | swait() |
2220 | + | dec2.Parent = rin |
2221 | - | hum.CameraOffset = Vector3.new(0,0,0) |
2221 | + | local dec2b = dec2:Clone() |
2222 | dec2b.Face = "Bottom" | |
2223 | - | end)) |
2223 | + | dec2b.Parent = rin |
2224 | - | for i = 0,3.7,0.1 do |
2224 | + | |
2225 | - | tecks2.Rotation = math.random(-20, 20) |
2225 | + | local dec2a = Instance.new("Decal", rin2) |
2226 | - | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] |
2226 | + | dec2a.Face = "Top" |
2227 | - | 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) |
2227 | + | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" |
2228 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
2228 | + | dec2a.Parent = rin2 |
2229 | - | 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) |
2229 | + | local dec2ab = dec2a:Clone() |
2230 | - | 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) |
2230 | + | dec2ab.Face = "Bottom" |
2231 | - | 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) |
2231 | + | dec2ab.Parent = rin2 |
2232 | - | 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) |
2232 | + | expart.CanCollide = false |
2233 | expart2.CanCollide = false | |
2234 | - | wait(.6) |
2234 | + | rin.CanCollide = false |
2235 | rin2.CanCollide = false | |
2236 | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") | |
2237 | - | function Ending() |
2237 | + | local value = 1*rad/6.5 |
2238 | - | local target = nil |
2238 | + | for i = 0, 199 do |
2239 | - | local targettorso = nil |
2239 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2240 | - | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then |
2240 | + | expart.CFrame = expart.CFrame |
2241 | - | if mouse.Target.Parent.Humanoid.PlatformStand == false then |
2241 | + | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
2242 | - | targetT = mouse.Target.Parent |
2242 | + | expart2.CFrame = expart.CFrame |
2243 | - | target = mouse.Target.Parent.Humanoid |
2243 | + | value = value - 0.035*rad/30 |
2244 | - | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso") |
2244 | + | if value < 7.5 then |
2245 | - | targethead = mouse.Target.Parent:FindFirstChild("Head") |
2245 | + | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) |
2246 | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) | |
2247 | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) | |
2248 | - | if target ~= nil then |
2248 | + | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) |
2249 | - | targettorso.Anchored = true |
2249 | + | |
2250 | - | attack = true |
2250 | + | if value < 0 then |
2251 | - | hum.WalkSpeed = 0 |
2251 | + | dec2.Transparency = dec2.Transparency + 0.025 |
2252 | - | local originalpos = root.CFrame |
2252 | + | dec2a.Transparency = dec2a.Transparency + 0.025 |
2253 | - | root.CFrame = targettorso.CFrame * CF(0,0,2.6) |
2253 | + | dec2b.Transparency = dec2b.Transparency + 0.025 |
2254 | - | for i = 0,1.8,0.1 do |
2254 | + | dec2ab.Transparency = dec2ab.Transparency + 0.025 |
2255 | - | tecks2.Rotation = math.random(-20, 20) |
2255 | + | expart.Transparency = expart.Transparency + 0.025 |
2256 | - | swait() |
2256 | + | expart2.Transparency = expart2.Transparency + 0.025 |
2257 | - | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] |
2257 | + | rin.Transparency = rin.Transparency + 0.025 |
2258 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) |
2258 | + | rin2.Transparency = rin2.Transparency + 0.025 |
2259 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) |
2259 | + | end |
2260 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) |
2260 | + | |
2261 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) |
2261 | + | |
2262 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) |
2262 | + | game:GetService("Debris"):AddItem(expart, 1) |
2263 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
2263 | + | game:GetService("Debris"):AddItem(expart2, 1) |
2264 | game:GetService("Debris"):AddItem(rin, 1) | |
2265 | - | Eviscerate(targetT) |
2265 | + | game:GetService("Debris"):AddItem(rin2, 1) |
2266 | - | CreateSound("331666100", ra, 4, 1) |
2266 | + | |
2267 | - | CreateSound("180083286", targettorso, 10, 1) |
2267 | + | |
2268 | - | coroutine.resume(coroutine.create(function() |
2268 | + | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) |
2269 | - | for i = 0,1.8,0.1 do |
2269 | + | local expart = Instance.new("Part",char) |
2270 | - | swait() |
2270 | + | local expart2 = Instance.new("Part",char) |
2271 | - | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) |
2271 | + | local partMesh = Instance.new("SpecialMesh",expart) |
2272 | partMesh.MeshType = "Sphere" | |
2273 | - | for i = 0,1.8,0.1 do |
2273 | + | local partMesh2 = Instance.new("SpecialMesh",expart2) |
2274 | - | swait() |
2274 | + | partMesh2.MeshType = "Sphere" |
2275 | - | hum.CameraOffset = Vector3.new(0,0,0) |
2275 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch) |
2276 | partMesh.Scale = vt(rad,rad,rad) | |
2277 | - | end)) |
2277 | + | expart.Size = vt(1,1,1) |
2278 | - | for i = 0,4.6,0.1 do |
2278 | + | expart.Transparency = 0 |
2279 | - | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] |
2279 | + | expart.Anchored = true |
2280 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) |
2280 | + | expart.Material = "Neon" |
2281 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) |
2281 | + | expart.BrickColor = bc("White") |
2282 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) |
2282 | + | expart.CFrame = par.CFrame |
2283 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) |
2283 | + | partMesh2.Scale = vt(rad,rad,rad) |
2284 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) |
2284 | + | expart2.Size = vt(1.15,1.15,1.15) |
2285 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
2285 | + | expart2.Transparency = 0.5 |
2286 | expart2.Anchored = true | |
2287 | - | wait(.6) |
2287 | + | expart2.Material = "Neon" |
2288 | - | root.CFrame = originalpos |
2288 | + | expart2.BrickColor = par.BrickColor |
2289 | - | attack = false |
2289 | + | expart2.CFrame = par.CFrame |
2290 | - | hum.WalkSpeed = 8 |
2290 | + | expart.CanCollide = false |
2291 | expart2.CanCollide = false | |
2292 | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") | |
2293 | local value = 1*rad/6.5 | |
2294 | - | --[[I don't take ANY credit for this attack, |
2294 | + | for i = 0, 75 do |
2295 | - | this was all nooby's hard work and the only reason i uhhh "used" it |
2295 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2296 | - | is cause I i didn't have attack ideas at the time so yeah, |
2296 | + | expart.CFrame = expart.CFrame |
2297 | - | 100% nooby's credit <3]] |
2297 | + | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
2298 | - | function Ende_der_Weld() |
2298 | + | expart2.CFrame = expart.CFrame |
2299 | value = value - 0.035*rad/5 | |
2300 | if value < 0 then | |
2301 | - | for i = 0,4.6,0.1 do |
2301 | + | value = 0 |
2302 | - | swait() |
2302 | + | expart.Transparency = expart.Transparency + 0.05 |
2303 | - | tecks2.Rotation = math.random(-20, 20) |
2303 | + | expart2.Transparency = expart2.Transparency + 0.05 |
2304 | - | tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)] |
2304 | + | end |
2305 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) |
2305 | + | |
2306 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) |
2306 | + | |
2307 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) |
2307 | + | game:GetService("Debris"):AddItem(expart, 1) |
2308 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) |
2308 | + | game:GetService("Debris"):AddItem(expart2, 1) |
2309 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) |
2309 | + | |
2310 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
2310 | + | |
2311 | function AreaDanger(rad,par,mindam,maxdam) | |
2312 | - | local a = Instance.new("Part",char) |
2312 | + | local expart = Instance.new("Part",char) |
2313 | - | a.BrickColor = BrickColor.random() |
2313 | + | local partMesh = Instance.new("SpecialMesh",expart) |
2314 | - | a.Name = "Lazer" |
2314 | + | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) |
2315 | partMesh.MeshType = "Sphere" | |
2316 | partMesh.Scale = vt(rad,rad,rad) | |
2317 | expart.Size = vt(1,1,1) | |
2318 | expart.Transparency = 0.5 | |
2319 | - | local hitbox = Instance.new("Part",char) |
2319 | + | expart.Anchored = true |
2320 | - | hitbox.Size = Vector3.new(5,5,5) |
2320 | + | expart.Material = "Neon" |
2321 | - | hitbox.CFrame = mouse.hit |
2321 | + | expart.CanCollide = false |
2322 | - | hitbox.Anchored = true |
2322 | + | expart.BrickColor = par.BrickColor |
2323 | - | hitbox.Transparency = 1 |
2323 | + | expart.CFrame = par.CFrame |
2324 | - | hitbox.CanCollide = false |
2324 | + | local value = 1*rad/5 |
2325 | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) | |
2326 | - | ra.CFrame.p, -- origin |
2326 | + | for i = 0, 14 do |
2327 | - | (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction |
2327 | + | wait() |
2328 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
2329 | - | local ignore = char |
2329 | + | expart.CFrame = expart.CFrame |
2330 | value = value - 0.035*rad | |
2331 | - | if hit then |
2331 | + | if value < 0 then |
2332 | - | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") |
2332 | + | value = 0 |
2333 | - | |
2333 | + | |
2334 | - | if not humanoid then |
2334 | + | |
2335 | - | humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid") |
2335 | + | wait(0.25) |
2336 | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1) | |
2337 | - | if humanoid then |
2337 | + | wait(0.5) |
2338 | - | if humanoid.Parent:IsA"Model" then |
2338 | + | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1) |
2339 | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75) | |
2340 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
2341 | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) | |
2342 | for i = 0, 14 do | |
2343 | wait() | |
2344 | - | local distance = (ra.CFrame.p - position).magnitude |
2344 | + | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2345 | expart.CFrame = expart.CFrame | |
2346 | - | a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0) |
2346 | + | value = value - 0.035*rad/2 |
2347 | - | game:GetService("Debris"):AddItem(a, 5) |
2347 | + | |
2348 | - | game:GetService("Debris"):AddItem(hitbox, 1) |
2348 | + | expart.Transparency = 1 |
2349 | - | local newmesh = Instance.new("BlockMesh",a) |
2349 | + | game:GetService("Debris"):AddItem(expart, 5) |
2350 | - | MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) |
2350 | + | |
2351 | - | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1) |
2351 | + | |
2352 | - | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2) |
2352 | + | function Swarmsplosions(negrad,rad,par,mindam,maxdam) |
2353 | - | MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1) |
2353 | + | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2) |
2354 | - | local lbs = Instance.new("Part") |
2354 | + | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1) |
2355 | - | lbs.Parent = char |
2355 | + | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1) |
2356 | - | CreateSound("929619479", lbs, 10, 1) |
2356 | + | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) |
2357 | - | lbs.Material = "Neon" |
2357 | + | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") |
2358 | - | lbs.Color = BrickColor.Random().Color |
2358 | + | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) |
2359 | - | lbs.CanCollide = false |
2359 | + | for i = 0, 24 do |
2360 | - | lbs.Shape = "Ball" |
2360 | + | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) |
2361 | - | lbs.Anchored = true |
2361 | + | |
2362 | - | lbs.Transparency = 0 |
2362 | + | for i = 0, 24 do |
2363 | - | lbs.Size = Vector3.new(20,20,20) |
2363 | + | local expart = Instance.new("Part",char) |
2364 | - | lbs.CFrame = a.CFrame |
2364 | + | expart.Transparency = 1 |
2365 | - | local thing = Instance.new("SpecialMesh",lbs) |
2365 | + | expart.Anchored = true |
2366 | - | thing.MeshType = "Sphere" |
2366 | + | expart.CanCollide = false |
2367 | - | lbs.Anchored = false |
2367 | + | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) |
2368 | - | local bvs = Instance.new("BodyVelocity") |
2368 | + | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2) |
2369 | - | bvs.maxForce = Vector3.new(1e9, 1e9, 1e9) |
2369 | + | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) |
2370 | - | bvs.velocity = a.CFrame.lookVector*75 |
2370 | + | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") |
2371 | - | bvs.Parent = lbs |
2371 | + | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) |
2372 | - | lbs.Touched:connect(function(hit) |
2372 | + | for i = 0, 9 do |
2373 | - | MagniDamage(hit, 12, 40, 60, 10, "Normal") |
2373 | + | MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2)) |
2374 | end | |
2375 | game:GetService("Debris"):AddItem(expart, 2) | |
2376 | - | game:GetService("Debris"):AddItem(lbs, 10) |
2376 | + | wait(0.1) |
2377 | - | for x = 0, 4 do |
2377 | + | |
2378 | - | local bulletgos = IT("Model",char) |
2378 | + | |
2379 | - | local bulletgos2 = IT("Model",char) |
2379 | + | |
2380 | - | for z = 0, 24 do |
2380 | + | function EXterPlosion(par) |
2381 | - | local lb = Instance.new("Part") |
2381 | + | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1) |
2382 | - | lb.Parent = bulletgos |
2382 | + | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85) |
2383 | - | lb.Material = "Neon" |
2383 | + | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2) |
2384 | - | lb.Color = BrickColor.Random().Color |
2384 | + | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) |
2385 | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") | |
2386 | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) | |
2387 | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) | |
2388 | - | lb.Size = Vector3.new(2,2,2) |
2388 | + | for i = 0, 24 do |
2389 | - | local thing = Instance.new("SpecialMesh",lb) |
2389 | + | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2)) |
2390 | - | thing.MeshType = "Sphere" |
2390 | + | |
2391 | - | thing.Scale = Vector3.new(0.5,0.5,1.5) |
2391 | + | for i = 0, 24 do |
2392 | - | lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2392 | + | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2)) |
2393 | - | lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15 |
2393 | + | |
2394 | - | local lb2 = Instance.new("Part") |
2394 | + | |
2395 | - | lb2.Parent = bulletgos2 |
2395 | + | ---- |
2396 | - | lb2.Material = "Neon" |
2396 | + | |
2397 | - | lb2.Color = lb.Color |
2397 | + | |
2398 | - | lb2.CanCollide = false |
2398 | + | function ring(type,pos,scale,value) |
2399 | - | lb2.Anchored = true |
2399 | + | local type = type |
2400 | - | lb2.Transparency = 0 |
2400 | + | local rng = Instance.new("Part", char) |
2401 | - | lb2.Size = Vector3.new(2,2,2) |
2401 | + | rng.Anchored = true |
2402 | - | lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2402 | + | rng.BrickColor = origcolor |
2403 | - | lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15 |
2403 | + | rng.CanCollide = false |
2404 | - | local thing2 = Instance.new("SpecialMesh",lb2) |
2404 | + | rng.FormFactor = 3 |
2405 | - | thing2.MeshType = "Sphere" |
2405 | + | rng.Name = "Ring" |
2406 | - | thing2.Scale = Vector3.new(0.5,0.5,1.5) |
2406 | + | rng.Size = Vector3.new(1, 1, 1) |
2407 | - | lb.Touched:connect(function(hit) |
2407 | + | rng.Transparency = 0 |
2408 | - | MagniDamage(hit, 12, 40, 60, 10, "Normal") |
2408 | + | rng.TopSurface = 0 |
2409 | rng.BottomSurface = 0 | |
2410 | - | lb2.Touched:connect(function(hit) |
2410 | + | rng.CFrame = pos |
2411 | - | MagniDamage(hit, 12, 40, 60, 10, "Normal") |
2411 | + | local rngm = Instance.new("SpecialMesh", rng) |
2412 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2413 | rngm.Scale = scale | |
2414 | - | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) |
2414 | + | local scaler2 = 1 |
2415 | - | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025) |
2415 | + | if type == "Add" then |
2416 | - | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) |
2416 | + | scaler2 = 1*value |
2417 | - | MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025) |
2417 | + | elseif type == "Divide" then |
2418 | - | CreateSound("925629856", lbs, 5, 1) |
2418 | + | scaler2 = 1/value |
2419 | - | game:GetService("Debris"):AddItem(bulletgos, 7) |
2419 | + | |
2420 | - | game:GetService("Debris"):AddItem(bulletgos2, 7) |
2420 | + | |
2421 | - | for i,v in pairs(bulletgos:children()) do |
2421 | + | for i = 0,10,0.1 do |
2422 | - | if v:IsA("Part") then |
2422 | + | swait() |
2423 | - | v.Anchored = false |
2423 | + | if type == "Add" then |
2424 | - | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) |
2424 | + | scaler2 = scaler2 - 0.01*value |
2425 | elseif type == "Divide" then | |
2426 | scaler2 = scaler2 - 0.01/value | |
2427 | - | bv.velocity = v.CFrame.lookVector*25 |
2427 | + | |
2428 | - | bv.Parent = v |
2428 | + | rng.Transparency = rng.Transparency + 0.01 |
2429 | - | game:GetService("Debris"):AddItem(v, 5) |
2429 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
2430 | end | |
2431 | rng:Destroy() | |
2432 | - | for i,v in pairs(bulletgos2:children()) do |
2432 | + | |
2433 | - | if v:IsA("Part") then |
2433 | + | |
2434 | - | v.Anchored = false |
2434 | + | |
2435 | - | MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) |
2435 | + | |
2436 | function wave(type,pos,scale,value) | |
2437 | local type = type | |
2438 | - | bv.velocity = v.CFrame.lookVector*-25 |
2438 | + | local rng = Instance.new("Part", char) |
2439 | - | bv.Parent = v |
2439 | + | rng.Anchored = true |
2440 | - | game:GetService("Debris"):AddItem(v, 5) |
2440 | + | rng.BrickColor = origcolor |
2441 | rng.CanCollide = false | |
2442 | rng.FormFactor = 3 | |
2443 | rng.Name = "Ring" | |
2444 | rng.Size = Vector3.new(1, 1, 1) | |
2445 | rng.Transparency = 0 | |
2446 | - | hum.WalkSpeed = 8 |
2446 | + | rng.TopSurface = 0 |
2447 | rng.BottomSurface = 0 | |
2448 | - | ------------------------------------------------------- |
2448 | + | rng.CFrame = pos |
2449 | - | --End Attacks N Stuff-- |
2449 | + | local rngm = Instance.new("SpecialMesh", rng) |
2450 | - | ------------------------------------------------------- |
2450 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
2451 | - | mouse.KeyDown:connect(function(key) |
2451 | + | rngm.Scale = scale |
2452 | - | if string.byte(key) == 48 then |
2452 | + | local scaler2 = 1 |
2453 | - | Swing = 2 |
2453 | + | if type == "Add" then |
2454 | - | hum.WalkSpeed = 38.82 |
2454 | + | scaler2 = 1*value |
2455 | elseif type == "Divide" then | |
2456 | scaler2 = 1/value | |
2457 | - | mouse.KeyUp:connect(function(key) |
2457 | + | |
2458 | - | if string.byte(key) == 48 then |
2458 | + | |
2459 | - | Swing = 1 |
2459 | + | for i = 0,10,0.1 do |
2460 | - | hum.WalkSpeed = 8 |
2460 | + | swait() |
2461 | if type == "Add" then | |
2462 | scaler2 = scaler2 - 0.01*value | |
2463 | - | mouse.KeyDown:connect(function(key) |
2463 | + | elseif type == "Divide" then |
2464 | - | if attack == false then |
2464 | + | scaler2 = scaler2 - 0.01/value |
2465 | - | if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2465 | + | |
2466 | - | DTrail5.Enabled = false |
2466 | + | rng.Transparency = rng.Transparency + 0.01 |
2467 | - | DTrail4.Enabled = false |
2467 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
2468 | - | DTrail3.Enabled = false |
2468 | + | |
2469 | - | DTrail2.Enabled = false |
2469 | + | rng:Destroy() |
2470 | - | DTrail.Enabled = false |
2470 | + | |
2471 | - | EdgyMode = true |
2471 | + | |
2472 | - | tecks2.Text = "Edgy" |
2472 | + | |
2473 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2473 | + | function wind(type,pos,scale,value,speed) |
2474 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209) |
2474 | + | local type = type |
2475 | - | for i, v in pairs(ArmourParts) do |
2475 | + | local rng = Instance.new("Part", char) |
2476 | - | v.BrickColor = BrickColor.new("Black") |
2476 | + | rng.Anchored = true |
2477 | - | end |
2477 | + | rng.BrickColor = origcolor |
2478 | - | for i, v in pairs(ArmourParts2) do |
2478 | + | rng.CanCollide = false |
2479 | - | v.BrickColor = BrickColor.new("Really black") |
2479 | + | rng.FormFactor = 3 |
2480 | - | end |
2480 | + | rng.Name = "Ring" |
2481 | - | for i, v in pairs(NeonParts) do |
2481 | + | rng.Size = Vector3.new(1, 1, 1) |
2482 | - | v.BrickColor = BrickColor.new("Royal purple") |
2482 | + | rng.Transparency = 0 |
2483 | - | end |
2483 | + | rng.TopSurface = 0 |
2484 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=457729356" |
2484 | + | rng.BottomSurface = 0 |
2485 | - | maincolor = BrickColor.new("Royal purple") |
2485 | + | rng.CFrame = pos |
2486 | - | BC.HeadColor = BrickColor.new("Black") |
2486 | + | local rngm = Instance.new("SpecialMesh", rng) |
2487 | - | BC.LeftArmColor = BrickColor.new("Black") |
2487 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
2488 | - | BC.LeftLegColor = BrickColor.new("Black") |
2488 | + | rngm.Scale = scale |
2489 | - | BC.RightArmColor = BrickColor.new("Royal purple") |
2489 | + | local scaler2 = 1 |
2490 | - | BC.RightLegColor = BrickColor.new("Black") |
2490 | + | if type == "Add" then |
2491 | - | BC.TorsoColor = BrickColor.new("Black") |
2491 | + | scaler2 = 1*value |
2492 | - | Music.TimePosition = 0 |
2492 | + | elseif type == "Divide" then |
2493 | - | Music.SoundId = "rbxassetid://1693948941" |
2493 | + | scaler2 = 1/value |
2494 | - | Music.Parent = tors |
2494 | + | |
2495 | - | Music:Play() |
2495 | + | |
2496 | - | elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2496 | + | for i = 0,10,0.1 do |
2497 | - | DTrail5.Enabled = false |
2497 | + | swait() |
2498 | - | DTrail4.Enabled = false |
2498 | + | if type == "Add" then |
2499 | - | DTrail3.Enabled = false |
2499 | + | scaler2 = scaler2 - 0.01*value |
2500 | - | DTrail2.Enabled = false |
2500 | + | elseif type == "Divide" then |
2501 | - | DTrail.Enabled = false |
2501 | + | scaler2 = scaler2 - 0.01/value |
2502 | - | EdgyMode = false |
2502 | + | |
2503 | - | tecks2.Text = "Neutral" |
2503 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
2504 | - | tecks2.Rotation = 0 |
2504 | + | rng.Transparency = rng.Transparency + 0.01 |
2505 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2505 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
2506 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2506 | + | |
2507 | - | resetmode() |
2507 | + | rng:Destroy() |
2508 | - | Music.TimePosition = 0 |
2508 | + | |
2509 | - | Music.SoundId = "rbxassetid://1117396305" |
2509 | + | |
2510 | - | Music.Parent = tors |
2510 | + | |
2511 | - | Music:Play() |
2511 | + | function groundwind(type,pos,scale,value,speed) |
2512 | - | BC.HeadColor = BrickColor.new("Fossil") |
2512 | + | local type = type |
2513 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2513 | + | local rng = Instance.new("Part", char) |
2514 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2514 | + | rng.Anchored = true |
2515 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2515 | + | rng.BrickColor = origcolor |
2516 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2516 | + | rng.CanCollide = false |
2517 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2517 | + | rng.FormFactor = 3 |
2518 | - | elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2518 | + | rng.Name = "Ring" |
2519 | - | DTrail5.Enabled = false |
2519 | + | rng.Size = Vector3.new(1, 1, 1) |
2520 | - | DTrail4.Enabled = false |
2520 | + | rng.Transparency = 0 |
2521 | - | DTrail3.Enabled = false |
2521 | + | rng.TopSurface = 0 |
2522 | - | DTrail2.Enabled = false |
2522 | + | rng.BottomSurface = 0 |
2523 | - | DTrail.Enabled = false |
2523 | + | rng.CFrame = pos |
2524 | - | Divinity = true |
2524 | + | local rngm = Instance.new("SpecialMesh", rng) |
2525 | - | tecks2.Text = "Divinity" |
2525 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
2526 | - | tecks2.Rotation = 0 |
2526 | + | rngm.Scale = scale |
2527 | - | tecks2.TextColor3 = Color3.new(1, 1, 1) |
2527 | + | local scaler2 = 1 |
2528 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0) |
2528 | + | if type == "Add" then |
2529 | - | for i, v in pairs(ArmourParts) do |
2529 | + | scaler2 = 1*value |
2530 | - | v.BrickColor = BrickColor.new("Institutional white") |
2530 | + | elseif type == "Divide" then |
2531 | - | end |
2531 | + | scaler2 = 1/value |
2532 | - | for i, v in pairs(ArmourParts2) do |
2532 | + | |
2533 | - | v.BrickColor = BrickColor.new("White") |
2533 | + | |
2534 | - | end |
2534 | + | for i = 0,10,0.1 do |
2535 | - | for i, v in pairs(NeonParts) do |
2535 | + | swait() |
2536 | - | v.BrickColor = BrickColor.new("New Yeller") |
2536 | + | if type == "Add" then |
2537 | - | end |
2537 | + | scaler2 = scaler2 - 0.01*value |
2538 | - | maincolor = BrickColor.new("New Yeller") |
2538 | + | elseif type == "Divide" then |
2539 | - | BC.HeadColor = BrickColor.new("White") |
2539 | + | scaler2 = scaler2 - 0.01/value |
2540 | - | BC.LeftArmColor = BrickColor.new("White") |
2540 | + | |
2541 | - | BC.LeftLegColor = BrickColor.new("White") |
2541 | + | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
2542 | - | BC.RightArmColor = BrickColor.new("New Yeller") |
2542 | + | rng.Transparency = rng.Transparency + 0.01 |
2543 | - | BC.RightLegColor = BrickColor.new("White") |
2543 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) |
2544 | - | BC.TorsoColor = BrickColor.new("White") |
2544 | + | |
2545 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268" |
2545 | + | rng:Destroy() |
2546 | - | Music.TimePosition = 0 |
2546 | + | |
2547 | - | Music.SoundId = "rbxassetid://595800581" |
2547 | + | |
2548 | - | Music.Parent = tors |
2548 | + | |
2549 | - | Music:Play() |
2549 | + | function CameraManager() |
2550 | - | elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2550 | + | if TwoD and not CamInterrupt then |
2551 | - | DTrail5.Enabled = false |
2551 | + | if Humanoid.Health > 0 then |
2552 | - | DTrail4.Enabled = false |
2552 | + | Camera.CameraSubject = Humanoid |
2553 | - | DTrail3.Enabled = false |
2553 | + | Camera.CameraType = "Scriptable" |
2554 | - | DTrail2.Enabled = false |
2554 | + | Humanoid.AutoRotate = false |
2555 | - | DTrail.Enabled = false |
2555 | + | if Booleans.GyroUse then |
2556 | - | Divinity = false |
2556 | + | Directer.MaxTorque = Vec3(0, huge, 0) |
2557 | - | tecks2.Text = "Neutral" |
2557 | + | |
2558 | - | tecks2.Rotation = 0 |
2558 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
2559 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2559 | + | |
2560 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2560 | + | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
2561 | - | resetmode() |
2561 | + | if Booleans.CamFollow then |
2562 | - | BC.HeadColor = BrickColor.new("Fossil") |
2562 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
2563 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2563 | + | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
2564 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2564 | + | else |
2565 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2565 | + | CPart.Position = RootPart.Position |
2566 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2566 | + | |
2567 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2567 | + | |
2568 | - | Music.TimePosition = 0 |
2568 | + | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
2569 | - | Music.SoundId = "rbxassetid://1117396305" |
2569 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
2570 | - | Music.Parent = tors |
2570 | + | |
2571 | - | Music:Play() |
2571 | + | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
2572 | - | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2572 | + | else |
2573 | - | DTrail5.Enabled = false |
2573 | + | Camera.CameraSubject = Humanoid |
2574 | - | DTrail4.Enabled = false |
2574 | + | Camera.CameraType = "Custom" |
2575 | - | DTrail3.Enabled = false |
2575 | + | Controller.Disabled = false |
2576 | - | DTrail2.Enabled = false |
2576 | + | |
2577 | - | DTrail.Enabled = false |
2577 | + | |
2578 | - | Fighter = true |
2578 | + | |
2579 | - | tecks2.Text = "Fighter" |
2579 | + | |
2580 | - | tecks2.Rotation = 0 |
2580 | + | function sphere(bonuspeed,type,pos,scale,value,color) |
2581 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2581 | + | local type = type |
2582 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255) |
2582 | + | local rng = Instance.new("Part", char) |
2583 | - | for i, v in pairs(ArmourParts) do |
2583 | + | rng.Anchored = true |
2584 | - | v.BrickColor = BrickColor.new("Black") |
2584 | + | rng.BrickColor = color |
2585 | - | end |
2585 | + | rng.CanCollide = false |
2586 | - | for i, v in pairs(ArmourParts2) do |
2586 | + | rng.FormFactor = 3 |
2587 | - | v.BrickColor = BrickColor.new("Really black") |
2587 | + | rng.Name = "Ring" |
2588 | - | end |
2588 | + | rng.Material = "Neon" |
2589 | - | for i, v in pairs(NeonParts) do |
2589 | + | rng.Size = Vector3.new(1, 1, 1) |
2590 | - | v.BrickColor = BrickColor.new("Institutional white") |
2590 | + | rng.Transparency = 0 |
2591 | - | end |
2591 | + | rng.TopSurface = 0 |
2592 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178" |
2592 | + | rng.BottomSurface = 0 |
2593 | - | maincolor = BrickColor.new("Institutional white") |
2593 | + | rng.CFrame = pos |
2594 | - | BC.HeadColor = BrickColor.new("Really black") |
2594 | + | local rngm = Instance.new("SpecialMesh", rng) |
2595 | - | BC.LeftArmColor = BrickColor.new("Really black") |
2595 | + | rngm.MeshType = "Sphere" |
2596 | - | BC.LeftLegColor = BrickColor.new("Really black") |
2596 | + | rngm.Scale = scale |
2597 | - | BC.RightArmColor = BrickColor.new("Institutional white") |
2597 | + | if rainbowmode == true then |
2598 | - | BC.RightLegColor = BrickColor.new("Really black") |
2598 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2599 | - | BC.TorsoColor = BrickColor.new("Really black") |
2599 | + | |
2600 | - | Music.SoundId = "rbxassetid://207375545" |
2600 | + | local scaler2 = 1 |
2601 | - | Music.Parent = tors |
2601 | + | if type == "Add" then |
2602 | - | Music.TimePosition = 8.3 |
2602 | + | scaler2 = 1*value |
2603 | - | Music:Play() |
2603 | + | elseif type == "Divide" then |
2604 | - | elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2604 | + | scaler2 = 1/value |
2605 | - | DTrail5.Enabled = false |
2605 | + | |
2606 | - | DTrail4.Enabled = false |
2606 | + | |
2607 | - | DTrail3.Enabled = false |
2607 | + | for i = 0,10/bonuspeed,0.1 do |
2608 | - | DTrail2.Enabled = false |
2608 | + | swait() |
2609 | - | DTrail.Enabled = false |
2609 | + | if rainbowmode == true then |
2610 | - | Fighter = false |
2610 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2611 | - | tecks2.Text = "Neutral" |
2611 | + | |
2612 | - | tecks2.Rotation = 0 |
2612 | + | if type == "Add" then |
2613 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2613 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2614 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2614 | + | elseif type == "Divide" then |
2615 | - | resetmode() |
2615 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2616 | - | BC.HeadColor = BrickColor.new("Fossil") |
2616 | + | |
2617 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2617 | + | if chaosmode == true then |
2618 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2618 | + | rng.BrickColor = BrickColor.random() |
2619 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2619 | + | |
2620 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2620 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2621 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2621 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2622 | - | Music.TimePosition = 0 |
2622 | + | |
2623 | - | Music.SoundId = "rbxassetid://1117396305" |
2623 | + | rng:Destroy() |
2624 | - | Music.Parent = tors |
2624 | + | |
2625 | - | Music:Play() |
2625 | + | |
2626 | - | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2626 | + | |
2627 | - | DTrail5.Enabled = false |
2627 | + | function spherew(bonuspeed,type,pos,scale,value,color) |
2628 | - | DTrail4.Enabled = false |
2628 | + | local type = type |
2629 | - | DTrail3.Enabled = false |
2629 | + | local rng = Instance.new("Part", workspace) |
2630 | - | DTrail2.Enabled = false |
2630 | + | rng.Anchored = true |
2631 | - | DTrail.Enabled = false |
2631 | + | rng.BrickColor = color |
2632 | - | Purity = true |
2632 | + | rng.CanCollide = false |
2633 | - | tecks2.Text = "Purity" |
2633 | + | rng.FormFactor = 3 |
2634 | - | tecks2.Rotation = 0 |
2634 | + | rng.Name = "Ring" |
2635 | - | tecks2.TextColor3 = Color3.new(1, 1, 1) |
2635 | + | rng.Material = "Neon" |
2636 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255) |
2636 | + | rng.Size = Vector3.new(1, 1, 1) |
2637 | - | for i, v in pairs(ArmourParts) do |
2637 | + | rng.Transparency = 0 |
2638 | - | v.BrickColor = BrickColor.new("Institutional white") |
2638 | + | rng.TopSurface = 0 |
2639 | - | end |
2639 | + | rng.BottomSurface = 0 |
2640 | - | for i, v in pairs(ArmourParts2) do |
2640 | + | rng.CFrame = pos |
2641 | - | v.BrickColor = BrickColor.new("Institutional white") |
2641 | + | local rngm = Instance.new("SpecialMesh", rng) |
2642 | - | end |
2642 | + | rngm.MeshType = "Sphere" |
2643 | - | for i, v in pairs(NeonParts) do |
2643 | + | rngm.Scale = scale |
2644 | - | v.BrickColor = BrickColor.new("Toothpaste") |
2644 | + | if rainbowmode == true then |
2645 | - | end |
2645 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2646 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214" |
2646 | + | |
2647 | - | maincolor = BrickColor.new("Toothpaste") |
2647 | + | local scaler2 = 1 |
2648 | - | BC.HeadColor = BrickColor.new("Institutional white") |
2648 | + | if type == "Add" then |
2649 | - | BC.LeftArmColor = BrickColor.new("Institutional white") |
2649 | + | scaler2 = 1*value |
2650 | - | BC.LeftLegColor = BrickColor.new("Institutional white") |
2650 | + | elseif type == "Divide" then |
2651 | - | BC.RightArmColor = BrickColor.new("Toothpaste") |
2651 | + | scaler2 = 1/value |
2652 | - | BC.RightLegColor = BrickColor.new("Institutional white") |
2652 | + | |
2653 | - | BC.TorsoColor = BrickColor.new("Institutional white") |
2653 | + | |
2654 | - | Music.TimePosition = 0 |
2654 | + | for i = 0,10/bonuspeed,0.1 do |
2655 | - | Music.SoundId = "rbxassetid://174212509" |
2655 | + | swait() |
2656 | - | Music.Parent = tors |
2656 | + | if rainbowmode == true then |
2657 | - | Music:Play() |
2657 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2658 | - | elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2658 | + | |
2659 | - | DTrail5.Enabled = false |
2659 | + | if type == "Add" then |
2660 | - | DTrail4.Enabled = false |
2660 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2661 | - | DTrail3.Enabled = false |
2661 | + | elseif type == "Divide" then |
2662 | - | DTrail2.Enabled = false |
2662 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2663 | - | DTrail.Enabled = false |
2663 | + | |
2664 | - | Purity = false |
2664 | + | if chaosmode == true then |
2665 | - | tecks2.Text = "Neutral" |
2665 | + | rng.BrickColor = BrickColor.random() |
2666 | - | tecks2.Rotation = 0 |
2666 | + | |
2667 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2667 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2668 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2668 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2669 | - | resetmode() |
2669 | + | |
2670 | - | Music.TimePosition = 0 |
2670 | + | rng:Destroy() |
2671 | - | Music.SoundId = "rbxassetid://1117396305" |
2671 | + | |
2672 | - | Music.Parent = tors |
2672 | + | |
2673 | - | Music:Play() |
2673 | + | |
2674 | - | BC.HeadColor = BrickColor.new("Fossil") |
2674 | + | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2675 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2675 | + | local type = type |
2676 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2676 | + | local rng = Instance.new("Part", char) |
2677 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2677 | + | rng.Anchored = true |
2678 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2678 | + | rng.BrickColor = color |
2679 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2679 | + | rng.CanCollide = false |
2680 | - | elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2680 | + | rng.FormFactor = 3 |
2681 | - | DTrail5.Enabled = false |
2681 | + | rng.Name = "Ring" |
2682 | - | DTrail4.Enabled = false |
2682 | + | rng.Material = "Neon" |
2683 | - | DTrail3.Enabled = false |
2683 | + | rng.Size = Vector3.new(1, 1, 1) |
2684 | - | DTrail2.Enabled = false |
2684 | + | rng.Transparency = 0 |
2685 | - | DTrail.Enabled = false |
2685 | + | rng.TopSurface = 0 |
2686 | - | Solar = true |
2686 | + | rng.BottomSurface = 0 |
2687 | - | tecks2.Text = "Solar" |
2687 | + | rng.CFrame = pos |
2688 | - | tecks2.Rotation = 0 |
2688 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2689 | - | tecks2.TextColor3 = Color3.new(1, 1, 0) |
2689 | + | local rngm = Instance.new("SpecialMesh", rng) |
2690 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0) |
2690 | + | rngm.MeshType = "Brick" |
2691 | - | for i, v in pairs(ArmourParts) do |
2691 | + | rngm.Scale = vt(x1,y1,z1) |
2692 | - | v.BrickColor = BrickColor.new("New Yeller") |
2692 | + | if rainbowmode == true then |
2693 | - | end |
2693 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2694 | - | for i, v in pairs(ArmourParts2) do |
2694 | + | |
2695 | - | v.BrickColor = BrickColor.new("Bright yellow") |
2695 | + | local scaler2 = 1 |
2696 | - | end |
2696 | + | local speeder = FastSpeed/10 |
2697 | - | for i, v in pairs(NeonParts) do |
2697 | + | if type == "Add" then |
2698 | - | v.BrickColor = BrickColor.new("Deep orange") |
2698 | + | scaler2 = 1*value |
2699 | - | end |
2699 | + | elseif type == "Divide" then |
2700 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049" |
2700 | + | scaler2 = 1/value |
2701 | - | maincolor = BrickColor.new("Deep orange") |
2701 | + | |
2702 | - | BC.HeadColor = BrickColor.new("New Yeller") |
2702 | + | |
2703 | - | BC.LeftArmColor = BrickColor.new("New Yeller") |
2703 | + | for i = 0,10/bonuspeed,0.1 do |
2704 | - | BC.LeftLegColor = BrickColor.new("New Yeller") |
2704 | + | swait() |
2705 | - | BC.RightArmColor = BrickColor.new("Deep orange") |
2705 | + | if rainbowmode == true then |
2706 | - | BC.RightLegColor = BrickColor.new("New Yeller") |
2706 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2707 | - | BC.TorsoColor = BrickColor.new("New Yeller") |
2707 | + | |
2708 | - | Music.TimePosition = 5 |
2708 | + | if type == "Add" then |
2709 | - | Music.SoundId = "rbxassetid://1167066393" |
2709 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2710 | - | Music.Parent = tors |
2710 | + | elseif type == "Divide" then |
2711 | - | Music:Play() |
2711 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2712 | - | elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false then |
2712 | + | |
2713 | - | DTrail5.Enabled = false |
2713 | + | if chaosmode == true then |
2714 | - | DTrail4.Enabled = false |
2714 | + | rng.BrickColor = BrickColor.random() |
2715 | - | DTrail3.Enabled = false |
2715 | + | |
2716 | - | DTrail2.Enabled = false |
2716 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
2717 | - | DTrail.Enabled = false |
2717 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2718 | - | Solar = false |
2718 | + | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2719 | - | tecks2.Text = "Neutral" |
2719 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2720 | - | tecks2.Rotation = 0 |
2720 | + | |
2721 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2721 | + | rng:Destroy() |
2722 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2722 | + | |
2723 | - | resetmode() |
2723 | + | |
2724 | - | Music.TimePosition = 0 |
2724 | + | |
2725 | - | Music.SoundId = "rbxassetid://1117396305" |
2725 | + | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2726 | - | Music.Parent = tors |
2726 | + | local type = type |
2727 | - | Music:Play() |
2727 | + | local rng = Instance.new("Part", char) |
2728 | - | BC.HeadColor = BrickColor.new("Fossil") |
2728 | + | rng.Anchored = true |
2729 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2729 | + | rng.BrickColor = color |
2730 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2730 | + | rng.CanCollide = false |
2731 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2731 | + | rng.FormFactor = 3 |
2732 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2732 | + | rng.Name = "Ring" |
2733 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2733 | + | rng.Material = "Neon" |
2734 | - | elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2734 | + | rng.Size = Vector3.new(1, 1, 1) |
2735 | - | DTrail5.Enabled = false |
2735 | + | rng.Transparency = 0 |
2736 | - | DTrail4.Enabled = false |
2736 | + | rng.TopSurface = 0 |
2737 | - | DTrail3.Enabled = false |
2737 | + | rng.BottomSurface = 0 |
2738 | - | DTrail2.Enabled = false |
2738 | + | rng.CFrame = pos |
2739 | - | DTrail.Enabled = false |
2739 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2740 | - | Lunar = true |
2740 | + | local rngm = Instance.new("SpecialMesh", rng) |
2741 | - | tecks2.Text = "Lunar" |
2741 | + | rngm.MeshType = "Brick" |
2742 | - | tecks2.Rotation = 0 |
2742 | + | rngm.Scale = vt(x1,y1,z1) |
2743 | - | tecks2.TextColor3 = Color3.new(0, 0, 1) |
2743 | + | if rainbowmode == true then |
2744 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255) |
2744 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2745 | - | for i, v in pairs(ArmourParts) do |
2745 | + | |
2746 | - | v.BrickColor = BrickColor.new("Dark blue") |
2746 | + | local scaler2 = 0 |
2747 | - | end |
2747 | + | local speeder = FastSpeed/10 |
2748 | - | for i, v in pairs(ArmourParts2) do |
2748 | + | if type == "Add" then |
2749 | - | v.BrickColor = BrickColor.new("Cyan") |
2749 | + | scaler2 = 1*value |
2750 | - | end |
2750 | + | elseif type == "Divide" then |
2751 | - | for i, v in pairs(NeonParts) do |
2751 | + | scaler2 = 1/value |
2752 | - | v.BrickColor = BrickColor.new("Steel blue") |
2752 | + | |
2753 | - | end |
2753 | + | |
2754 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333" |
2754 | + | for i = 0,10/bonuspeed,0.1 do |
2755 | - | maincolor = BrickColor.new("Steel blue") |
2755 | + | swait() |
2756 | - | BC.HeadColor = BrickColor.new("Dark blue") |
2756 | + | if rainbowmode == true then |
2757 | - | BC.LeftArmColor = BrickColor.new("Dark blue") |
2757 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2758 | - | BC.LeftLegColor = BrickColor.new("Dark blue") |
2758 | + | |
2759 | - | BC.RightArmColor = BrickColor.new("Steel blue") |
2759 | + | if type == "Add" then |
2760 | - | BC.RightLegColor = BrickColor.new("Dark blue") |
2760 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2761 | - | BC.TorsoColor = BrickColor.new("Dark blue") |
2761 | + | elseif type == "Divide" then |
2762 | - | Music.TimePosition = 0.5 |
2762 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2763 | - | Music.SoundId = "rbxassetid://1574603917" |
2763 | + | |
2764 | - | Music.Parent = tors |
2764 | + | if chaosmode == true then |
2765 | - | Music:Play() |
2765 | + | rng.BrickColor = BrickColor.random() |
2766 | - | elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false then |
2766 | + | |
2767 | - | DTrail5.Enabled = false |
2767 | + | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 |
2768 | - | DTrail4.Enabled = false |
2768 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2769 | - | DTrail3.Enabled = false |
2769 | + | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2770 | - | DTrail2.Enabled = false |
2770 | + | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2771 | - | DTrail.Enabled = false |
2771 | + | |
2772 | - | Lunar = false |
2772 | + | rng:Destroy() |
2773 | - | tecks2.Text = "Neutral" |
2773 | + | |
2774 | - | tecks2.Rotation = 0 |
2774 | + | |
2775 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2775 | + | |
2776 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2776 | + | function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2777 | - | resetmode() |
2777 | + | local type = type |
2778 | - | Music.TimePosition = 0 |
2778 | + | local rng = Instance.new("Part", workspace) |
2779 | - | Music.SoundId = "rbxassetid://1117396305" |
2779 | + | rng.Anchored = true |
2780 | - | Music.Parent = tors |
2780 | + | rng.BrickColor = color |
2781 | - | Music:Play() |
2781 | + | rng.CanCollide = false |
2782 | - | BC.HeadColor = BrickColor.new("Fossil") |
2782 | + | rng.FormFactor = 3 |
2783 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2783 | + | rng.Name = "Ring" |
2784 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2784 | + | rng.Material = "Neon" |
2785 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2785 | + | rng.Size = Vector3.new(1, 1, 1) |
2786 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2786 | + | rng.Transparency = 0 |
2787 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2787 | + | rng.TopSurface = 0 |
2788 | - | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2788 | + | rng.BottomSurface = 0 |
2789 | - | Destruction = true |
2789 | + | rng.CFrame = pos |
2790 | - | tecks2.Text = "Destruction" |
2790 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2791 | - | tecks2.Rotation = 0 |
2791 | + | local rngm = Instance.new("SpecialMesh", rng) |
2792 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2792 | + | rngm.MeshType = "Sphere" |
2793 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0) |
2793 | + | rngm.Scale = vt(x1,y1,z1) |
2794 | - | for i, v in pairs(ArmourParts) do |
2794 | + | if rainbowmode == true then |
2795 | - | v.BrickColor = BrickColor.new("Really black") |
2795 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2796 | - | end |
2796 | + | |
2797 | - | for i, v in pairs(ArmourParts2) do |
2797 | + | local scaler2 = 1 |
2798 | - | v.BrickColor = BrickColor.new("Black") |
2798 | + | local speeder = FastSpeed |
2799 | - | end |
2799 | + | if type == "Add" then |
2800 | - | for i, v in pairs(NeonParts) do |
2800 | + | scaler2 = 1*value |
2801 | - | v.BrickColor = BrickColor.new("Really red") |
2801 | + | elseif type == "Divide" then |
2802 | - | end |
2802 | + | scaler2 = 1/value |
2803 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=201400785" |
2803 | + | |
2804 | - | DTrail5.Enabled = true |
2804 | + | |
2805 | - | DTrail4.Enabled = true |
2805 | + | for i = 0,10/bonuspeed,0.1 do |
2806 | - | DTrail3.Enabled = true |
2806 | + | swait() |
2807 | - | DTrail2.Enabled = true |
2807 | + | if rainbowmode == true then |
2808 | - | DTrail.Enabled = true |
2808 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2809 | - | maincolor = BrickColor.new("Really red") |
2809 | + | |
2810 | - | BC.HeadColor = BrickColor.new("Black") |
2810 | + | if type == "Add" then |
2811 | - | BC.LeftArmColor = BrickColor.new("Black") |
2811 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2812 | - | BC.LeftLegColor = BrickColor.new("Black") |
2812 | + | elseif type == "Divide" then |
2813 | - | BC.RightArmColor = BrickColor.new("Really red") |
2813 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2814 | - | BC.RightLegColor = BrickColor.new("Black") |
2814 | + | |
2815 | - | BC.TorsoColor = BrickColor.new("Black") |
2815 | + | if chaosmode == true then |
2816 | - | Music.TimePosition = 2 |
2816 | + | rng.BrickColor = BrickColor.random() |
2817 | - | Music.SoundId = "rbxassetid://1703475948" |
2817 | + | |
2818 | - | Music.Parent = tors |
2818 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
2819 | - | Music:Play() |
2819 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2820 | - | elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2820 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2821 | - | DTrail5.Enabled = false |
2821 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
2822 | - | DTrail4.Enabled = false |
2822 | + | |
2823 | - | DTrail3.Enabled = false |
2823 | + | rng:Destroy() |
2824 | - | DTrail2.Enabled = false |
2824 | + | |
2825 | - | DTrail.Enabled = false |
2825 | + | |
2826 | - | Destruction = false |
2826 | + | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2827 | - | tecks2.Text = "Neutral" |
2827 | + | local type = type |
2828 | - | tecks2.Rotation = 0 |
2828 | + | local rng = Instance.new("Part", char) |
2829 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2829 | + | rng.Anchored = true |
2830 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2830 | + | rng.BrickColor = color |
2831 | - | resetmode() |
2831 | + | rng.CanCollide = false |
2832 | - | Music.TimePosition = 0 |
2832 | + | rng.FormFactor = 3 |
2833 | - | Music.SoundId = "rbxassetid://1117396305" |
2833 | + | rng.Name = "Ring" |
2834 | - | Music.Parent = tors |
2834 | + | rng.Material = "Neon" |
2835 | - | Music:Play() |
2835 | + | rng.Size = Vector3.new(1, 1, 1) |
2836 | - | BC.HeadColor = BrickColor.new("Fossil") |
2836 | + | rng.Transparency = 0 |
2837 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2837 | + | rng.TopSurface = 0 |
2838 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2838 | + | rng.BottomSurface = 0 |
2839 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2839 | + | rng.CFrame = pos |
2840 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2840 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2841 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2841 | + | local rngm = Instance.new("SpecialMesh", rng) |
2842 | - | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2842 | + | rngm.MeshType = "Sphere" |
2843 | - | helpme = true |
2843 | + | rngm.Scale = vt(x1,y1,z1) |
2844 | - | DTrail5.Enabled = false |
2844 | + | if rainbowmode == true then |
2845 | - | DTrail4.Enabled = false |
2845 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2846 | - | DTrail3.Enabled = false |
2846 | + | |
2847 | - | DTrail2.Enabled = false |
2847 | + | local scaler2 = 1 |
2848 | - | DTrail.Enabled = false |
2848 | + | local speeder = FastSpeed |
2849 | - | Music.TimePosition = 1 |
2849 | + | if type == "Add" then |
2850 | - | tecks2.Text = "iNsAnItY" |
2850 | + | scaler2 = 1*value |
2851 | - | Music.SoundId = "rbxassetid://943961217" |
2851 | + | elseif type == "Divide" then |
2852 | - | Music.Parent = tors |
2852 | + | scaler2 = 1/value |
2853 | - | Music:Play() |
2853 | + | |
2854 | - | BC.HeadColor = BrickColor.random() |
2854 | + | |
2855 | - | BC.LeftArmColor = BrickColor.random() |
2855 | + | for i = 0,10/bonuspeed,0.1 do |
2856 | - | BC.LeftLegColor = BrickColor.random() |
2856 | + | swait() |
2857 | - | BC.RightArmColor = BrickColor.random() |
2857 | + | if rainbowmode == true then |
2858 | - | BC.RightLegColor = BrickColor.random() |
2858 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2859 | - | BC.TorsoColor = BrickColor.random() |
2859 | + | |
2860 | - | elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2860 | + | if type == "Add" then |
2861 | - | DTrail5.Enabled = false |
2861 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2862 | - | DTrail4.Enabled = false |
2862 | + | elseif type == "Divide" then |
2863 | - | DTrail3.Enabled = false |
2863 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2864 | - | DTrail2.Enabled = false |
2864 | + | |
2865 | - | DTrail.Enabled = false |
2865 | + | if chaosmode == true then |
2866 | - | helpme = false |
2866 | + | rng.BrickColor = BrickColor.random() |
2867 | - | tecks2.Text = "Neutral" |
2867 | + | |
2868 | - | tecks2.Rotation = 0 |
2868 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
2869 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2869 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2870 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2870 | + | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2871 | - | resetmode() |
2871 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
2872 | - | Music.TimePosition = 0 |
2872 | + | |
2873 | - | Music.SoundId = "rbxassetid://1117396305" |
2873 | + | rng:Destroy() |
2874 | - | Music.Parent = tors |
2874 | + | |
2875 | - | Music:Play() |
2875 | + | |
2876 | - | BC.HeadColor = BrickColor.new("Fossil") |
2876 | + | |
2877 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2877 | + | |
2878 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2878 | + | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2879 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2879 | + | local type = type |
2880 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2880 | + | local rng = Instance.new("Part", char) |
2881 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2881 | + | rng.Anchored = true |
2882 | - | elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2882 | + | rng.BrickColor = color |
2883 | - | Frost = true |
2883 | + | rng.CanCollide = false |
2884 | - | DTrail5.Enabled = false |
2884 | + | rng.FormFactor = 3 |
2885 | - | DTrail4.Enabled = false |
2885 | + | rng.Name = "Ring" |
2886 | - | DTrail3.Enabled = false |
2886 | + | rng.Material = "Neon" |
2887 | - | DTrail2.Enabled = false |
2887 | + | rng.Size = Vector3.new(1, 1, 1) |
2888 | - | DTrail.Enabled = false |
2888 | + | rng.Transparency = 1 |
2889 | - | tecks2.Text = "Frost" |
2889 | + | rng.TopSurface = 0 |
2890 | - | tecks2.Rotation = 0 |
2890 | + | rng.BottomSurface = 0 |
2891 | - | tecks2.TextColor3 = Color3.new(1, 1, 1) |
2891 | + | rng.CFrame = pos |
2892 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255) |
2892 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2893 | - | for i, v in pairs(ArmourParts) do |
2893 | + | local rngm = Instance.new("SpecialMesh", rng) |
2894 | - | v.BrickColor = BrickColor.new("Cyan") |
2894 | + | rngm.MeshType = "Sphere" |
2895 | - | end |
2895 | + | rngm.Scale = vt(x1,y1,z1) |
2896 | - | for i, v in pairs(ArmourParts2) do |
2896 | + | if rainbowmode == true then |
2897 | - | v.BrickColor = BrickColor.new("White") |
2897 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2898 | - | end |
2898 | + | |
2899 | - | for i, v in pairs(NeonParts) do |
2899 | + | local scaler2 = 1 |
2900 | - | v.BrickColor = BrickColor.new("Teal") |
2900 | + | local speeder = FastSpeed |
2901 | - | end |
2901 | + | if type == "Add" then |
2902 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=111523405" |
2902 | + | scaler2 = 1*value |
2903 | - | maincolor = BrickColor.new("Teal") |
2903 | + | elseif type == "Divide" then |
2904 | - | BC.HeadColor = BrickColor.new("Cyan") |
2904 | + | scaler2 = 1/value |
2905 | - | BC.LeftArmColor = BrickColor.new("Cyan") |
2905 | + | |
2906 | - | BC.LeftLegColor = BrickColor.new("Cyan") |
2906 | + | |
2907 | - | BC.RightArmColor = BrickColor.new("Teal") |
2907 | + | for i = 0,10/bonuspeed,0.1 do |
2908 | - | BC.RightLegColor = BrickColor.new("Cyan") |
2908 | + | swait() |
2909 | - | BC.TorsoColor = BrickColor.new("Cyan") |
2909 | + | if rainbowmode == true then |
2910 | - | Music.TimePosition = 1 |
2910 | + | rng.Color = Color3.new(r/255,g/255,b/255) |
2911 | - | Music.SoundId = "rbxassetid://1579308042" |
2911 | + | |
2912 | - | Music.Parent = tors |
2912 | + | if type == "Add" then |
2913 | - | Music:Play() |
2913 | + | scaler2 = scaler2 - 0.01*value/bonuspeed |
2914 | - | elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false then |
2914 | + | elseif type == "Divide" then |
2915 | - | DTrail5.Enabled = false |
2915 | + | scaler2 = scaler2 - 0.01/value*bonuspeed |
2916 | - | DTrail4.Enabled = false |
2916 | + | |
2917 | - | DTrail3.Enabled = false |
2917 | + | if chaosmode == true then |
2918 | - | DTrail2.Enabled = false |
2918 | + | rng.BrickColor = BrickColor.random() |
2919 | - | DTrail.Enabled = false |
2919 | + | |
2920 | - | Frost = false |
2920 | + | speeder = speeder - 0.01*FastSpeed*bonuspeed |
2921 | - | tecks2.Text = "Neutral" |
2921 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2922 | - | tecks2.Rotation = 0 |
2922 | + | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
2923 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2923 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
2924 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2924 | + | |
2925 | - | resetmode() |
2925 | + | rng:Destroy() |
2926 | - | Music.TimePosition = 0 |
2926 | + | |
2927 | - | Music.SoundId = "rbxassetid://1117396305" |
2927 | + | |
2928 | - | Music.Parent = tors |
2928 | + | |
2929 | - | Music:Play() |
2929 | + | function dmg(dude) |
2930 | - | BC.HeadColor = BrickColor.new("Fossil") |
2930 | + | if dude.Name ~= Character then |
2931 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2931 | + | local bgf = Instance.new("BodyGyro",dude.Head) |
2932 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2932 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
2933 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2933 | + | local val = Instance.new("BoolValue",dude) |
2934 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2934 | + | val.Name = "IsHit" |
2935 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2935 | + | local ds = coroutine.wrap(function() |
2936 | - | elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2936 | + | dude:WaitForChild("Head"):BreakJoints() |
2937 | - | Ashes = true |
2937 | + | wait(0.5) |
2938 | - | DTrail5.Enabled = false |
2938 | + | targetted = nil |
2939 | - | DTrail4.Enabled = false |
2939 | + | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3) |
2940 | - | DTrail3.Enabled = false |
2940 | + | |
2941 | - | DTrail2.Enabled = false |
2941 | + | for i, v in pairs(dude:GetChildren()) do |
2942 | - | DTrail.Enabled = false |
2942 | + | if v:IsA("Accessory") then |
2943 | - | tecks2.Text = "Ash" |
2943 | + | v:Destroy() |
2944 | - | tecks2.Rotation = 0 |
2944 | + | |
2945 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2945 | + | if v:IsA("Humanoid") then |
2946 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105) |
2946 | + | v:Destroy() |
2947 | - | for i, v in pairs(ArmourParts) do |
2947 | + | |
2948 | - | v.BrickColor = BrickColor.new("Smoky grey") |
2948 | + | if v:IsA("CharacterMesh") then |
2949 | - | end |
2949 | + | v:Destroy() |
2950 | - | for i, v in pairs(ArmourParts2) do |
2950 | + | |
2951 | - | v.BrickColor = BrickColor.new("Black") |
2951 | + | if v:IsA("Model") then |
2952 | - | end |
2952 | + | v:Destroy() |
2953 | - | for i, v in pairs(NeonParts) do |
2953 | + | |
2954 | - | v.BrickColor = BrickColor.new("Really black") |
2954 | + | if v:IsA("Part") or v:IsA("MeshPart") then |
2955 | - | end |
2955 | + | for x, o in pairs(v:GetChildren()) do |
2956 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178" |
2956 | + | if o:IsA("Decal") then |
2957 | - | maincolor = BrickColor.new("Really black") |
2957 | + | o:Destroy() |
2958 | - | BC.HeadColor = BrickColor.new("Smoky grey") |
2958 | + | |
2959 | - | BC.LeftArmColor = BrickColor.new("Smoky grey") |
2959 | + | |
2960 | - | BC.LeftLegColor = BrickColor.new("Smoky grey") |
2960 | + | |
2961 | - | BC.RightArmColor = BrickColor.new("Really black") |
2961 | + | v.Material = "Neon" |
2962 | - | BC.RightLegColor = BrickColor.new("Smoky grey") |
2962 | + | v.CanCollide = false |
2963 | - | BC.TorsoColor = BrickColor.new("Smoky grey") |
2963 | + | local bld = Instance.new("ParticleEmitter",v) |
2964 | - | Music.TimePosition = 2 |
2964 | + | bld.LightEmission = 1 |
2965 | - | Music.SoundId = "rbxassetid://1514078310" |
2965 | + | bld.Texture = "rbxassetid://284205403" |
2966 | - | Music.Parent = tors |
2966 | + | bld.Color = ColorSequence.new(Color3.new(1,1,1)) |
2967 | - | Music:Play() |
2967 | + | bld.Rate = 50 |
2968 | - | elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true then |
2968 | + | bld.Lifetime = NumberRange.new(1) |
2969 | - | DTrail5.Enabled = false |
2969 | + | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)}) |
2970 | - | DTrail4.Enabled = false |
2970 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
2971 | - | DTrail3.Enabled = false |
2971 | + | bld.Speed = NumberRange.new(0,0) |
2972 | - | DTrail2.Enabled = false |
2972 | + | bld.VelocitySpread = 50000 |
2973 | - | DTrail.Enabled = false |
2973 | + | bld.Rotation = NumberRange.new(-500,500) |
2974 | - | Ashes = false |
2974 | + | bld.RotSpeed = NumberRange.new(-500,500) |
2975 | - | tecks2.Text = "Neutral" |
2975 | + | local sbs = Instance.new("BodyPosition", v) |
2976 | - | tecks2.Rotation = 0 |
2976 | + | sbs.P = 3000 |
2977 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
2977 | + | sbs.D = 1000 |
2978 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
2978 | + | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
2979 | - | resetmode() |
2979 | + | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) |
2980 | - | Music.TimePosition = 0 |
2980 | + | v.Color = Color3.new(1,1,1) |
2981 | - | Music.SoundId = "rbxassetid://1117396305" |
2981 | + | |
2982 | - | Music.Parent = tors |
2982 | + | for i = 0, 49 do |
2983 | - | Music:Play() |
2983 | + | swait(1) |
2984 | - | BC.HeadColor = BrickColor.new("Fossil") |
2984 | + | v.Transparency = v.Transparency + 0.02 |
2985 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
2985 | + | |
2986 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
2986 | + | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1) |
2987 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
2987 | + | bld.Speed = NumberRange.new(1,5) |
2988 | - | BC.RightLegColor = BrickColor.new("Fossil") |
2988 | + | bld.Acceleration = vt(0,10,0) |
2989 | - | BC.TorsoColor = BrickColor.new("Fossil") |
2989 | + | wait(0.5) |
2990 | - | elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then |
2990 | + | bld.Enabled = false |
2991 | - | tecks2.TextTransparency = 0 |
2991 | + | wait(3) |
2992 | - | tecks2.TextStrokeTransparency = 0 |
2992 | + | v:Destroy() |
2993 | - | elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then |
2993 | + | dude:Destroy() |
2994 | - | tecks2.TextTransparency = 1 |
2994 | + | |
2995 | - | tecks2.TextStrokeTransparency = 1 |
2995 | + | |
2996 | - | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then |
2996 | + | |
2997 | - | DTrail5.Enabled = false |
2997 | + | |
2998 | - | DTrail4.Enabled = false |
2998 | + | |
2999 | - | DTrail3.Enabled = false |
2999 | + | |
3000 | - | DTrail2.Enabled = false |
3000 | + | ds() |
3001 | - | DTrail.Enabled = false |
3001 | + | |
3002 | - | Planetary = true |
3002 | + | |
3003 | - | tecks2.Text = "Planetary" |
3003 | + | |
3004 | - | tecks2.Rotation = 0 |
3004 | + | |
3005 | - | tecks2.TextColor3 = Color3.fromRGB(61, 21, 133) |
3005 | + | |
3006 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133) |
3006 | + | |
3007 | - | for i, v in pairs(ArmourParts) do |
3007 | + | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance |
3008 | - | v.BrickColor = BrickColor.new("Dark indigo") |
3008 | + | |
3009 | - | end |
3009 | + | |
3010 | - | for i, v in pairs(ArmourParts2) do |
3010 | + | |
3011 | - | v.BrickColor = BrickColor.new("Dark indigo") |
3011 | + | if v:IsA("Model") then |
3012 | - | end |
3012 | + | if v:findFirstChild("Head") then |
3013 | - | for i, v in pairs(NeonParts) do |
3013 | + | if v ~= Character then |
3014 | - | v.BrickColor = BrickColor.new("Dark indigo") |
3014 | + | if (v.Head.Position - Position).magnitude <= Distance then |
3015 | - | end |
3015 | + | table.insert(List, v) |
3016 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" |
3016 | + | end |
3017 | - | maincolor = BrickColor.new("Dark indigo") |
3017 | + | end |
3018 | - | BC.HeadColor = BrickColor.new("Dark indigo") |
3018 | + | end |
3019 | - | BC.LeftArmColor = BrickColor.new("Dark indigo") |
3019 | + | end |
3020 | - | BC.LeftLegColor = BrickColor.new("Dark indigo") |
3020 | + | |
3021 | - | BC.RightArmColor = BrickColor.new("Dark indigo") |
3021 | + | |
3022 | - | BC.RightLegColor = BrickColor.new("Dark indigo") |
3022 | + | |
3023 | - | BC.TorsoColor = BrickColor.new("Dark indigo") |
3023 | + | |
3024 | - | Music.TimePosition = 0 |
3024 | + | function FaceMouse() |
3025 | - | Music.SoundId = "rbxassetid://609934004" |
3025 | + | Cam = workspace.CurrentCamera |
3026 | - | Music.Parent = tors |
3026 | + | return { |
3027 | - | Music:Play() |
3027 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
3028 | - | elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false then |
3028 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
3029 | - | Planetary = false |
3029 | + | |
3030 | - | DTrail5.Enabled = false |
3030 | + | |
3031 | - | DTrail4.Enabled = false |
3031 | + | |
3032 | - | DTrail3.Enabled = false |
3032 | + | function FaceMouse2() |
3033 | - | DTrail2.Enabled = false |
3033 | + | Cam = workspace.CurrentCamera |
3034 | - | DTrail.Enabled = false |
3034 | + | return { |
3035 | - | tecks2.Text = "Neutral" |
3035 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
3036 | - | tecks2.Rotation = 0 |
3036 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
3037 | - | tecks2.TextColor3 = Color3.new(0, 0, 0) |
3037 | + | |
3038 | - | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) |
3038 | + | |
3039 | - | resetmode() |
3039 | + | |
3040 | - | Music.TimePosition = 0 |
3040 | + | local ModeOfGlitch = 1 |
3041 | - | Music.SoundId = "rbxassetid://1117396305" |
3041 | + | -- Functions are ready. |
3042 | - | Music.Parent = tors |
3042 | + | local storehumanoidWS = 16 |
3043 | - | Music:Play() |
3043 | + | |
3044 | - | BC.HeadColor = BrickColor.new("Fossil") |
3044 | + | function Blink() |
3045 | - | BC.LeftArmColor = BrickColor.new("Fossil") |
3045 | + | for i = 0, 14 do |
3046 | - | BC.LeftLegColor = BrickColor.new("Fossil") |
3046 | + | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) |
3047 | - | BC.RightArmColor = BrickColor.new("Smoky grey") |
3047 | + | |
3048 | - | BC.RightLegColor = BrickColor.new("Fossil") |
3048 | + | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
3049 | - | BC.TorsoColor = BrickColor.new("Fossil") |
3049 | + | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) |
3050 | CameraEnshaking(2,10) | |
3051 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do | |
3052 | if v:FindFirstChild('Head') then | |
3053 | - | mouse.KeyDown:connect(function(key) |
3053 | + | |
3054 | - | if attack == false then |
3054 | + | |
3055 | - | if EdgyMode == true then |
3055 | + | for i = 0, 14 do |
3056 | - | if key == 'r' then |
3056 | + | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) |
3057 | - | Decapitate() |
3057 | + | |
3058 | - | elseif key == 'e' then |
3058 | + | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
3059 | - | Laugh() |
3059 | + | |
3060 | ||
3061 | function ExtinctiveHeartbreak() | |
3062 | - | if Divinity == true then |
3062 | + | local targetted = nil |
3063 | - | if key == 'r' then |
3063 | + | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then |
3064 | - | Beam_Of_Light() |
3064 | + | targetted = mouse.Target.Parent |
3065 | - | elseif key == 'f' then |
3065 | + | |
3066 | - | Blast_Of_God() |
3066 | + | if targetted ~= nil then |
3067 | attack = true | |
3068 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) | |
3069 | - | if Fighter == true then |
3069 | + | for i = 0, 9 do |
3070 | - | if key == 'e' then |
3070 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3071 | - | Flying_Kick() |
3071 | + | |
3072 | - | elseif key == 'f' then |
3072 | + | for i = 0, 24 do |
3073 | - | UpperCut() |
3073 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) |
3074 | - | elseif key == 't' then |
3074 | + | |
3075 | - | Spinning_Kick() |
3075 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3076 | local originalpos = root.CFrame | |
3077 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) | |
3078 | - | if Purity == true then |
3078 | + | for i = 0, 9 do |
3079 | - | if key == 'r' then |
3079 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3080 | - | Purity_Slam() |
3080 | + | |
3081 | for i = 0, 24 do | |
3082 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) | |
3083 | - | if Solar == true then |
3083 | + | |
3084 | - | if key == 'r' then |
3084 | + | hum.WalkSpeed = 0 |
3085 | - | Eruption() |
3085 | + | targetted.Head.Anchored = true |
3086 | - | elseif key == 't' then |
3086 | + | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3087 | - | Solar_Flare() |
3087 | + | for i = 0,2,0.1 do |
3088 | - | end |
3088 | + | swait() |
3089 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) | |
3090 | - | if Frost == true then |
3090 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) |
3091 | - | if key == 'r' then |
3091 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) |
3092 | - | Blizzard() |
3092 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
3093 | - | elseif key == 't' then |
3093 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) |
3094 | - | Cryo_Freeze() |
3094 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) |
3095 | end | |
3096 | coroutine.resume(coroutine.create(function() | |
3097 | - | if Ashes == true then |
3097 | + | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso")) |
3098 | - | if key == 't' and notmenacing then |
3098 | + | bld.LightEmission = 0.1 |
3099 | - | Menacing_Aura() |
3099 | + | bld.Texture = "rbxassetid://284205403" |
3100 | - | elseif key == 'r' and alternatecooldownbecausewhynotdood == false then |
3100 | + | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
3101 | - | Heat_Stroke() |
3101 | + | bld.Rate = 500 |
3102 | bld.Lifetime = NumberRange.new(1) | |
3103 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3104 | - | if Lunar == true then |
3104 | + | bld.Acceleration = vt(0,-25,0) |
3105 | - | if key == 't' then |
3105 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
3106 | - | ShadowWarp() |
3106 | + | bld.Speed = NumberRange.new(10,50) |
3107 | - | elseif key == 'r' then |
3107 | + | bld.EmissionDirection = "Front" |
3108 | - | Shade() |
3108 | + | bld.VelocitySpread = 25 |
3109 | bld.Rotation = NumberRange.new(-500,500) | |
3110 | bld.RotSpeed = NumberRange.new(-500,500) | |
3111 | - | if Destruction == true then |
3111 | + | |
3112 | - | if key == 'r' then |
3112 | + | |
3113 | - | Diablo_Explosion() |
3113 | + | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso")) |
3114 | - | elseif key == 'f' then |
3114 | + | bld.LightEmission = 0.1 |
3115 | - | Hell_From_Above() |
3115 | + | bld.Texture = "rbxassetid://284205403" |
3116 | - | elseif key == 't' then |
3116 | + | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
3117 | - | Spinning_Below() |
3117 | + | bld.Rate = 500 |
3118 | bld.Lifetime = NumberRange.new(1) | |
3119 | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
3120 | - | if Planetary == true then |
3120 | + | bld.Acceleration = vt(0,-25,0) |
3121 | - | if key == 'r' then |
3121 | + | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
3122 | - | Multi_Bombs() |
3122 | + | bld.Speed = NumberRange.new(10,50) |
3123 | - | elseif key == 't' then |
3123 | + | bld.EmissionDirection = "Front" |
3124 | - | Universal_Crush() |
3124 | + | bld.VelocitySpread = 25 |
3125 | bld.Rotation = NumberRange.new(-500,500) | |
3126 | bld.RotSpeed = NumberRange.new(-500,500) | |
3127 | - | if helpme == true then |
3127 | + | |
3128 | - | if key == 'r' then |
3128 | + | CameraEnshaking(5,5) |
3129 | - | Painful_Stomp() |
3129 | + | game:GetService("Debris"):AddItem(bld,3) |
3130 | - | elseif key == 'f' then |
3130 | + | dmg(targetted) |
3131 | - | Ending() |
3131 | + | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1) |
3132 | - | elseif key == 't' then |
3132 | + | for i = 0,1,0.1 do |
3133 | - | Ende_der_Weld() |
3133 | + | swait() |
3134 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) | |
3135 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) | |
3136 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) | |
3137 | - | end) |
3137 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) |
3138 | RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) | |
3139 | LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) | |
3140 | end | |
3141 | - | while true do |
3141 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3142 | - | swait(8) |
3142 | + | for i = 0, 9 do |
3143 | - | if Solar == true then |
3143 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3144 | - | sphereMK(5, 0.12, "Add", root.CFrame * CFrame.new(math.random(-6, 6), -10, math.random(-6, 6)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, maincolor, 0) |
3144 | + | |
3145 | for i = 0, 24 do | |
3146 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) | |
3147 | end | |
3148 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
3149 | - | while true do |
3149 | + | root.CFrame = originalpos |
3150 | - | swait(4) |
3150 | + | for i = 0, 9 do |
3151 | - | if Frost == true then |
3151 | + | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3152 | - | Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03) |
3152 | + | |
3153 | - | Effects.Ring.Create(BrickC("Teal"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.15, 0.15, 0.15, 0.02) |
3153 | + | for i = 0, 24 do |
3154 | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) | |
3155 | end | |
3156 | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) | |
3157 | bld.Enabled = false | |
3158 | - | while true do |
3158 | + | |
3159 | - | swait(4) |
3159 | + | hum.WalkSpeed = storehumanoidWS |
3160 | - | if Lunar == true then |
3160 | + | |
3161 | - | Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03) |
3161 | + | |
3162 | function MeteorStrike() | |
3163 | attack = true | |
3164 | for i = 0, 2, 0.1 do | |
3165 | swait() | |
3166 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
3167 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
3168 | - | ------------------------------------------------------- |
3168 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
3169 | - | --Start Animations-- |
3169 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
3170 | - | ------------------------------------------------------- |
3170 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
3171 | - | local equipped = false |
3171 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3172 | - | local idle = 0 |
3172 | + | |
3173 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2) | |
3174 | - | local val = 0 |
3174 | + | for i=1,20 do |
3175 | - | local toim = 0 |
3175 | + | sphereMKCharge(5,-0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10) |
3176 | - | local idleanim = 0.4 |
3176 | + | swait() |
3177 | - | hum.WalkSpeed = 8 |
3177 | + | |
3178 | - | hum.Animator.Parent = nil |
3178 | + | swait(30) |
3179 | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) | |
3180 | for i =1,20 do | |
3181 | - | Music.Parent = tors |
3181 | + | sphereMKw(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
3182 | - | if helpme == true then |
3182 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
3183 | - | for i, v in pairs(ArmourParts) do |
3183 | + | |
3184 | - | v.BrickColor = BrickColor.random() |
3184 | + | for i = 0,2,0.1 do |
3185 | - | end |
3185 | + | swait() |
3186 | - | for i, v in pairs(ArmourParts2) do |
3186 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) |
3187 | - | v.BrickColor = BrickColor.random() |
3187 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) |
3188 | - | end |
3188 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) |
3189 | - | for i, v in pairs(NeonParts) do |
3189 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) |
3190 | - | v.BrickColor = BrickColor.random() |
3190 | + | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) |
3191 | - | end |
3191 | + | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) |
3192 | - | maincolor = BrickColor.random() |
3192 | + | |
3193 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)] |
3193 | + | for i =1,20 do |
3194 | - | tecks2.Text = ""..insanity[math.random(1,#insanity)] |
3194 | + | sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3195 | - | tecks2.TextColor3 = maincolor.Color |
3195 | + | |
3196 | - | tecks2.TextStrokeColor3 = maincolor.Color |
3196 | + | text.TextTransparency = 1 |
3197 | - | tecks2.Rotation = math.random(-11, 11) |
3197 | + | text.TextStrokeTransparency = 1 |
3198 | - | BC.HeadColor = BrickColor.random() |
3198 | + | tr2.Enabled = false |
3199 | - | BC.LeftArmColor = BrickColor.random() |
3199 | + | tr1.Enabled = false |
3200 | - | BC.LeftLegColor = BrickColor.random() |
3200 | + | tr3.Enabled = false |
3201 | - | BC.RightArmColor = BrickColor.random() |
3201 | + | tl1.Enabled = false |
3202 | - | BC.RightLegColor = BrickColor.random() |
3202 | + | tl2.Enabled = false |
3203 | - | BC.TorsoColor = BrickColor.random() |
3203 | + | tl3.Enabled = false |
3204 | - | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2)) |
3204 | + | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
3205 | eff = false | |
3206 | - | if EdgyMode == true then |
3206 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3207 | - | tecks2.Rotation = math.random(-2, 2) |
3207 | + | local invtab = {} |
3208 | local function search(targ) | |
3209 | - | if Planetary == true then |
3209 | + | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then |
3210 | - | MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2) |
3210 | + | table.insert(invtab,targ) |
3211 | - | tecks2.Rotation = math.random(-4, 4) |
3211 | + | end |
3212 | for i,v in pairs(targ:GetChildren()) do | |
3213 | - | sine = sine + change |
3213 | + | search(v) |
3214 | - | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude |
3214 | + | |
3215 | - | local velderp = root.Velocity.y |
3215 | + | |
3216 | - | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) |
3216 | + | search(plr.Character) |
3217 | - | if equipped == true or equipped == false then |
3217 | + | local frm = 0 |
3218 | - | if attack == false then |
3218 | + | local frmcon |
3219 | - | idle = idle + 1 |
3219 | + | frmcon = game:GetService("RunService").Heartbeat:connect(function() |
3220 | - | else |
3220 | + | if frm < 10 then |
3221 | - | idle = 0 |
3221 | + | for i,v in pairs(invtab) do |
3222 | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then | |
3223 | - | if 1 < root.Velocity.y and hitfloor == nil then |
3223 | + | v.Transparency = v.Transparency + 0.1 |
3224 | - | Anim = "Jump" |
3224 | + | end |
3225 | - | change = 1 |
3225 | + | end |
3226 | - | if attack == false then |
3226 | + | frm = frm + 1 |
3227 | - | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) |
3227 | + | else |
3228 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) |
3228 | + | frmcon:disconnect() |
3229 | - | 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) |
3229 | + | |
3230 | - | 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) |
3230 | + | end) |
3231 | - | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) |
3231 | + | swait(200) |
3232 | - | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) |
3232 | + | text.TextTransparency = 0 |
3233 | text.TextStrokeTransparency = 0 | |
3234 | - | elseif -1 > root.Velocity.y and hitfloor == nil then |
3234 | + | tr2.Enabled = false |
3235 | - | Anim = "Fall" |
3235 | + | tr1.Enabled = false |
3236 | - | change = 1 |
3236 | + | tr3.Enabled = false |
3237 | - | if attack == false then |
3237 | + | tl1.Enabled = false |
3238 | - | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) |
3238 | + | tl2.Enabled = false |
3239 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) |
3239 | + | tl3.Enabled = false |
3240 | - | 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(90)),0.3) |
3240 | + | eff = true |
3241 | - | 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(-90)),0.3) |
3241 | + | for i =1,20 do |
3242 | - | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) |
3242 | + | sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3243 | - | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) |
3243 | + | |
3244 | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) | |
3245 | - | elseif torvel < 1 and hitfloor ~= nil then |
3245 | + | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3246 | - | Anim = "Idle" |
3246 | + | local invtab = {} |
3247 | - | change = 1 |
3247 | + | local function search(targ) |
3248 | - | if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3248 | + | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then |
3249 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
3249 | + | table.insert(invtab,targ) |
3250 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3250 | + | end |
3251 | - | 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(0)), 0.15) |
3251 | + | for i,v in pairs(targ:GetChildren()) do |
3252 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) |
3252 | + | search(v) |
3253 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1) |
3253 | + | |
3254 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1) |
3254 | + | |
3255 | - | elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then |
3255 | + | search(plr.Character) |
3256 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) |
3256 | + | local frm = 0 |
3257 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3257 | + | local frmcon |
3258 | - | if Mrandom(1,15) == 1 then |
3258 | + | frmcon = game:GetService("RunService").Heartbeat:connect(function() |
3259 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) |
3259 | + | if frm < 10 then |
3260 | - | end |
3260 | + | for i,v in pairs(invtab) do |
3261 | - | 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(10)), 0.15) |
3261 | + | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then |
3262 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15) |
3262 | + | v.Transparency = v.Transparency - 0.1 |
3263 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) |
3263 | + | end |
3264 | - | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) |
3264 | + | end |
3265 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then |
3265 | + | frm = frm + 1 |
3266 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) |
3266 | + | else |
3267 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3267 | + | frmcon:disconnect() |
3268 | - | 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(0)), 0.15) |
3268 | + | |
3269 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) |
3269 | + | end) |
3270 | - | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) |
3270 | + | swait(5) |
3271 | - | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) |
3271 | + | for i = 0, 2, 0.1 do |
3272 | - | elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3272 | + | swait() |
3273 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) |
3273 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3274 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) |
3274 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3275 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
3275 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
3276 | - | 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) |
3276 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
3277 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1) |
3277 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
3278 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) |
3278 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3279 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then |
3279 | + | |
3280 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15) |
3280 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3281 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3) |
3281 | + | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1) |
3282 | - | RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15) |
3282 | + | MagniDamage(root, 30, 65,90, 0, "Normal") |
3283 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15) |
3283 | + | for i =1,20 do |
3284 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) |
3284 | + | sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3285 | - | LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1) |
3285 | + | |
3286 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3286 | + | sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR) |
3287 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) |
3287 | + | for i =1,20 do |
3288 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3288 | + | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
3289 | - | 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(-10)), 0.15) |
3289 | + | |
3290 | - | 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(6)), 0.15) |
3290 | + | swait(20) |
3291 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) |
3291 | + | |
3292 | - | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) |
3292 | + | tr2.Enabled = true |
3293 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then |
3293 | + | tr1.Enabled = true |
3294 | - | rootj.C0 = clerp(rootj.C0, RootCF * cn(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1) |
3294 | + | tr3.Enabled = true |
3295 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1) |
3295 | + | tl1.Enabled = true |
3296 | - | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1) |
3296 | + | tl2.Enabled = true |
3297 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1) |
3297 | + | tl3.Enabled = true |
3298 | - | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) |
3298 | + | |
3299 | - | LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1) |
3299 | + | function FinalCalam() |
3300 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then |
3300 | + | attack = true |
3301 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) |
3301 | + | |
3302 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3302 | + | local orb = Instance.new("Part", char) |
3303 | - | 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(-10)), 0.15) |
3303 | + | orb.Anchored = true |
3304 | - | 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(6)), 0.15) |
3304 | + | orb.BrickColor = MAINRUINCOLOR |
3305 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) |
3305 | + | orb.CanCollide = false |
3306 | - | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) |
3306 | + | orb.FormFactor = 3 |
3307 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3307 | + | orb.Name = "Ring" |
3308 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15) |
3308 | + | orb.Material = "Neon" |
3309 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3) |
3309 | + | orb.Size = Vector3.new(1, 1, 1) |
3310 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
3310 | + | orb.Transparency = 0 |
3311 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
3311 | + | orb.TopSurface = 0 |
3312 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1) |
3312 | + | orb.BottomSurface = 0 |
3313 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) |
3313 | + | local orbm = Instance.new("SpecialMesh", orb) |
3314 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then |
3314 | + | orbm.MeshType = "Sphere" |
3315 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) |
3315 | + | orbm.Name = "SizeMesh" |
3316 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) |
3316 | + | orbm.Scale = vt(0,0,0) |
3317 | - | if math.random(1,1) == 1 then |
3317 | + | local scaled = 0.1 |
3318 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) |
3318 | + | local posid = 0 |
3319 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) |
3319 | + | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) |
3320 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) |
3320 | + | for i = 0, 5, 0.1 do |
3321 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) |
3321 | + | swait() |
3322 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15) |
3322 | + | scaled = scaled - 0.001 |
3323 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15) |
3323 | + | posid = posid - scaled |
3324 | - | end |
3324 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3325 | - | for i, v in pairs(ArmourParts) do |
3325 | + | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
3326 | - | v.BrickColor = BrickColor.random() |
3326 | + | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10) |
3327 | - | end |
3327 | + | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) |
3328 | - | for i, v in pairs(ArmourParts2) do |
3328 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3329 | - | v.BrickColor = BrickColor.random() |
3329 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3330 | - | end |
3330 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
3331 | - | for i, v in pairs(NeonParts) do |
3331 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3332 | - | v.BrickColor = BrickColor.random() |
3332 | + | |
3333 | - | end |
3333 | + | swait(60) |
3334 | - | maincolor = BrickColor.random() |
3334 | + | for i =1,3 do |
3335 | - | tecks2.TextColor3 = maincolor.Color |
3335 | + | swait(30) |
3336 | - | tecks2.TextStrokeColor3 = maincolor.Color |
3336 | + | CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9) |
3337 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) |
3337 | + | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
3338 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) |
3338 | + | |
3339 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) |
3339 | + | swait(30) |
3340 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
3340 | + | for i = 0, 2, 0.1 do |
3341 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then |
3341 | + | swait() |
3342 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15) |
3342 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3343 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) |
3343 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3344 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
3344 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3345 | - | 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(20 + 2.5 * Sin(sine / 20))), 0.15) |
3345 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
3346 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) |
3346 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
3347 | - | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) |
3347 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
3348 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) | |
3349 | - | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then |
3349 | + | |
3350 | - | Anim = "Walk" |
3350 | + | swait(60) |
3351 | - | change = .6 |
3351 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3352 | - | if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then |
3352 | + | CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1) |
3353 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) |
3353 | + | sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR) |
3354 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) |
3354 | + | sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR) |
3355 | - | 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(0)), 0.3) |
3355 | + | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do |
3356 | - | 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(0)), 0.3) |
3356 | + | if v:FindFirstChild('Head') then |
3357 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) |
3357 | + | dmg(v) |
3358 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) |
3358 | + | |
3359 | - | elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then |
3359 | + | |
3360 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) |
3360 | + | for i = 1,20 do |
3361 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) |
3361 | + | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0) |
3362 | - | 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(0)), 0.3) |
3362 | + | for i = 0, 10 do |
3363 | - | 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(0)), 0.3) |
3363 | + | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0) |
3364 | - | RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1) |
3364 | + | |
3365 | - | LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1) |
3365 | + | |
3366 | - | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then |
3366 | + | orb:Remove() |
3367 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15) |
3367 | + | |
3368 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
3368 | + | |
3369 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
3369 | + | function PureBomb() |
3370 | - | 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(20 + 2.5 * Sin(sine / 20))), 0.15) |
3370 | + | attack = true |
3371 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) |
3371 | + | |
3372 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) |
3372 | + | local orb = Instance.new("Part", char) |
3373 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then |
3373 | + | orb.Anchored = true |
3374 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15) |
3374 | + | orb.BrickColor = BrickColor.new("Toothpaste") |
3375 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3375 | + | orb.CanCollide = false |
3376 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) |
3376 | + | orb.FormFactor = 3 |
3377 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) |
3377 | + | orb.Name = "Ring" |
3378 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) |
3378 | + | orb.Material = "Neon" |
3379 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) |
3379 | + | orb.Size = Vector3.new(1, 1, 1) |
3380 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then |
3380 | + | orb.Transparency = 0 |
3381 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) |
3381 | + | orb.TopSurface = 0 |
3382 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3) |
3382 | + | orb.BottomSurface = 0 |
3383 | - | if math.random(1,1) == 1 then |
3383 | + | local orbm = Instance.new("SpecialMesh", orb) |
3384 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15) |
3384 | + | orbm.MeshType = "Sphere" |
3385 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1) |
3385 | + | orbm.Name = "SizeMesh" |
3386 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) |
3386 | + | orbm.Scale = vt(0,0,0) |
3387 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1) |
3387 | + | local scaled = 0.1 |
3388 | - | 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(0)), 0.3) |
3388 | + | local posid = 0 |
3389 | - | 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(0)), 0.3) |
3389 | + | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) |
3390 | - | end |
3390 | + | for i = 0, 5, 0.1 do |
3391 | - | for i, v in pairs(ArmourParts) do |
3391 | + | swait() |
3392 | - | v.BrickColor = BrickColor.random() |
3392 | + | scaled = scaled - 0.001 |
3393 | - | end |
3393 | + | posid = posid - scaled |
3394 | - | for i, v in pairs(ArmourParts2) do |
3394 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3395 | - | v.BrickColor = BrickColor.random() |
3395 | + | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
3396 | - | end |
3396 | + | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10) |
3397 | - | for i, v in pairs(NeonParts) do |
3397 | + | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0) |
3398 | - | v.BrickColor = BrickColor.random() |
3398 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) |
3399 | - | end |
3399 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) |
3400 | - | maincolor = BrickColor.random() |
3400 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3401 | - | tecks2.TextColor3 = maincolor.Color |
3401 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3402 | - | tecks2.TextStrokeColor3 = maincolor.Color |
3402 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
3403 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) |
3403 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3404 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15) |
3404 | + | |
3405 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1) |
3405 | + | for i = 0, 2, 0.1 do |
3406 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) |
3406 | + | swait() |
3407 | - | elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then |
3407 | + | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3408 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) |
3408 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3409 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3409 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3410 | - | if Mrandom(1,15) == 1 then |
3410 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
3411 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) |
3411 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
3412 | - | end |
3412 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
3413 | - | 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(0)), 0.3) |
3413 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
3414 | - | 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(0)), 0.3) |
3414 | + | |
3415 | - | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) |
3415 | + | |
3416 | - | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) |
3416 | + | orb.Anchored = false |
3417 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then |
3417 | + | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) |
3418 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15) |
3418 | + | local a = Instance.new("Part",workspace) |
3419 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
3419 | + | a.Name = "Direction" |
3420 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
3420 | + | |
3421 | - | 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(20 + 2.5 * Sin(sine / 20))), 0.15) |
3421 | + | a.BrickColor = bc("Bright red") |
3422 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) |
3422 | + | |
3423 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) |
3423 | + | |
3424 | a.CanCollide = false | |
3425 | - | elseif torvel >= 25 and hitfloor ~= nil then |
3425 | + | |
3426 | - | Anim = "Sprint" |
3426 | + | orb.CFrame.p, -- origin |
3427 | - | change = 1.35 |
3427 | + | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
3428 | - | if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then |
3428 | + | |
3429 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) |
3429 | + | local ignore = orb |
3430 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) |
3430 | + | |
3431 | - | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * 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(0)), 0.3) |
3431 | + | |
3432 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * 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(0)), 0.3) |
3432 | + | |
3433 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) |
3433 | + | local distance = (orb.CFrame.p - position).magnitude |
3434 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) |
3434 | + | |
3435 | - | elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then |
3435 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
3436 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) |
3436 | + | orb.CFrame = a.CFrame |
3437 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
3437 | + | a:Destroy() |
3438 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15) |
3438 | + | local bv = Instance.new("BodyVelocity") |
3439 | - | 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(34 + 2.5 * Sin(sine / 20))), 0.15) |
3439 | + | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
3440 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1) |
3440 | + | bv.velocity = orb.CFrame.lookVector*125 |
3441 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1) |
3441 | + | bv.Parent = orb |
3442 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then |
3442 | + | local hitted = false |
3443 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15) |
3443 | + | game:GetService("Debris"):AddItem(orb, 15) |
3444 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) |
3444 | + | |
3445 | - | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15) |
3445 | + | local hit =orb.Touched:connect(function(hit) |
3446 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15) |
3446 | + | if hitted == false then |
3447 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) |
3447 | + | hitted = true |
3448 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) |
3448 | + | CameraEnshaking(10,2.5) |
3449 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then |
3449 | + | MagniDamage(orb, 65, 65,90, 0, "Normal") |
3450 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) |
3450 | + | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) |
3451 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3) |
3451 | + | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) |
3452 | - | if math.random(1,1) == 1 then |
3452 | + | for i = 0, 49 do |
3453 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) |
3453 | + | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0) |
3454 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1) |
3454 | + | |
3455 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) |
3455 | + | for i = 0, 9 do |
3456 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) |
3456 | + | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) |
3457 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) |
3457 | + | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) |
3458 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) |
3458 | + | |
3459 | - | end |
3459 | + | orb.Anchored = true |
3460 | - | for i, v in pairs(ArmourParts) do |
3460 | + | orb.Transparency = 1 |
3461 | - | v.BrickColor = BrickColor.random() |
3461 | + | wait(8) |
3462 | - | end |
3462 | + | orb:Destroy() |
3463 | - | for i, v in pairs(ArmourParts2) do |
3463 | + | |
3464 | - | v.BrickColor = BrickColor.random() |
3464 | + | |
3465 | - | end |
3465 | + | |
3466 | - | for i, v in pairs(NeonParts) do |
3466 | + | for i = 0, 1, 0.1 do |
3467 | - | v.BrickColor = BrickColor.random() |
3467 | + | swait() |
3468 | - | end |
3468 | + | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3469 | - | maincolor = BrickColor.random() |
3469 | + | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3470 | - | tecks2.TextColor3 = maincolor.Color |
3470 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) |
3471 | - | tecks2.TextStrokeColor3 = maincolor.Color |
3471 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) |
3472 | - | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15) |
3472 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) |
3473 | - | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15) |
3473 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
3474 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1) |
3474 | + | |
3475 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1) |
3475 | + | |
3476 | - | elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then |
3476 | + | |
3477 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15) |
3477 | + | |
3478 | - | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3) |
3478 | + | function ChaosGroundStrike() |
3479 | - | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) |
3479 | + | attack = true |
3480 | - | 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(20 + 2.5 * Sin(sine / 20))), 0.15) |
3480 | + | for i = 0, 2, 0.1 do |
3481 | - | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1) |
3481 | + | swait() |
3482 | - | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) |
3482 | + | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
3483 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3484 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3485 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3486 | - | if 0 < #Effects then |
3486 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
3487 | - | for e = 1, #Effects do |
3487 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
3488 | - | if Effects[e] ~= nil then |
3488 | + | |
3489 | - | local Thing = Effects[e] |
3489 | + | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) |
3490 | - | if Thing ~= nil then |
3490 | + | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3491 | - | local Part = Thing[1] |
3491 | + | CameraEnshaking(4,12) |
3492 | - | local Mode = Thing[2] |
3492 | + | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do |
3493 | - | local Delay = Thing[3] |
3493 | + | if v:FindFirstChild('Head') then |
3494 | - | local IncX = Thing[4] |
3494 | + | dmg(v) |
3495 | - | local IncY = Thing[5] |
3495 | + | |
3496 | - | local IncZ = Thing[6] |
3496 | + | |
3497 | - | if 1 >= Thing[1].Transparency then |
3497 | + | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) |
3498 | - | if Thing[2] == "Block1" then |
3498 | + | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) |
3499 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
3499 | + | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) |
3500 | - | local Mesh = Thing[1].Mesh |
3500 | + | for i = 0, 2, 0.1 do |
3501 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3501 | + | swait() |
3502 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3502 | + | sphereMK(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) |
3503 | - | elseif Thing[2] == "Block2" then |
3503 | + | sphereMK(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) |
3504 | - | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) |
3504 | + | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3505 | - | local Mesh = Thing[7] |
3505 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3506 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3506 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3507 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3507 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3508 | - | elseif Thing[2] == "Block3" then |
3508 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
3509 | - | 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) |
3509 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
3510 | - | local Mesh = Thing[7] |
3510 | + | |
3511 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3511 | + | |
3512 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3512 | + | |
3513 | - | elseif Thing[2] == "Cylinder" then |
3513 | + | |
3514 | - | local Mesh = Thing[1].Mesh |
3514 | + | function Starfall() |
3515 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3515 | + | attack = true |
3516 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3516 | + | hum.WalkSpeed = 0 |
3517 | - | elseif Thing[2] == "Blood" then |
3517 | + | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) |
3518 | - | local Mesh = Thing[7] |
3518 | + | for i = 0, 5, 0.1 do |
3519 | - | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) |
3519 | + | swait() |
3520 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
3520 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3521 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3521 | + | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3522 | - | elseif Thing[2] == "Elec" then |
3522 | + | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) |
3523 | - | local Mesh = Thing[1].Mesh |
3523 | + | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) |
3524 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) |
3524 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
3525 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3525 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
3526 | - | elseif Thing[2] == "Disappear" then |
3526 | + | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) |
3527 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3527 | + | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) |
3528 | - | elseif Thing[2] == "Shatter" then |
3528 | + | |
3529 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
3529 | + | local Overed = false |
3530 | - | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) |
3530 | + | CameraEnshaking(2,20) |
3531 | - | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) |
3531 | + | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3532 | - | Thing[6] = Thing[6] + Thing[5] |
3532 | + | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3533 | - | end |
3533 | + | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
3534 | - | else |
3534 | + | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) |
3535 | - | Part.Parent = nil |
3535 | + | local orb = Instance.new("Part", char) |
3536 | - | table.remove(Effects, e) |
3536 | + | orb.Anchored = true |
3537 | - | end |
3537 | + | orb.BrickColor = BrickColor.new("Toothpaste") |
3538 | - | end |
3538 | + | orb.CanCollide = false |
3539 | orb.FormFactor = 3 | |
3540 | orb.Name = "Remenant" | |
3541 | orb.Material = "Neon" | |
3542 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3543 | - | ------------------------------------------------------- |
3543 | + | orb.Size = Vector3.new(1, 1, 1) |
3544 | - | --End Animations And Script-- |
3544 | + | orb.Transparency = 1 |
3545 | - | ------------------------------------------------------- |
3545 | + | orb.TopSurface = 0 |
3546 | orb.BottomSurface = 0 | |
3547 | hum.WalkSpeed = storehumanoidWS | |
3548 | coroutine.resume(coroutine.create(function() | |
3549 | for i = 0, 9 do | |
3550 | swait(10) | |
3551 | local lb = Instance.new("Part") | |
3552 | lb.Color = MAINRUINCOLOR.Color | |
3553 | lb.CanCollide = false | |
3554 | lb.Material = "Neon" | |
3555 | lb.Anchored = true | |
3556 | lb.TopSurface = 0 | |
3557 | lb.BottomSurface = 0 | |
3558 | lb.Transparency = 0 | |
3559 | lb.Size = vt(1,1,1) | |
3560 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
3561 | lb.Anchored = false | |
3562 | lb.Parent = char | |
3563 | local thingery = Instance.new("SpecialMesh",lb) | |
3564 | thingery.MeshType = "Sphere" | |
3565 | thingery.Scale = vt(20,20,20) | |
3566 | game:GetService("Debris"):AddItem(lb, 10) | |
3567 | local bv = Instance.new("BodyVelocity") | |
3568 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3569 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3570 | bv.Parent = lb | |
3571 | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) | |
3572 | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) | |
3573 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3574 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3575 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3576 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3577 | local hitted = false | |
3578 | coroutine.resume(coroutine.create(function() | |
3579 | while true do | |
3580 | swait(1) | |
3581 | if lb.Parent ~= nil and hitted == false then | |
3582 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
3583 | elseif lb.Parent == nil then | |
3584 | break | |
3585 | end | |
3586 | end | |
3587 | end)) | |
3588 | ||
3589 | game:GetService("Debris"):AddItem(a, 0.1) | |
3590 | ||
3591 | coroutine.resume(coroutine.create(function() | |
3592 | swait(1) | |
3593 | lb.Touched:connect(function(hit) | |
3594 | if hitted == false then | |
3595 | hitted = true | |
3596 | lb.Transparency = 1 | |
3597 | lb.Anchored = true | |
3598 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3599 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3600 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3601 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3602 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3603 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3604 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
3605 | CameraEnshaking(1,5) | |
3606 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3607 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3608 | for i = 0, 9 do | |
3609 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3610 | end | |
3611 | for i = 0, 49 do | |
3612 | swait() | |
3613 | MagniDamage(lb, 30, 2,4, 0, "Normal") | |
3614 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3615 | end | |
3616 | end | |
3617 | end) | |
3618 | end)) | |
3619 | end | |
3620 | Overed = true | |
3621 | orb:Destroy() | |
3622 | end)) | |
3623 | ||
3624 | attack = false | |
3625 | end | |
3626 | ||
3627 | function StarfallEX() | |
3628 | attack = true | |
3629 | hum.WalkSpeed = 0 | |
3630 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) | |
3631 | for i = 0, 5, 0.1 do | |
3632 | swait() | |
3633 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3634 | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3635 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
3636 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
3637 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
3638 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
3639 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) | |
3640 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) | |
3641 | end | |
3642 | local Overed = false | |
3643 | CameraEnshaking(2,20) | |
3644 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3645 | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3646 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3647 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3648 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
3649 | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) | |
3650 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) | |
3651 | local orb = Instance.new("Part", char) | |
3652 | orb.Anchored = true | |
3653 | orb.BrickColor = BrickColor.new("Toothpaste") | |
3654 | orb.CanCollide = false | |
3655 | orb.FormFactor = 3 | |
3656 | orb.Name = "Remenant" | |
3657 | orb.Material = "Neon" | |
3658 | orb.CFrame = root.CFrame*CFrame.new(0,150,0) | |
3659 | orb.Size = Vector3.new(1, 1, 1) | |
3660 | orb.Transparency = 1 | |
3661 | orb.TopSurface = 0 | |
3662 | orb.BottomSurface = 0 | |
3663 | hum.WalkSpeed = storehumanoidWS | |
3664 | coroutine.resume(coroutine.create(function() | |
3665 | for i = 0, 9 do | |
3666 | swait(10) | |
3667 | local lb = Instance.new("Part") | |
3668 | lb.Color = MAINRUINCOLOR.Color | |
3669 | lb.CanCollide = false | |
3670 | lb.Material = "Neon" | |
3671 | lb.Anchored = true | |
3672 | lb.TopSurface = 0 | |
3673 | lb.BottomSurface = 0 | |
3674 | lb.Transparency = 0 | |
3675 | lb.Size = vt(1,1,1) | |
3676 | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) | |
3677 | lb.Anchored = false | |
3678 | lb.Parent = char | |
3679 | local thingery = Instance.new("SpecialMesh",lb) | |
3680 | thingery.MeshType = "Sphere" | |
3681 | thingery.Scale = vt(20,20,20) | |
3682 | game:GetService("Debris"):AddItem(lb, 10) | |
3683 | local bv = Instance.new("BodyVelocity") | |
3684 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3685 | bv.velocity = lb.CFrame.lookVector*math.random(75,250) | |
3686 | bv.Parent = lb | |
3687 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
3688 | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) | |
3689 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
3690 | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) | |
3691 | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) | |
3692 | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) | |
3693 | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) | |
3694 | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) | |
3695 | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) | |
3696 | local hitted = false | |
3697 | coroutine.resume(coroutine.create(function() | |
3698 | while true do | |
3699 | swait(1) | |
3700 | if lb.Parent ~= nil and hitted == false then | |
3701 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
3702 | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) | |
3703 | elseif lb.Parent == nil then | |
3704 | break | |
3705 | end | |
3706 | end | |
3707 | end)) | |
3708 | ||
3709 | game:GetService("Debris"):AddItem(a, 0.1) | |
3710 | ||
3711 | coroutine.resume(coroutine.create(function() | |
3712 | swait(1) | |
3713 | lb.Touched:connect(function(hit) | |
3714 | if hitted == false then | |
3715 | hitted = true | |
3716 | lb.Transparency = 1 | |
3717 | lb.Anchored = true | |
3718 | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) | |
3719 | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) | |
3720 | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) | |
3721 | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) | |
3722 | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) | |
3723 | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) | |
3724 | MagniDamage(lb, 45, 45,85, 0, "Normal") | |
3725 | CameraEnshaking(10,5) | |
3726 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3727 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3728 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3729 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3730 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3731 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3732 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3733 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3734 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3735 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3736 | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) | |
3737 | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) | |
3738 | for i = 0, 9 do | |
3739 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3740 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3741 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3742 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3743 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3744 | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) | |
3745 | end | |
3746 | for i = 0, 49 do | |
3747 | swait() | |
3748 | MagniDamage(lb, 30, 30, 60, 0, "Normal") | |
3749 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3750 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3751 | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) | |
3752 | end | |
3753 | end | |
3754 | end) | |
3755 | end)) | |
3756 | end | |
3757 | Overed = true | |
3758 | orb:Destroy() | |
3759 | end)) | |
3760 | ||
3761 | attack = false | |
3762 | end | |
3763 | ||
3764 | function StarDivision() | |
3765 | attack = true | |
3766 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) | |
3767 | for i = 0, 2, 0.1 do | |
3768 | swait() | |
3769 | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) | |
3770 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) | |
3771 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6) | |
3772 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6) | |
3773 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) | |
3774 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) | |
3775 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) | |
3776 | end | |
3777 | local orb = Instance.new("Part", char) | |
3778 | orb.BrickColor = MAINRUINCOLOR | |
3779 | orb.CanCollide = false | |
3780 | orb.FormFactor = 3 | |
3781 | orb.Name = "Ring" | |
3782 | orb.Material = "Neon" | |
3783 | orb.Size = Vector3.new(1, 1, 1) | |
3784 | orb.Transparency = 0 | |
3785 | orb.TopSurface = 0 | |
3786 | orb.BottomSurface = 0 | |
3787 | local orbm = Instance.new("SpecialMesh", orb) | |
3788 | orbm.MeshType = "Sphere" | |
3789 | orbm.Name = "SizeMesh" | |
3790 | orbm.Scale = vt(2,2,2) | |
3791 | local a = Instance.new("Part",workspace) | |
3792 | a.Name = "Direction" | |
3793 | a.Anchored = true | |
3794 | a.BrickColor = bc("Bright red") | |
3795 | a.Material = "Neon" | |
3796 | a.Transparency = 1 | |
3797 | a.CanCollide = false | |
3798 | local ray = Ray.new( | |
3799 | sorb.CFrame.p, -- origin | |
3800 | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction | |
3801 | ) | |
3802 | local ignore = sorb | |
3803 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3804 | a.BottomSurface = 10 | |
3805 | a.TopSurface = 10 | |
3806 | local distance = (sorb.CFrame.p - position).magnitude | |
3807 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3808 | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3809 | orb.CFrame = a.CFrame | |
3810 | a:Destroy() | |
3811 | local bv = Instance.new("BodyVelocity") | |
3812 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3813 | bv.velocity = orb.CFrame.lookVector*100 | |
3814 | bv.Parent = orb | |
3815 | local hitted = false | |
3816 | game:GetService("Debris"):AddItem(orb, 10) | |
3817 | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) | |
3818 | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) | |
3819 | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) | |
3820 | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) | |
3821 | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) | |
3822 | coroutine.resume(coroutine.create(function() | |
3823 | while true do | |
3824 | swait(1) | |
3825 | if orb.Parent ~= nil and hitted == false then | |
3826 | PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2) | |
3827 | elseif orb.Parent == nil then | |
3828 | break | |
3829 | end | |
3830 | end | |
3831 | end)) | |
3832 | coroutine.resume(coroutine.create(function() | |
3833 | swait(1) | |
3834 | orb.Touched:connect(function(hit) | |
3835 | if hitted == false then | |
3836 | hitted = true | |
3837 | game:GetService("Debris"):AddItem(orb, 5) | |
3838 | orb.Transparency = 1 | |
3839 | orb.Anchored = true | |
3840 | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3841 | elocacenter.Anchored = true | |
3842 | elocacenter.CFrame = orb.CFrame | |
3843 | elocacenter.Orientation = vt(0,0,0) | |
3844 | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3845 | eloca1.Anchored = true | |
3846 | eloca1.CFrame = elocacenter.CFrame | |
3847 | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3848 | eloca2.Anchored = true | |
3849 | eloca2.CFrame = elocacenter.CFrame | |
3850 | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3851 | eloca3.Anchored = true | |
3852 | eloca3.CFrame = elocacenter.CFrame | |
3853 | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
3854 | eloca4.Anchored = true | |
3855 | eloca4.CFrame = elocacenter.CFrame | |
3856 | local lookavec = 0 | |
3857 | local speeds = 0 | |
3858 | CameraEnshaking(1,1) | |
3859 | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) | |
3860 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3861 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3862 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3863 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3864 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
3865 | for i = 0, 99 do | |
3866 | swait() | |
3867 | lookavec = lookavec + 1 | |
3868 | speeds = speeds + 0.1 | |
3869 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3870 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3871 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3872 | ||
3873 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3874 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3875 | ||
3876 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3877 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3878 | ||
3879 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3880 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3881 | end | |
3882 | ||
3883 | for i = 0, 149 do | |
3884 | swait() | |
3885 | speeds = speeds + 0.1 | |
3886 | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) | |
3887 | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) | |
3888 | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3889 | ||
3890 | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) | |
3891 | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3892 | ||
3893 | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) | |
3894 | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3895 | ||
3896 | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) | |
3897 | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) | |
3898 | end | |
3899 | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do | |
3900 | if v:FindFirstChild('Head') then | |
3901 | dmg(v) | |
3902 | end | |
3903 | end | |
3904 | CameraEnshaking(7,30) | |
3905 | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") | |
3906 | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) | |
3907 | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) | |
3908 | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) | |
3909 | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) | |
3910 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) | |
3911 | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) | |
3912 | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3913 | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3914 | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3915 | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3916 | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
3917 | for i = 0, 24 do | |
3918 | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) | |
3919 | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) | |
3920 | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) | |
3921 | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) | |
3922 | end | |
3923 | coroutine.resume(coroutine.create(function() | |
3924 | for i = 0, 499 do | |
3925 | swait(1) | |
3926 | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") | |
3927 | PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5) | |
3928 | end | |
3929 | elocacenter:Destroy() | |
3930 | eloca1:Destroy() | |
3931 | eloca2:Destroy() | |
3932 | eloca3:Destroy() | |
3933 | eloca4:Destroy() | |
3934 | end)) | |
3935 | end | |
3936 | end) | |
3937 | end)) | |
3938 | attack = false | |
3939 | end | |
3940 | ||
3941 | ||
3942 | function UniversalCollapse() | |
3943 | attack = true | |
3944 | local speedearn = 0 | |
3945 | hum.WalkSpeed = 0 | |
3946 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) | |
3947 | for i = 0, 10, 0.1 do | |
3948 | swait() | |
3949 | speedearn = speedearn + 0.1 | |
3950 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3951 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3952 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3953 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3954 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3955 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
3956 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
3957 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
3958 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
3959 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
3960 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
3961 | end | |
3962 | CameraEnshaking(5,45) | |
3963 | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) | |
3964 | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) | |
3965 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3966 | if v:FindFirstChild('Head') then | |
3967 | dmg(v) | |
3968 | end | |
3969 | end | |
3970 | hum.WalkSpeed = storehumanoidWS | |
3971 | attack = false | |
3972 | end | |
3973 | function ChaosBegone() | |
3974 | attack = true | |
3975 | local speedearn = 0 | |
3976 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75) | |
3977 | for i = 0, 10, 0.1 do | |
3978 | swait() | |
3979 | speedearn = speedearn + 0.1 | |
3980 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3981 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3982 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3983 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3984 | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) | |
3985 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3986 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3987 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3988 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3989 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) | |
3990 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) | |
3991 | end | |
3992 | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) | |
3993 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1) | |
3994 | CameraEnshaking(5,25) | |
3995 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
3996 | if v:FindFirstChild('Head') then | |
3997 | dmg(v) | |
3998 | end | |
3999 | end | |
4000 | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) | |
4001 | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) | |
4002 | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) | |
4003 | for i = 0, 3, 0.1 do | |
4004 | swait() | |
4005 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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) | |
4006 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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) | |
4007 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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) | |
4008 | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*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) | |
4009 | RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
4010 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) | |
4011 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4012 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
4013 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) | |
4014 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) | |
4015 | end | |
4016 | attack = false | |
4017 | end | |
4018 | ||
4019 | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) | |
4020 | local orb = Instance.new("Part", char) | |
4021 | orb.Anchored = true | |
4022 | orb.BrickColor = color | |
4023 | orb.CanCollide = false | |
4024 | orb.FormFactor = 3 | |
4025 | orb.Name = "Ring" | |
4026 | orb.Material = "Neon" | |
4027 | orb.Size = Vector3.new(1, 1, 1) | |
4028 | orb.Transparency = 0 | |
4029 | orb.TopSurface = 0 | |
4030 | orb.BottomSurface = 0 | |
4031 | local orbm = Instance.new("SpecialMesh", orb) | |
4032 | orbm.MeshType = "Sphere" | |
4033 | orb.CFrame = positted | |
4034 | orbm.Name = "SizeMesh" | |
4035 | orbm.Scale = vt(1,1,1) | |
4036 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) | |
4037 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) | |
4038 | --[[for i = 0, 2 do | |
4039 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4040 | end]]-- | |
4041 | coroutine.resume(coroutine.create(function() | |
4042 | wait(timer) | |
4043 | CameraEnshaking(3,ShakePower) | |
4044 | orb.Transparency = 1 | |
4045 | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") | |
4046 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) | |
4047 | --[[for i = 0, 4 do | |
4048 | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4049 | end]]-- | |
4050 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7) | |
4051 | wait(3) | |
4052 | orb:Destroy() | |
4053 | end)) | |
4054 | end | |
4055 | ||
4056 | function orb_spawn(positted,timer) | |
4057 | local randomcol = math.random(1,2) | |
4058 | local orb = Instance.new("Part", char) | |
4059 | orb.Anchored = true | |
4060 | if randomcol == 1 then | |
4061 | orb.BrickColor = BrickColor.new("White") | |
4062 | elseif randomcol == 2 then | |
4063 | orb.BrickColor = BrickColor.new("Really black") | |
4064 | end | |
4065 | orb.CanCollide = false | |
4066 | orb.FormFactor = 3 | |
4067 | orb.Name = "Ring" | |
4068 | orb.Material = "Neon" | |
4069 | orb.Size = Vector3.new(1, 1, 1) | |
4070 | orb.Transparency = 0 | |
4071 | orb.TopSurface = 0 | |
4072 | orb.BottomSurface = 0 | |
4073 | local orbm = Instance.new("SpecialMesh", orb) | |
4074 | orbm.MeshType = "Sphere" | |
4075 | orb.CFrame = positted | |
4076 | orbm.Name = "SizeMesh" | |
4077 | orbm.Scale = vt(1,1,1) | |
4078 | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) | |
4079 | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) | |
4080 | for i = 0, 2 do | |
4081 | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) | |
4082 | end | |
4083 | coroutine.resume(coroutine.create(function() | |
4084 | wait(timer) | |
4085 | CameraEnshaking(3,2) | |
4086 | orb.Transparency = 1 | |
4087 | MagniDamage(orb, 17.5, 10,50, 0, "Normal") | |
4088 | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) | |
4089 | for i = 0, 4 do | |
4090 | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) | |
4091 | end | |
4092 | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) | |
4093 | wait(3) | |
4094 | orb:Destroy() | |
4095 | end)) | |
4096 | end | |
4097 | ||
4098 | function scattercorrupt() | |
4099 | attack = true | |
4100 | local rot = 0 | |
4101 | local randomrotations = math.random(1,2) | |
4102 | local lookv = 2.5 | |
4103 | local power = 5 | |
4104 | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) | |
4105 | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) | |
4106 | for i = 0, 9 do | |
4107 | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0) | |
4108 | end | |
4109 | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) | |
4110 | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) | |
4111 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) | |
4112 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) | |
4113 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) | |
4114 | local hite = Instance.new("Part", char) | |
4115 | hite.Anchored = true | |
4116 | hite.CanCollide = false | |
4117 | hite.FormFactor = 3 | |
4118 | hite.Name = "Ring" | |
4119 | hite.Material = "Neon" | |
4120 | hite.Size = Vector3.new(1, 1, 1) | |
4121 | hite.Transparency = 1 | |
4122 | hite.TopSurface = 0 | |
4123 | hite.BottomSurface = 0 | |
4124 | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) | |
4125 | local rem = Instance.new("Part", char) | |
4126 | rem.Anchored = true | |
4127 | rem.CanCollide = false | |
4128 | rem.FormFactor = 3 | |
4129 | rem.Name = "Ring" | |
4130 | rem.Material = "Neon" | |
4131 | rem.Size = Vector3.new(1, 1, 1) | |
4132 | rem.Transparency = 1 | |
4133 | rem.TopSurface = 0 | |
4134 | rem.BottomSurface = 0 | |
4135 | rem.CFrame = hite.CFrame | |
4136 | local rem2 = rem:Clone() | |
4137 | rem2.Parent = char | |
4138 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4139 | local rem3 = rem:Clone() | |
4140 | rem3.Parent = char | |
4141 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4142 | local rem4 = rem:Clone() | |
4143 | rem4.Parent = char | |
4144 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4145 | hite:Destroy() | |
4146 | coroutine.resume(coroutine.create(function() | |
4147 | for i = 0, 24 do | |
4148 | swait(1) | |
4149 | if randomrotations == 1 then | |
4150 | rot = rot + 1 | |
4151 | elseif randomrotations == 2 then | |
4152 | rot = rot - 1 | |
4153 | end | |
4154 | power = power + 0.5 | |
4155 | lookv = lookv + 7.5 | |
4156 | rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0) | |
4157 | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4158 | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) | |
4159 | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) | |
4160 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4161 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4162 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4163 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5) | |
4164 | end | |
4165 | end)) | |
4166 | attack = false | |
4167 | end | |
4168 | function yinyangi() | |
4169 | attack = true | |
4170 | for i = 0, 2, 0.1 do | |
4171 | swait() | |
4172 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
4173 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2) | |
4174 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
4175 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4176 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
4177 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4178 | end | |
4179 | local bv = Instance.new("BodyVelocity") | |
4180 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
4181 | bv.velocity = root.CFrame.lookVector*175 | |
4182 | bv.Parent = root | |
4183 | for Rotations = 0, 9 do | |
4184 | for i = 0, 1, 0.5 do | |
4185 | swait() | |
4186 | bv.velocity = root.CFrame.lookVector*175 | |
4187 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4188 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4189 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5) | |
4190 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4191 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4192 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4193 | end | |
4194 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4195 | for i = 0, 1, 0.5 do | |
4196 | swait() | |
4197 | bv.velocity = root.CFrame.lookVector*175 | |
4198 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4199 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4200 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5) | |
4201 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4202 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4203 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4204 | end | |
4205 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4206 | for i = 0, 1, 0.5 do | |
4207 | swait() | |
4208 | bv.velocity = root.CFrame.lookVector*175 | |
4209 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4210 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4211 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5) | |
4212 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4213 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4214 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4215 | end | |
4216 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4217 | for i = 0, 1, 0.5 do | |
4218 | swait() | |
4219 | bv.velocity = root.CFrame.lookVector*175 | |
4220 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5) | |
4221 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5) | |
4222 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5) | |
4223 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5) | |
4224 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5) | |
4225 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5) | |
4226 | end | |
4227 | orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5) | |
4228 | end | |
4229 | bv:Destroy() | |
4230 | attack = false | |
4231 | end | |
4232 | ||
4233 | function Wip() | |
4234 | attack = true | |
4235 | ||
4236 | local rngb = Instance.new("Part", char) | |
4237 | rngb.Anchored = true | |
4238 | rngb.BrickColor = origcolor | |
4239 | rngb.CanCollide = false | |
4240 | rngb.FormFactor = 3 | |
4241 | rngb.Name = "Ring" | |
4242 | rngb.Material = "Neon" | |
4243 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4244 | rngb.Transparency = 1 | |
4245 | rngb.TopSurface = 0 | |
4246 | rngb.BottomSurface = 0 | |
4247 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4248 | rngmb.MeshType = "Brick" | |
4249 | rngmb.Name = "SizeMesh" | |
4250 | rngmb.Scale = vt(0,1,0) | |
4251 | ||
4252 | local orb = rngb:Clone() | |
4253 | orb.Parent = char | |
4254 | orb.Transparency = 0 | |
4255 | orb.BrickColor = BrickColor.new("White") | |
4256 | orb.Size = vt(1,1,1) | |
4257 | local orbmish = orb.SizeMesh | |
4258 | orbmish.Scale = vt(0,0,0) | |
4259 | orbmish.MeshType = "Sphere" | |
4260 | ||
4261 | local orbe = rngb:Clone() | |
4262 | orbe.Parent = char | |
4263 | orbe.Transparency = 0.5 | |
4264 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4265 | orbe.Size = vt(1,1,1) | |
4266 | local orbmish2 = orbe.SizeMesh | |
4267 | orbmish2.Scale = vt(0,0,0) | |
4268 | orbmish2.MeshType = "Sphere" | |
4269 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4270 | ||
4271 | rngb:Destroy() | |
4272 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4273 | local scaled = 1 | |
4274 | for i = 0,5,0.1 do | |
4275 | swait() | |
4276 | scaled = scaled - 0.02 | |
4277 | if rainbowmode == true then | |
4278 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4279 | end | |
4280 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4281 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4282 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4283 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4284 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4285 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4286 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4287 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4288 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4289 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4290 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4291 | RootPart.CFrame = FaceMouse()[1] | |
4292 | end]]-- | |
4293 | for i = 0,5,0.1 do | |
4294 | swait() | |
4295 | if rainbowmode == true then | |
4296 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4297 | end | |
4298 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4299 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4300 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4301 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4302 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4303 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4304 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4305 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4306 | RootPart.CFrame = FaceMouse()[1] | |
4307 | end | |
4308 | orbe.Transparency = 1 | |
4309 | orb.Transparency = 1 | |
4310 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4311 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4312 | local a = Instance.new("Part",Character) | |
4313 | a.Name = "Direction" | |
4314 | a.Anchored = true | |
4315 | a.BrickColor = bc("White") | |
4316 | a.Material = "Neon" | |
4317 | a.Transparency = 0 | |
4318 | a.Shape = "Cylinder" | |
4319 | a.CanCollide = false | |
4320 | local a2 = Instance.new("Part",Character) | |
4321 | a2.Name = "Direction" | |
4322 | a2.Anchored = true | |
4323 | a2.BrickColor = bc("New Yeller") | |
4324 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4325 | a2.Material = "Neon" | |
4326 | a2.Transparency = 0.5 | |
4327 | a2.Shape = "Cylinder" | |
4328 | a2.CanCollide = false | |
4329 | local ba = Instance.new("Part",Character) | |
4330 | ba.Name = "HitDirect" | |
4331 | ba.Anchored = true | |
4332 | ba.BrickColor = bc("Cool yellow") | |
4333 | ba.Material = "Neon" | |
4334 | ba.Transparency = 1 | |
4335 | ba.CanCollide = false | |
4336 | local ray = Ray.new( | |
4337 | orb.CFrame.p, -- origin | |
4338 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4339 | ) | |
4340 | local ignore = Character | |
4341 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4342 | a.BottomSurface = 10 | |
4343 | a.TopSurface = 10 | |
4344 | a2.BottomSurface = 10 | |
4345 | a2.TopSurface = 10 | |
4346 | local distance = (orb.CFrame.p - position).magnitude | |
4347 | a.Size = Vector3.new(distance, 1, 1) | |
4348 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4349 | a2.Size = Vector3.new(distance, 1, 1) | |
4350 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4351 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4352 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4353 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4354 | game:GetService("Debris"):AddItem(a, 20) | |
4355 | game:GetService("Debris"):AddItem(a2, 20) | |
4356 | game:GetService("Debris"):AddItem(ba, 20) | |
4357 | local msh = Instance.new("SpecialMesh",a) | |
4358 | msh.MeshType = "Cylinder" | |
4359 | msh.Scale = vt(1,5*5,5*5) | |
4360 | local msh2 = Instance.new("SpecialMesh",a2) | |
4361 | msh2.MeshType = "Cylinder" | |
4362 | msh2.Scale = vt(1,6*5,6*5) | |
4363 | ||
4364 | for i = 0,10,0.1 do | |
4365 | swait() | |
4366 | CameraEnshaking(1,5) | |
4367 | a2.Color = Color3.new(r/255,g/255,b/255) | |
4368 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4369 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4370 | ray = Ray.new( | |
4371 | orb.CFrame.p, -- origin | |
4372 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4373 | ) | |
4374 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4375 | distance = (orb.CFrame.p - position).magnitude | |
4376 | if typrot == 1 then | |
4377 | rotation = rotation + 2.5 | |
4378 | elseif typrot == 2 then | |
4379 | rotation = rotation - 2.5 | |
4380 | end | |
4381 | RootPart.CFrame = FaceMouse()[1] | |
4382 | a.Size = Vector3.new(distance, 1, 1) | |
4383 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4384 | a2.Size = Vector3.new(distance, 1, 1) | |
4385 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4386 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4387 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4388 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4389 | msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5) | |
4390 | msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5) | |
4391 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4392 | sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0) | |
4393 | MagniDamage(ba, 30, 500,60000, 0, "Normal") | |
4394 | end | |
4395 | a:Destroy() | |
4396 | a2:Destroy() | |
4397 | ba:Destroy() | |
4398 | orb:Destroy() | |
4399 | orbe:Destroy() | |
4400 | attack = false | |
4401 | end | |
4402 | function HolyBarrier() | |
4403 | attack = true | |
4404 | shielding = true | |
4405 | for i = 0, 2, 0.1 do | |
4406 | swait() | |
4407 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) | |
4408 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) | |
4409 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4) | |
4410 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4) | |
4411 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1) | |
4412 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1) | |
4413 | end | |
4414 | CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1) | |
4415 | stash = Instance.new("Model",workspace) | |
4416 | local barrier = Instance.new("Part",stash) | |
4417 | barrier.Anchored = true | |
4418 | barrier.CanCollide = false | |
4419 | barrier.Size = Vector3.new(20,20,20) | |
4420 | barrier.CFrame = root.CFrame | |
4421 | barrier.Transparency = 0.6 | |
4422 | barrier.BrickColor = MAINRUINCOLOR | |
4423 | barrier.Material = Enum.Material.Neon | |
4424 | barrier.Shape = Enum.PartType.Ball | |
4425 | barrier.CFrame = root.CFrame | |
4426 | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) | |
4427 | Torso.Anchored = true | |
4428 | for i=1,50 do | |
4429 | local p = Instance.new("Part",stash) | |
4430 | p.Anchored = true | |
4431 | p.Transparency = 1 | |
4432 | p.Size = Vector3.new(11,11,11) | |
4433 | p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)) | |
4434 | end | |
4435 | repeat | |
4436 | swait(5) | |
4437 | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("White"),0) | |
4438 | until shielding == false | |
4439 | stash:Remove() | |
4440 | Torso.Anchored = false | |
4441 | shielding = false | |
4442 | sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR) | |
4443 | attack = false | |
4444 | end | |
4445 | function Judgement() | |
4446 | attack = true | |
4447 | judgement = true | |
4448 | hum.WalkSpeed = 0 | |
4449 | local p = Instance.new("Part",root) | |
4450 | p.Anchored = true | |
4451 | p.CanCollide = false | |
4452 | p.BrickColor = MAINRUINCOLOR | |
4453 | p.Material = Enum.Material.Neon | |
4454 | p.Size = Vector3.new(1,1,1) | |
4455 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
4456 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
4457 | local m = Instance.new("SpecialMesh",p) | |
4458 | m.MeshType = "Cylinder" | |
4459 | m.Scale = Vector3.new(2000,2,2) | |
4460 | local targ = Instance.new("Part",root) | |
4461 | targ.Anchored = true | |
4462 | targ.Transparency = 1 | |
4463 | targ.CanCollide = false | |
4464 | targ.Size = Vector3.new(1,1,1) | |
4465 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
4466 | local s = Instance.new("Sound",targ) | |
4467 | s.SoundId = "https://roblox.com/asset/?id=115327352" | |
4468 | s.Looped = true | |
4469 | s.Pitch = 1.2 | |
4470 | s.Volume = 3 | |
4471 | spawn(function() | |
4472 | swait(15) | |
4473 | s:Play() | |
4474 | end) | |
4475 | CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1) | |
4476 | for i = 1,15 do | |
4477 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
4478 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
4479 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
4480 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
4481 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
4482 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2) | |
4483 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2) | |
4484 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR) | |
4485 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0) | |
4486 | m.Scale = m.Scale+Vector3.new(0,1,1) | |
4487 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
4488 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
4489 | swait() | |
4490 | end | |
4491 | sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) | |
4492 | repeat | |
4493 | targ.CFrame = p.CFrame-Vector3.new(0,1000,0) | |
4494 | sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0) | |
4495 | sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR) | |
4496 | p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0) | |
4497 | p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354) | |
4498 | MagniDamage(targ, 25, 5, 8, 0, "Normal") | |
4499 | swait() | |
4500 | until judgement == false | |
4501 | for i =1,15 do | |
4502 | m.Scale = m.Scale-Vector3.new(1,1,1) | |
4503 | p.Transparency = i / 15 | |
4504 | s.Pitch = s.Pitch - 0.4 | |
4505 | swait() | |
4506 | end | |
4507 | p:Destroy() | |
4508 | hum.WalkSpeed = storehumanoidWS | |
4509 | attack = false | |
4510 | end | |
4511 | ||
4512 | function UniversalSpark() | |
4513 | attack = true | |
4514 | ||
4515 | local rngb = Instance.new("Part", char) | |
4516 | rngb.Anchored = true | |
4517 | rngb.BrickColor = origcolor | |
4518 | rngb.CanCollide = false | |
4519 | rngb.FormFactor = 3 | |
4520 | rngb.Name = "Ring" | |
4521 | rngb.Material = "Neon" | |
4522 | rngb.Size = Vector3.new(1, 0.05, 1) | |
4523 | rngb.Transparency = 1 | |
4524 | rngb.TopSurface = 0 | |
4525 | rngb.BottomSurface = 0 | |
4526 | local rngmb = Instance.new("SpecialMesh", rngb) | |
4527 | rngmb.MeshType = "Brick" | |
4528 | rngmb.Name = "SizeMesh" | |
4529 | rngmb.Scale = vt(0,1,0) | |
4530 | ||
4531 | local orb = rngb:Clone() | |
4532 | orb.Parent = char | |
4533 | orb.Transparency = 0 | |
4534 | orb.BrickColor = BrickColor.new("White") | |
4535 | orb.Size = vt(1,1,1) | |
4536 | local orbmish = orb.SizeMesh | |
4537 | orbmish.Scale = vt(0,0,0) | |
4538 | orbmish.MeshType = "Sphere" | |
4539 | ||
4540 | local orbe = rngb:Clone() | |
4541 | orbe.Parent = char | |
4542 | orbe.Transparency = 0.5 | |
4543 | orbe.BrickColor = BrickColor.new("New Yeller") | |
4544 | orbe.Size = vt(1,1,1) | |
4545 | local orbmish2 = orbe.SizeMesh | |
4546 | orbmish2.Scale = vt(0,0,0) | |
4547 | orbmish2.MeshType = "Sphere" | |
4548 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4549 | ||
4550 | rngb:Destroy() | |
4551 | --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1) | |
4552 | local scaled = 1 | |
4553 | for i = 0,5,0.1 do | |
4554 | swait() | |
4555 | scaled = scaled - 0.02 | |
4556 | if rainbowmode == true then | |
4557 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4558 | end | |
4559 | orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5) | |
4560 | orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5) | |
4561 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4562 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4563 | sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25) | |
4564 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4565 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4566 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4567 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4568 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4569 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4570 | RootPart.CFrame = FaceMouse()[1] | |
4571 | end]]-- | |
4572 | for i = 0,5,0.1 do | |
4573 | swait() | |
4574 | if rainbowmode == true then | |
4575 | orbe.Color = Color3.new(r/255,g/255,b/255) | |
4576 | end | |
4577 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4578 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5 | |
4579 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3) | |
4580 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
4581 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
4582 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4583 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4584 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4585 | RootPart.CFrame = FaceMouse()[1] | |
4586 | end | |
4587 | orbe.Transparency = 1 | |
4588 | orb.Transparency = 1 | |
4589 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5 | |
4590 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
4591 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
4592 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4593 | ||
4594 | CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1) | |
4595 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1) | |
4596 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
4597 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1) | |
4598 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1) | |
4599 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
4600 | CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1) | |
4601 | local xd= Instance.new("Sound",char) | |
4602 | xd.SoundId = "rbxassetid://445796828" | |
4603 | xd.Pitch = 0.75 | |
4604 | xd.Looped = true | |
4605 | xd.Volume = 1.25 | |
4606 | xd:Play() | |
4607 | local a = Instance.new("Part",Character) | |
4608 | a.Name = "Direction" | |
4609 | a.Anchored = true | |
4610 | a.BrickColor = bc("Alder") | |
4611 | a.Color = MAINRUINCOLOR.Color | |
4612 | a.Material = "Neon" | |
4613 | a.Transparency = 0.5 | |
4614 | a.Shape = "Cylinder" | |
4615 | a.CanCollide = false | |
4616 | local a2 = Instance.new("Part",Character) | |
4617 | a2.Name = "Direction" | |
4618 | a2.Anchored = true | |
4619 | a2.BrickColor = bc("New Yeller") | |
4620 | a2.Color = MAINRUINCOLOR.Color | |
4621 | a2.Material = "Neon" | |
4622 | a2.Transparency = 0.5 | |
4623 | a2.Shape = "Cylinder" | |
4624 | a2.CanCollide = false | |
4625 | local ba = Instance.new("Part",Character) | |
4626 | ba.Name = "HitDirect" | |
4627 | ba.Anchored = true | |
4628 | ba.BrickColor = bc("Cool yellow") | |
4629 | ba.Material = "Neon" | |
4630 | ba.Transparency = 1 | |
4631 | ba.CanCollide = false | |
4632 | local ray = Ray.new( | |
4633 | orb.CFrame.p, -- origin | |
4634 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4635 | ) | |
4636 | local ignore = Character | |
4637 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4638 | a.BottomSurface = 10 | |
4639 | a.TopSurface = 10 | |
4640 | a2.BottomSurface = 10 | |
4641 | a2.TopSurface = 10 | |
4642 | local distance = (orb.CFrame.p - position).magnitude | |
4643 | a.Size = Vector3.new(distance, 1, 1) | |
4644 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4645 | a2.Size = Vector3.new(distance, 1, 1) | |
4646 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4647 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4648 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4649 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4650 | game:GetService("Debris"):AddItem(a, 60) | |
4651 | game:GetService("Debris"):AddItem(a2, 60) | |
4652 | game:GetService("Debris"):AddItem(ba, 60) | |
4653 | local outerscale = 0 | |
4654 | local msh = Instance.new("SpecialMesh",a) | |
4655 | msh.MeshType = "Cylinder" | |
4656 | msh.Scale = vt(1,0,0) | |
4657 | local msh2 = Instance.new("SpecialMesh",a2) | |
4658 | msh2.MeshType = "Cylinder" | |
4659 | msh2.Scale = vt(1,0,0) | |
4660 | for i = 0,2,0.1 do | |
4661 | swait() | |
4662 | CameraEnshaking(1,1) | |
4663 | msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20) | |
4664 | msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15) | |
4665 | outerscale = outerscale - 0.015 | |
4666 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4667 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4668 | ray = Ray.new( | |
4669 | orb.CFrame.p, -- origin | |
4670 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4671 | ) | |
4672 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4673 | distance = (orb.CFrame.p - position).magnitude | |
4674 | if typrot == 1 then | |
4675 | rotation = rotation + 2.5 | |
4676 | elseif typrot == 2 then | |
4677 | rotation = rotation - 2.5 | |
4678 | end | |
4679 | RootPart.CFrame = FaceMouse()[1] | |
4680 | a.Size = Vector3.new(distance, 1, 1) | |
4681 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4682 | a2.Size = Vector3.new(distance, 1, 1) | |
4683 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4684 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4685 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4686 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4687 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4688 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4689 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4690 | end | |
4691 | for z = 0, 2 do | |
4692 | for i = 0,4,0.1 do | |
4693 | swait() | |
4694 | CameraEnshaking(1,1) | |
4695 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4696 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4697 | outerscale = outerscale + 0.015 | |
4698 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4699 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4700 | ray = Ray.new( | |
4701 | orb.CFrame.p, -- origin | |
4702 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4703 | ) | |
4704 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4705 | distance = (orb.CFrame.p - position).magnitude | |
4706 | if typrot == 1 then | |
4707 | rotation = rotation + 2.5 | |
4708 | elseif typrot == 2 then | |
4709 | rotation = rotation - 2.5 | |
4710 | end | |
4711 | RootPart.CFrame = FaceMouse()[1] | |
4712 | a.Size = Vector3.new(distance, 1, 1) | |
4713 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4714 | a2.Size = Vector3.new(distance, 1, 1) | |
4715 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4716 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4717 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4718 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4719 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4720 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4721 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4722 | end | |
4723 | for i = 0,4,0.1 do | |
4724 | swait() | |
4725 | CameraEnshaking(1,1) | |
4726 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4727 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4728 | outerscale = outerscale - 0.015 | |
4729 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4730 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4731 | ray = Ray.new( | |
4732 | orb.CFrame.p, -- origin | |
4733 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4734 | ) | |
4735 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4736 | distance = (orb.CFrame.p - position).magnitude | |
4737 | if typrot == 1 then | |
4738 | rotation = rotation + 2.5 | |
4739 | elseif typrot == 2 then | |
4740 | rotation = rotation - 2.5 | |
4741 | end | |
4742 | RootPart.CFrame = FaceMouse()[1] | |
4743 | a.Size = Vector3.new(distance, 1, 1) | |
4744 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4745 | a2.Size = Vector3.new(distance, 1, 1) | |
4746 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4747 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4748 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4749 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4750 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4751 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4752 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4753 | end | |
4754 | end | |
4755 | for i = 0,4,0.1 do | |
4756 | swait() | |
4757 | CameraEnshaking(1,1) | |
4758 | msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale) | |
4759 | msh.Scale = msh.Scale - vt(0,outerscale,outerscale) | |
4760 | xd.Volume = xd.Volume - 0.025 | |
4761 | a.Transparency = a.Transparency + 0.025 | |
4762 | a2.Transparency = a2.Transparency + 0.025 | |
4763 | outerscale = outerscale - 0.015 | |
4764 | orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4765 | orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4 | |
4766 | ray = Ray.new( | |
4767 | orb.CFrame.p, -- origin | |
4768 | (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction | |
4769 | ) | |
4770 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
4771 | distance = (orb.CFrame.p - position).magnitude | |
4772 | if typrot == 1 then | |
4773 | rotation = rotation + 2.5 | |
4774 | elseif typrot == 2 then | |
4775 | rotation = rotation - 2.5 | |
4776 | end | |
4777 | RootPart.CFrame = FaceMouse()[1] | |
4778 | a.Size = Vector3.new(distance, 1, 1) | |
4779 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4780 | a2.Size = Vector3.new(distance, 1, 1) | |
4781 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2) | |
4782 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
4783 | a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4784 | a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0) | |
4785 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4786 | sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0) | |
4787 | MagniDamage(ba, 100, 500,60000, 0, "Normal") | |
4788 | end | |
4789 | xd:Destroy() | |
4790 | a:Destroy() | |
4791 | a2:Destroy() | |
4792 | ba:Destroy() | |
4793 | orb:Destroy() | |
4794 | orbe:Destroy() | |
4795 | attack = false | |
4796 | end | |
4797 | ||
4798 | ||
4799 | function resetmode() | |
4800 | rainbowmode = false | |
4801 | chaosmode = false | |
4802 | tl1.Enabled = false | |
4803 | tl2.Enabled = false | |
4804 | tl3.Enabled = false | |
4805 | ModeOfGlitch = 1 | |
4806 | storehumanoidWS = 16 | |
4807 | coroutine.resume(coroutine.create(function() | |
4808 | attack = true | |
4809 | hum.WalkSpeed = 0 | |
4810 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25) | |
4811 | for i = 0,4,0.1 do | |
4812 | swait() | |
4813 | sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100) | |
4814 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) | |
4815 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) | |
4816 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5) | |
4817 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5) | |
4818 | RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5) | |
4819 | LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5) | |
4820 | end | |
4821 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1) | |
4822 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1) | |
4823 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1) | |
4824 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75) | |
4825 | RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(1,0,0)) | |
4826 | CameraEnshaking(5,2.5) | |
4827 | MAINRUINCOLOR = BrickColor.new("Really red") | |
4828 | sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
4829 | for i = 0, 49 do | |
4830 | PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0) | |
4831 | end | |
4832 | for i = 0,3,0.1 do | |
4833 | sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0) | |
4834 | end | |
4835 | for i, v in pairs(mw2:GetChildren()) do | |
4836 | if v:IsA("Part") then | |
4837 | v.BrickColor = BrickColor.new("Really red") | |
4838 | v.Material = "Neon" | |
4839 | end | |
4840 | end | |
4841 | for i, v in pairs(mw1:GetChildren()) do | |
4842 | if v:IsA("Part") then | |
4843 | v.Transparency = 1 | |
4844 | v.BrickColor = BrickColor.new("Really red") | |
4845 | v.Material = "Neon" | |
4846 | end | |
4847 | end | |
4848 | for i, v in pairs(m:GetChildren()) do | |
4849 | if v:IsA("Part") then | |
4850 | v.BrickColor = BrickColor.new("Really black") | |
4851 | v.Material = "Glass" | |
4852 | end | |
4853 | end | |
4854 | for i, v in pairs(m2:GetChildren()) do | |
4855 | if v:IsA("Part") then | |
4856 | v.BrickColor = BrickColor.new("Crimson") | |
4857 | v.Material = "Granite" | |
4858 | end | |
4859 | end | |
4860 | for i, v in pairs(m3:GetChildren()) do | |
4861 | if v:IsA("Part") then | |
4862 | v.BrickColor = BrickColor.new("Really red") | |
4863 | v.Material = "Neon" | |
4864 | end | |
4865 | end | |
4866 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
4867 | if v:IsA("Part") then | |
4868 | v.Transparency = 1 | |
4869 | v.BrickColor = BrickColor.new("White") | |
4870 | v.Material = "Neon" | |
4871 | end | |
4872 | end | |
4873 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
4874 | if v:IsA("Part") then | |
4875 | v.Transparency = 1 | |
4876 | v.BrickColor = BrickColor.new("White") | |
4877 | v.Material = "Neon" | |
4878 | end | |
4879 | end | |
4880 | for i = 0,2,0.1 do | |
4881 | swait() | |
4882 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) | |
4883 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) | |
4884 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
4885 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) | |
4886 | RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) | |
4887 | LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) | |
4888 | end | |
4889 | hum.WalkSpeed = storehumanoidWS | |
4890 | attack = false | |
4891 | end)) | |
4892 | newTheme("rbxassetid://614032233",48.6,1,0.3) | |
4893 | end | |
4894 | ||
4895 | function attackone() | |
4896 | attack = true | |
4897 | for i = 0,1,0.1 do | |
4898 | swait() | |
4899 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2) | |
4900 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2) | |
4901 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4902 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
4903 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2) | |
4904 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2) | |
4905 | end | |
4906 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) | |
4907 | ||
4908 | local hitb = Instance.new("Part", char) | |
4909 | hitb.Anchored = true | |
4910 | hitb.CanCollide = false | |
4911 | hitb.FormFactor = 3 | |
4912 | hitb.Name = "Ring" | |
4913 | hitb.Material = "Neon" | |
4914 | hitb.Size = Vector3.new(1, 1, 1) | |
4915 | hitb.Transparency = 1 | |
4916 | hitb.TopSurface = 0 | |
4917 | hitb.BottomSurface = 0 | |
4918 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4919 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4920 | hitb:Destroy() | |
4921 | for i = 0,1,0.1 do | |
4922 | swait() | |
4923 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4) | |
4924 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4) | |
4925 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
4926 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) | |
4927 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4) | |
4928 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4) | |
4929 | end | |
4930 | ||
4931 | attack = false | |
4932 | end | |
4933 | ||
4934 | function attacktwo() | |
4935 | attack = true | |
4936 | for i = 0,1,0.1 do | |
4937 | swait() | |
4938 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2) | |
4939 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
4940 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4941 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
4942 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2) | |
4943 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2) | |
4944 | end | |
4945 | CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1) | |
4946 | local hitb = Instance.new("Part", char) | |
4947 | hitb.Anchored = true | |
4948 | hitb.CanCollide = false | |
4949 | hitb.FormFactor = 3 | |
4950 | hitb.Name = "Ring" | |
4951 | hitb.Material = "Neon" | |
4952 | hitb.Size = Vector3.new(1, 1, 1) | |
4953 | hitb.Transparency = 1 | |
4954 | hitb.TopSurface = 0 | |
4955 | hitb.BottomSurface = 0 | |
4956 | hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 | |
4957 | MagniDamage(hitb, 3, 10,30, 0, "Normal") | |
4958 | hitb:Destroy() | |
4959 | for i = 0,1,0.1 do | |
4960 | swait() | |
4961 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4) | |
4962 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4) | |
4963 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
4964 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
4965 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4) | |
4966 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4) | |
4967 | end | |
4968 | attack = false | |
4969 | end | |
4970 | ||
4971 | function attackthree() | |
4972 | attack = true | |
4973 | for i = 0,1,0.1 do | |
4974 | swait() | |
4975 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3) | |
4976 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3) | |
4977 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
4978 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4979 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3) | |
4980 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3) | |
4981 | end | |
4982 | local distlook = 5 | |
4983 | for i = 0, 4 do | |
4984 | swait(2) | |
4985 | CameraEnshaking(2,3) | |
4986 | local hite = Instance.new("Part", char) | |
4987 | hite.Anchored = true | |
4988 | hite.CanCollide = false | |
4989 | hite.FormFactor = 3 | |
4990 | hite.Name = "Ring" | |
4991 | hite.Material = "Neon" | |
4992 | hite.Size = Vector3.new(1, 1, 1) | |
4993 | hite.Transparency = 1 | |
4994 | hite.TopSurface = 0 | |
4995 | hite.BottomSurface = 0 | |
4996 | hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook | |
4997 | sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR) | |
4998 | sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR) | |
4999 | MagniDamage(hite, 10, 15,35, 0, "Normal") | |
5000 | for i = 0, 2 do | |
5001 | sphereMK(2,0.2,"Add",rarm.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,MAINRUINCOLOR,0) | |
5002 | sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
5003 | sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0) | |
5004 | end | |
5005 | CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1) | |
5006 | CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6) | |
5007 | game:GetService("Debris"):AddItem(hite, 5) | |
5008 | distlook = distlook + 10 | |
5009 | end | |
5010 | attack = false | |
5011 | end | |
5012 | ||
5013 | local ActiveGia = false | |
5014 | function THEHELLITSTHATBIG() | |
5015 | ActiveGia = true | |
5016 | attack = true | |
5017 | hum.WalkSpeed = 0 | |
5018 | for i = 0,2,0.1 do | |
5019 | swait() | |
5020 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
5021 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
5022 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
5023 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
5024 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2) | |
5025 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2) | |
5026 | end | |
5027 | for i = 0,1,0.1 do | |
5028 | torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
5029 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
5030 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
5031 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
5032 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
5033 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
5034 | end | |
5035 | CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1) | |
5036 | secrleg.Transparency = 0.5 | |
5037 | seclleg.Transparency = 0.5 | |
5038 | secrarm.Transparency = 0.5 | |
5039 | seclarm.Transparency = 0.5 | |
5040 | seched.Transparency = 0.5 | |
5041 | sectors.Transparency = 0.5 | |
5042 | for i = 0,25,0.1 do | |
5043 | swait() | |
5044 | PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10) | |
5045 | torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
5046 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025) | |
5047 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025) | |
5048 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
5049 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
5050 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) | |
5051 | end | |
5052 | --[[secrleg.Transparency = 1 | |
5053 | seclleg.Transparency = 1 | |
5054 | secrarm.Transparency = 1 | |
5055 | seclarm.Transparency = 1 | |
5056 | seched.Transparency = 1 | |
5057 | sectors.Transparency = 1]]-- | |
5058 | torsweld.Part0 = root | |
5059 | hum.WalkSpeed = storehumanoidWS | |
5060 | attack = false | |
5061 | end | |
5062 | ||
5063 | function removelol() | |
5064 | ActiveGia = false | |
5065 | attack = true | |
5066 | hum.WalkSpeed = 0 | |
5067 | for i = 0,2,0.1 do | |
5068 | swait() | |
5069 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2) | |
5070 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2) | |
5071 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2) | |
5072 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2) | |
5073 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2) | |
5074 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2) | |
5075 | end | |
5076 | CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1) | |
5077 | for i = 0,25,0.1 do | |
5078 | swait() | |
5079 | secrleg.Transparency = secrleg.Transparency + 0.00225 | |
5080 | seclleg.Transparency = secrleg.Transparency | |
5081 | secrarm.Transparency = secrleg.Transparency | |
5082 | seclarm.Transparency = secrleg.Transparency | |
5083 | seched.Transparency = secrleg.Transparency | |
5084 | sectors.Transparency = secrleg.Transparency | |
5085 | PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10) | |
5086 | torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
5087 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025) | |
5088 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025) | |
5089 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
5090 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
5091 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025) | |
5092 | end | |
5093 | CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1) | |
5094 | sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5095 | sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5096 | sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR) | |
5097 | secrleg.Transparency = 1 | |
5098 | seclleg.Transparency = 1 | |
5099 | secrarm.Transparency = 1 | |
5100 | seclarm.Transparency = 1 | |
5101 | seched.Transparency = 1 | |
5102 | sectors.Transparency = 1 | |
5103 | torsweld.Part0 = root | |
5104 | hum.WalkSpeed = storehumanoidWS | |
5105 | attack = false | |
5106 | end | |
5107 | ||
5108 | function FinalCalamity() | |
5109 | end | |
5110 | ||
5111 | local attacktype = 1 | |
5112 | mouse.Button1Down:connect(function() | |
5113 | if attack == false and attacktype == 1 then | |
5114 | attacktype = 2 | |
5115 | attackone() | |
5116 | elseif attack == false and attacktype == 2 then | |
5117 | attacktype = 3 | |
5118 | attacktwo() | |
5119 | elseif attack == false and attacktype == 3 then | |
5120 | attacktype = 1 | |
5121 | attackthree() | |
5122 | elseif attack == false and attacktype == 4 then | |
5123 | attacktype = 1 | |
5124 | --attackfour() | |
5125 | end | |
5126 | end) | |
5127 | mouse.KeyDown:connect(function(k) | |
5128 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
5129 | ModeOfGlitch = 2 | |
5130 | storehumanoidWS = 16 | |
5131 | hum.WalkSpeed = 16 | |
5132 | rainbowmode = false | |
5133 | chaosmode = false | |
5134 | tl1.Enabled = false | |
5135 | tl2.Enabled = false | |
5136 | tl3.Enabled = false | |
5137 | RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1)) | |
5138 | newTheme("rbxassetid://1539245059",0,1,0.3) | |
5139 | MAINRUINCOLOR = BrickColor.new("Toothpaste") | |
5140 | for i, v in pairs(mw2:GetChildren()) do | |
5141 | if v:IsA("Part") then | |
5142 | v.BrickColor = MAINRUINCOLOR | |
5143 | v.Material = "Neon" | |
5144 | end | |
5145 | end | |
5146 | for i, v in pairs(mw1:GetChildren()) do | |
5147 | if v:IsA("Part") then | |
5148 | v.Transparency = 1 | |
5149 | v.BrickColor = MAINRUINCOLOR | |
5150 | v.Material = "Neon" | |
5151 | end | |
5152 | end | |
5153 | for i, v in pairs(m:GetChildren()) do | |
5154 | if v:IsA("Part") then | |
5155 | v.BrickColor = BrickColor.new("White") | |
5156 | v.Material = "Ice" | |
5157 | end | |
5158 | end | |
5159 | for i, v in pairs(m2:GetChildren()) do | |
5160 | if v:IsA("Part") then | |
5161 | v.BrickColor = BrickColor.new("Pastel light blue") | |
5162 | v.Material = "Glass" | |
5163 | end | |
5164 | end | |
5165 | for i, v in pairs(m3:GetChildren()) do | |
5166 | if v:IsA("Part") then | |
5167 | v.BrickColor = BrickColor.new("Toothpaste") | |
5168 | v.Material = "Neon" | |
5169 | end | |
5170 | end | |
5171 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5172 | if v:IsA("Part") then | |
5173 | v.Transparency = 1 | |
5174 | v.BrickColor = BrickColor.new("White") | |
5175 | v.Material = "Neon" | |
5176 | end | |
5177 | end | |
5178 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5179 | if v:IsA("Part") then | |
5180 | v.Transparency = 1 | |
5181 | v.BrickColor = BrickColor.new("White") | |
5182 | v.Material = "Neon" | |
5183 | end | |
5184 | end | |
5185 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
5186 | resetmode() | |
5187 | end | |
5188 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
5189 | ModeOfGlitch = 3 | |
5190 | storehumanoidWS = 16 | |
5191 | hum.WalkSpeed = 16 | |
5192 | rainbowmode = false | |
5193 | chaosmode = false | |
5194 | tl1.Enabled = false | |
5195 | tl2.Enabled = false | |
5196 | tl3.Enabled = false | |
5197 | RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1)) | |
5198 | newTheme("rbxassetid://1283869370",58.15,0.98,1.25) | |
5199 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
5200 | for i, v in pairs(mw2:GetChildren()) do | |
5201 | if v:IsA("Part") then | |
5202 | v.BrickColor = MAINRUINCOLOR | |
5203 | v.Material = "Neon" | |
5204 | end | |
5205 | end | |
5206 | for i, v in pairs(mw1:GetChildren()) do | |
5207 | if v:IsA("Part") then | |
5208 | v.Transparency = 1 | |
5209 | v.BrickColor = MAINRUINCOLOR | |
5210 | v.Material = "Neon" | |
5211 | end | |
5212 | end | |
5213 | for i, v in pairs(m:GetChildren()) do | |
5214 | if v:IsA("Part") then | |
5215 | v.BrickColor = BrickColor.new("Black") | |
5216 | v.Material = "Ice" | |
5217 | end | |
5218 | end | |
5219 | for i, v in pairs(m2:GetChildren()) do | |
5220 | if v:IsA("Part") then | |
5221 | v.BrickColor = BrickColor.new("Dark indigo") | |
5222 | v.Material = "Glass" | |
5223 | end | |
5224 | end | |
5225 | for i, v in pairs(m3:GetChildren()) do | |
5226 | if v:IsA("Part") then | |
5227 | v.BrickColor = BrickColor.new("Royal purple") | |
5228 | v.Material = "Neon" | |
5229 | end | |
5230 | end | |
5231 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5232 | if v:IsA("Part") then | |
5233 | v.Transparency = 1 | |
5234 | v.BrickColor = BrickColor.new("White") | |
5235 | v.Material = "Neon" | |
5236 | end | |
5237 | end | |
5238 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5239 | if v:IsA("Part") then | |
5240 | v.Transparency = 1 | |
5241 | v.BrickColor = BrickColor.new("White") | |
5242 | v.Material = "Neon" | |
5243 | end | |
5244 | end | |
5245 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
5246 | resetmode() | |
5247 | end | |
5248 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
5249 | ModeOfGlitch = 4 | |
5250 | storehumanoidWS = 16 | |
5251 | hum.WalkSpeed = 16 | |
5252 | rainbowmode = false | |
5253 | chaosmode = true | |
5254 | tl1.Enabled = true | |
5255 | tl2.Enabled = true | |
5256 | tl3.Enabled = true | |
5257 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color) | |
5258 | newTheme("rbxassetid://1369263130",0,1,1) | |
5259 | MAINRUINCOLOR = BrickColor.new("Black") | |
5260 | for i, v in pairs(mw2:GetChildren()) do | |
5261 | if v:IsA("Part") then | |
5262 | v.BrickColor = MAINRUINCOLOR | |
5263 | v.Material = "Neon" | |
5264 | end | |
5265 | end | |
5266 | for i, v in pairs(mw1:GetChildren()) do | |
5267 | if v:IsA("Part") then | |
5268 | v.Transparency = 0.75 | |
5269 | v.BrickColor = BrickColor.random() | |
5270 | v.Material = "Neon" | |
5271 | end | |
5272 | end | |
5273 | for i, v in pairs(m:GetChildren()) do | |
5274 | if v:IsA("Part") then | |
5275 | v.BrickColor = BrickColor.new("Black") | |
5276 | v.Material = "Neon" | |
5277 | end | |
5278 | end | |
5279 | for i, v in pairs(m2:GetChildren()) do | |
5280 | if v:IsA("Part") then | |
5281 | v.BrickColor = BrickColor.random() | |
5282 | v.Material = "Neon" | |
5283 | end | |
5284 | end | |
5285 | for i, v in pairs(m3:GetChildren()) do | |
5286 | if v:IsA("Part") then | |
5287 | v.BrickColor = BrickColor.new("Black") | |
5288 | v.Material = "Neon" | |
5289 | end | |
5290 | end | |
5291 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5292 | if v:IsA("Part") then | |
5293 | v.Transparency = 1 | |
5294 | v.BrickColor = BrickColor.new("White") | |
5295 | v.Material = "Neon" | |
5296 | end | |
5297 | end | |
5298 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5299 | if v:IsA("Part") then | |
5300 | v.Transparency = 1 | |
5301 | v.BrickColor = BrickColor.new("White") | |
5302 | v.Material = "Neon" | |
5303 | end | |
5304 | end | |
5305 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
5306 | resetmode() | |
5307 | end | |
5308 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
5309 | ModeOfGlitch = 5 | |
5310 | storehumanoidWS = 16 | |
5311 | hum.WalkSpeed = 16 | |
5312 | rainbowmode = false | |
5313 | chaosmode = false | |
5314 | tl1.Enabled = true | |
5315 | tl2.Enabled = true | |
5316 | tl3.Enabled = true | |
5317 | RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5)) | |
5318 | newTheme("rbxassetid://661079869",0,1.02,1) | |
5319 | MAINRUINCOLOR = BrickColor.new("Bright yellow") | |
5320 | for i, v in pairs(mw2:GetChildren()) do | |
5321 | if v:IsA("Part") then | |
5322 | v.BrickColor = MAINRUINCOLOR | |
5323 | v.Material = "Neon" | |
5324 | end | |
5325 | end | |
5326 | for i, v in pairs(mw1:GetChildren()) do | |
5327 | if v:IsA("Part") then | |
5328 | v.Transparency = 0 | |
5329 | v.BrickColor = MAINRUINCOLOR | |
5330 | v.Material = "Neon" | |
5331 | end | |
5332 | end | |
5333 | for i, v in pairs(m:GetChildren()) do | |
5334 | if v:IsA("Part") then | |
5335 | v.BrickColor = BrickColor.new("Cool yellow") | |
5336 | v.Material = "Ice" | |
5337 | end | |
5338 | end | |
5339 | for i, v in pairs(m2:GetChildren()) do | |
5340 | if v:IsA("Part") then | |
5341 | v.BrickColor = BrickColor.new("Bright yellow") | |
5342 | v.Material = "Ice" | |
5343 | end | |
5344 | end | |
5345 | for i, v in pairs(m3:GetChildren()) do | |
5346 | if v:IsA("Part") then | |
5347 | v.BrickColor = BrickColor.new("Bright yellow") | |
5348 | v.Material = "Neon" | |
5349 | end | |
5350 | end | |
5351 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5352 | if v:IsA("Part") then | |
5353 | v.Transparency = 1 | |
5354 | v.BrickColor = BrickColor.new("White") | |
5355 | v.Material = "Neon" | |
5356 | end | |
5357 | end | |
5358 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5359 | if v:IsA("Part") then | |
5360 | v.Transparency = 1 | |
5361 | v.BrickColor = BrickColor.new("White") | |
5362 | v.Material = "Neon" | |
5363 | end | |
5364 | end | |
5365 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
5366 | resetmode() | |
5367 | end | |
5368 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
5369 | ModeOfGlitch = 6 | |
5370 | storehumanoidWS = 75 | |
5371 | hum.WalkSpeed = 75 | |
5372 | rainbowmode = false | |
5373 | chaosmode = false | |
5374 | tl1.Enabled = true | |
5375 | tl2.Enabled = true | |
5376 | tl3.Enabled = true | |
5377 | RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1)) | |
5378 | newTheme("rbxassetid://395351949",0,1,1) | |
5379 | MAINRUINCOLOR = BrickColor.new("White") | |
5380 | for i, v in pairs(mw2:GetChildren()) do | |
5381 | if v:IsA("Part") then | |
5382 | v.BrickColor = MAINRUINCOLOR | |
5383 | v.Material = "Neon" | |
5384 | end | |
5385 | end | |
5386 | for i, v in pairs(mw1:GetChildren()) do | |
5387 | if v:IsA("Part") then | |
5388 | v.Transparency = 0 | |
5389 | v.BrickColor = MAINRUINCOLOR | |
5390 | v.Material = "Neon" | |
5391 | end | |
5392 | end | |
5393 | for i, v in pairs(m:GetChildren()) do | |
5394 | if v:IsA("Part") then | |
5395 | v.BrickColor = BrickColor.new("White") | |
5396 | v.Material = "Ice" | |
5397 | end | |
5398 | end | |
5399 | for i, v in pairs(m2:GetChildren()) do | |
5400 | if v:IsA("Part") then | |
5401 | v.BrickColor = BrickColor.new("Really black") | |
5402 | v.Material = "Ice" | |
5403 | end | |
5404 | end | |
5405 | for i, v in pairs(m3:GetChildren()) do | |
5406 | if v:IsA("Part") then | |
5407 | v.BrickColor = BrickColor.new("White") | |
5408 | v.Material = "Neon" | |
5409 | end | |
5410 | end | |
5411 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5412 | if v:IsA("Part") then | |
5413 | v.Transparency = 1 | |
5414 | v.BrickColor = BrickColor.new("White") | |
5415 | v.Material = "Neon" | |
5416 | end | |
5417 | end | |
5418 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5419 | if v:IsA("Part") then | |
5420 | v.Transparency = 1 | |
5421 | v.BrickColor = BrickColor.new("White") | |
5422 | v.Material = "Neon" | |
5423 | end | |
5424 | end | |
5425 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
5426 | resetmode() | |
5427 | end | |
5428 | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then | |
5429 | ModeOfGlitch = 6127843 | |
5430 | storehumanoidWS = 50 | |
5431 | hum.WalkSpeed = 50 | |
5432 | rainbowmode = true | |
5433 | chaosmode = false | |
5434 | tl1.Enabled = true | |
5435 | tl2.Enabled = true | |
5436 | tl3.Enabled = true | |
5437 | RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1)) | |
5438 | newTheme("rbxassetid://147930134",0,1,1) | |
5439 | MAINRUINCOLOR = BrickColor.new("White") | |
5440 | for i, v in pairs(mw2:GetChildren()) do | |
5441 | if v:IsA("Part") then | |
5442 | v.BrickColor = MAINRUINCOLOR | |
5443 | v.Material = "Neon" | |
5444 | end | |
5445 | end | |
5446 | for i, v in pairs(mw1:GetChildren()) do | |
5447 | if v:IsA("Part") then | |
5448 | v.Transparency = 0 | |
5449 | v.BrickColor = MAINRUINCOLOR | |
5450 | v.Material = "Neon" | |
5451 | end | |
5452 | end | |
5453 | for i, v in pairs(m:GetChildren()) do | |
5454 | if v:IsA("Part") then | |
5455 | v.BrickColor = BrickColor.new("White") | |
5456 | v.Material = "Neon" | |
5457 | end | |
5458 | end | |
5459 | for i, v in pairs(m2:GetChildren()) do | |
5460 | if v:IsA("Part") then | |
5461 | v.BrickColor = BrickColor.new("White") | |
5462 | v.Material = "Neon" | |
5463 | end | |
5464 | end | |
5465 | for i, v in pairs(m3:GetChildren()) do | |
5466 | if v:IsA("Part") then | |
5467 | v.BrickColor = BrickColor.new("White") | |
5468 | v.Material = "Neon" | |
5469 | end | |
5470 | end | |
5471 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5472 | if v:IsA("Part") then | |
5473 | v.Transparency = 1 | |
5474 | v.BrickColor = BrickColor.new("White") | |
5475 | v.Material = "Neon" | |
5476 | end | |
5477 | end | |
5478 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5479 | if v:IsA("Part") then | |
5480 | v.Transparency = 1 | |
5481 | v.BrickColor = BrickColor.new("White") | |
5482 | v.Material = "Neon" | |
5483 | end | |
5484 | end | |
5485 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
5486 | resetmode() | |
5487 | end | |
5488 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
5489 | ModeOfGlitch = 1000000 | |
5490 | storehumanoidWS = 100 | |
5491 | hum.WalkSpeed = 100 | |
5492 | rainbowmode = false | |
5493 | chaosmode = false | |
5494 | tl1.Enabled = true | |
5495 | tl2.Enabled = true | |
5496 | tl3.Enabled = true | |
5497 | RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1)) | |
5498 | newTheme("rbxassetid://1359036559",0,1,1) | |
5499 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
5500 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5501 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5502 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5503 | for i, v in pairs(mw2:GetChildren()) do | |
5504 | if v:IsA("Part") then | |
5505 | v.BrickColor = MAINRUINCOLOR | |
5506 | v.Material = "Neon" | |
5507 | end | |
5508 | end | |
5509 | for i, v in pairs(mw1:GetChildren()) do | |
5510 | if v:IsA("Part") then | |
5511 | v.Transparency = 0 | |
5512 | v.BrickColor = MAINRUINCOLOR | |
5513 | v.Material = "Neon" | |
5514 | end | |
5515 | end | |
5516 | for i, v in pairs(m:GetChildren()) do | |
5517 | if v:IsA("Part") then | |
5518 | v.Color = Color3.new(0.5,0,1) | |
5519 | v.Material = "Neon" | |
5520 | end | |
5521 | end | |
5522 | for i, v in pairs(m2:GetChildren()) do | |
5523 | if v:IsA("Part") then | |
5524 | v.Color = Color3.new(0.25,0,1) | |
5525 | v.Material = "Neon" | |
5526 | end | |
5527 | end | |
5528 | for i, v in pairs(m3:GetChildren()) do | |
5529 | if v:IsA("Part") then | |
5530 | v.Color = Color3.new(0.45,0,1) | |
5531 | v.Material = "Neon" | |
5532 | end | |
5533 | end | |
5534 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5535 | if v:IsA("Part") then | |
5536 | v.Transparency = 0.75 | |
5537 | v.Color = Color3.new(0.25,0,1) | |
5538 | v.Material = "Neon" | |
5539 | end | |
5540 | end | |
5541 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5542 | if v:IsA("Part") then | |
5543 | v.Transparency = 0.75 | |
5544 | v.Color = Color3.new(0.5,0,1) | |
5545 | v.Material = "Neon" | |
5546 | end | |
5547 | end | |
5548 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
5549 | resetmode() | |
5550 | end | |
5551 | if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then | |
5552 | newThemeCust("rbxassetid://1504604335",0,1,1) | |
5553 | attack = true | |
5554 | hum.WalkSpeed = 0 | |
5555 | MAINRUINCOLOR = BrickColor.new("Royal purple") | |
5556 | for i = 0, 24, 0.1 do | |
5557 | swait() | |
5558 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
5559 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5560 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5561 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5562 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5563 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5564 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5565 | end | |
5566 | CameraEnshaking(1,1) | |
5567 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5568 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
5569 | wait(0.55) | |
5570 | CameraEnshaking(1,2) | |
5571 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5572 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5573 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5574 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
5575 | wait(0.55) | |
5576 | CameraEnshaking(1,3) | |
5577 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
5578 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5579 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5580 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5581 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5582 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
5583 | wait(0.55) | |
5584 | CameraEnshaking(10,5) | |
5585 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
5586 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
5587 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
5588 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
5589 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
5590 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
5591 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
5592 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
5593 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
5594 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5595 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
5596 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
5597 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
5598 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
5599 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
5600 | for i = 0, 49 do | |
5601 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
5602 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
5603 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
5604 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
5605 | end | |
5606 | ModeOfGlitch = 12345678987654321 | |
5607 | storehumanoidWS = 200 | |
5608 | hum.WalkSpeed = 200 | |
5609 | rainbowmode = false | |
5610 | chaosmode = false | |
5611 | tl1.Enabled = true | |
5612 | tl2.Enabled = true | |
5613 | tl3.Enabled = true | |
5614 | RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1)) | |
5615 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5616 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5617 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5618 | for i, v in pairs(mw2:GetChildren()) do | |
5619 | if v:IsA("Part") then | |
5620 | v.BrickColor = MAINRUINCOLOR | |
5621 | v.Material = "Neon" | |
5622 | end | |
5623 | end | |
5624 | for i, v in pairs(mw1:GetChildren()) do | |
5625 | if v:IsA("Part") then | |
5626 | v.Transparency = 0 | |
5627 | v.BrickColor = MAINRUINCOLOR | |
5628 | v.Material = "Neon" | |
5629 | end | |
5630 | end | |
5631 | for i, v in pairs(m:GetChildren()) do | |
5632 | if v:IsA("Part") then | |
5633 | v.Color = Color3.new(0.5,0,1) | |
5634 | v.Material = "Neon" | |
5635 | end | |
5636 | end | |
5637 | for i, v in pairs(m2:GetChildren()) do | |
5638 | if v:IsA("Part") then | |
5639 | v.Color = Color3.new(0.5,0,1) | |
5640 | v.Material = "Neon" | |
5641 | end | |
5642 | end | |
5643 | for i, v in pairs(m3:GetChildren()) do | |
5644 | if v:IsA("Part") then | |
5645 | v.Color = Color3.new(0.5,0,1) | |
5646 | v.Material = "Neon" | |
5647 | end | |
5648 | end | |
5649 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5650 | if v:IsA("Part") then | |
5651 | v.Transparency = 0 | |
5652 | v.Color = Color3.new(0.5,0,1) | |
5653 | v.Material = "Neon" | |
5654 | end | |
5655 | end | |
5656 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5657 | if v:IsA("Part") then | |
5658 | v.Transparency = 0 | |
5659 | v.Color = Color3.new(0.5,0,1) | |
5660 | v.Material = "Neon" | |
5661 | end | |
5662 | attack = false | |
5663 | end | |
5664 | elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then | |
5665 | resetmode() | |
5666 | end | |
5667 | if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 6636 then | |
5668 | newThemeCust("rbxassetid://1574603917",0,1,1) | |
5669 | attack = true | |
5670 | hum.WalkSpeed = 0 | |
5671 | MAINRUINCOLOR = BrickColor.new("White") | |
5672 | for i = 0, 24, 0.1 do | |
5673 | swait() | |
5674 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
5675 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5676 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5677 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5678 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5679 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5680 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5681 | end | |
5682 | CameraEnshaking(1,1) | |
5683 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5684 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
5685 | wait(0.55) | |
5686 | CameraEnshaking(1,2) | |
5687 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5688 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5689 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5690 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
5691 | wait(0.55) | |
5692 | CameraEnshaking(1,3) | |
5693 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
5694 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5695 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5696 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5697 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5698 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
5699 | wait(0.55) | |
5700 | CameraEnshaking(10,5) | |
5701 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
5702 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
5703 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
5704 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
5705 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
5706 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
5707 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
5708 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
5709 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
5710 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5711 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
5712 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
5713 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
5714 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
5715 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
5716 | for i = 0, 49 do | |
5717 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
5718 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
5719 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
5720 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
5721 | end | |
5722 | ModeOfGlitch = 6676 | |
5723 | storehumanoidWS = 16 | |
5724 | hum.WalkSpeed = 16 | |
5725 | rainbowmode = false | |
5726 | chaosmode = false | |
5727 | tl1.Enabled = true | |
5728 | tl2.Enabled = true | |
5729 | tl3.Enabled = true | |
5730 | RecolorTextAndRename("Angel",Color3.new(1,1,1),Color3.new(1,1,1)) | |
5731 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5732 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5733 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5734 | for i, v in pairs(mw2:GetChildren()) do | |
5735 | if v:IsA("Part") then | |
5736 | v.BrickColor = MAINRUINCOLOR | |
5737 | v.Material = "Neon" | |
5738 | end | |
5739 | end | |
5740 | for i, v in pairs(mw1:GetChildren()) do | |
5741 | if v:IsA("Part") then | |
5742 | v.Transparency = 0 | |
5743 | v.BrickColor = MAINRUINCOLOR | |
5744 | v.Material = "Neon" | |
5745 | end | |
5746 | end | |
5747 | for i, v in pairs(m:GetChildren()) do | |
5748 | if v:IsA("Part") then | |
5749 | v.Color = Color3.new(0,0.75,1) | |
5750 | v.Material = "Neon" | |
5751 | end | |
5752 | end | |
5753 | for i, v in pairs(m2:GetChildren()) do | |
5754 | if v:IsA("Part") then | |
5755 | v.Color = Color3.new(0,0.75,1) | |
5756 | v.Material = "Neon" | |
5757 | end | |
5758 | end | |
5759 | for i, v in pairs(m3:GetChildren()) do | |
5760 | if v:IsA("Part") then | |
5761 | v.Color = Color3.new(0,0.75,1) | |
5762 | v.Material = "Neon" | |
5763 | end | |
5764 | end | |
5765 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5766 | if v:IsA("Part") then | |
5767 | v.Transparency = 0 | |
5768 | v.Color = Color3.new(1,1,1) | |
5769 | v.Material = "Neon" | |
5770 | end | |
5771 | end | |
5772 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5773 | if v:IsA("Part") then | |
5774 | v.Transparency = 0 | |
5775 | v.Color = Color3.new(1,1,1) | |
5776 | v.Material = "Neon" | |
5777 | end | |
5778 | attack = false | |
5779 | end | |
5780 | elseif k == "m" and attack == false and ModeOfGlitch == 6676 then | |
5781 | resetmode() | |
5782 | end | |
5783 | if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then | |
5784 | newThemeCust("rbxassetid://723652641",0,1,1) | |
5785 | attack = true | |
5786 | hum.WalkSpeed = 0 | |
5787 | MAINRUINCOLOR = BrickColor.new("Crimson") | |
5788 | for i = 0, 24, 0.1 do | |
5789 | swait() | |
5790 | sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100) | |
5791 | RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) | |
5792 | LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) | |
5793 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
5794 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
5795 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
5796 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
5797 | end | |
5798 | CameraEnshaking(1,1) | |
5799 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5800 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1) | |
5801 | wait(0.55) | |
5802 | CameraEnshaking(1,2) | |
5803 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5804 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5805 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5806 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1) | |
5807 | wait(0.55) | |
5808 | CameraEnshaking(1,3) | |
5809 | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) | |
5810 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5811 | sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR) | |
5812 | sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR) | |
5813 | sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR) | |
5814 | CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1) | |
5815 | wait(0.55) | |
5816 | CameraEnshaking(10,5) | |
5817 | CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1) | |
5818 | CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1) | |
5819 | CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1) | |
5820 | CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85) | |
5821 | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1) | |
5822 | sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR) | |
5823 | sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR) | |
5824 | sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR) | |
5825 | sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR) | |
5826 | sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR) | |
5827 | sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR) | |
5828 | sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR) | |
5829 | sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR) | |
5830 | sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR) | |
5831 | sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR) | |
5832 | for i = 0, 49 do | |
5833 | sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0) | |
5834 | sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0) | |
5835 | sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0) | |
5836 | sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0) | |
5837 | end | |
5838 | ModeOfGlitch = 666 | |
5839 | storehumanoidWS = 16 | |
5840 | hum.WalkSpeed = 16 | |
5841 | rainbowmode = false | |
5842 | chaosmode = false | |
5843 | tl1.Enabled = true | |
5844 | tl2.Enabled = true | |
5845 | tl3.Enabled = true | |
5846 | RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0)) | |
5847 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5848 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5849 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
5850 | for i, v in pairs(mw2:GetChildren()) do | |
5851 | if v:IsA("Part") then | |
5852 | v.BrickColor = MAINRUINCOLOR | |
5853 | v.Material = "Neon" | |
5854 | end | |
5855 | end | |
5856 | for i, v in pairs(mw1:GetChildren()) do | |
5857 | if v:IsA("Part") then | |
5858 | v.Transparency = 0 | |
5859 | v.BrickColor = MAINRUINCOLOR | |
5860 | v.Material = "Neon" | |
5861 | end | |
5862 | end | |
5863 | for i, v in pairs(m:GetChildren()) do | |
5864 | if v:IsA("Part") then | |
5865 | v.Color = Color3.new(1,0,0) | |
5866 | v.Material = "Neon" | |
5867 | end | |
5868 | end | |
5869 | for i, v in pairs(m2:GetChildren()) do | |
5870 | if v:IsA("Part") then | |
5871 | v.Color = Color3.new(1,0,0) | |
5872 | v.Material = "Neon" | |
5873 | end | |
5874 | end | |
5875 | for i, v in pairs(m3:GetChildren()) do | |
5876 | if v:IsA("Part") then | |
5877 | v.Color = Color3.new(1,0,0) | |
5878 | v.Material = "Neon" | |
5879 | end | |
5880 | end | |
5881 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
5882 | if v:IsA("Part") then | |
5883 | v.Transparency = 0 | |
5884 | v.Color = Color3.new(1,0,0) | |
5885 | v.Material = "Neon" | |
5886 | end | |
5887 | end | |
5888 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
5889 | if v:IsA("Part") then | |
5890 | v.Transparency = 0 | |
5891 | v.Color = Color3.new(1,0,0) | |
5892 | v.Material = "Neon" | |
5893 | end | |
5894 | attack = false | |
5895 | end | |
5896 | elseif k == "b" and attack == false and ModeOfGlitch == 666 then | |
5897 | resetmode() | |
5898 | end | |
5899 | if k == "l" and toggleTag == false then | |
5900 | toggleTag = true | |
5901 | text.TextTransparency = 0 | |
5902 | text.TextStrokeTransparency = 0 | |
5903 | elseif k == "l" and toggleTag == true then | |
5904 | toggleTag = false | |
5905 | text.TextTransparency = 1 | |
5906 | text.TextStrokeTransparency = 1 | |
5907 | end | |
5908 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
5909 | ExtinctiveHeartbreak() | |
5910 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
5911 | PureBomb() | |
5912 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
5913 | scattercorrupt() | |
5914 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
5915 | ChaosGroundStrike() | |
5916 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
5917 | Judgement() | |
5918 | elseif k == "f" and attack == false and ModeOfGlitch == 5 then | |
5919 | HolyBarrier() | |
5920 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
5921 | Starfall() | |
5922 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
5923 | yinyangi() | |
5924 | elseif k == "x" and attack == false and ModeOfGlitch == 6 then | |
5925 | MeteorStrike() | |
5926 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
5927 | Wip() | |
5928 | elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then | |
5929 | StarfallEX() | |
5930 | elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then | |
5931 | FinalCalam() | |
5932 | end | |
5933 | if k == "n" and attack == false then | |
5934 | Blink() | |
5935 | elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then | |
5936 | StarDivision() | |
5937 | end | |
5938 | if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then | |
5939 | UniversalCollapse() | |
5940 | end | |
5941 | if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then | |
5942 | hum.WalkSpeed = 16 + 184 | |
5943 | elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then | |
5944 | hum.WalkSpeed = 200 - 184 | |
5945 | end | |
5946 | if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then | |
5947 | UniversalSpark() | |
5948 | end | |
5949 | if k == "z" and attack == false and ModeOfGlitch == 666 then | |
5950 | StarDivision() | |
5951 | end | |
5952 | if k == "x" and attack == false and ModeOfGlitch == 666 then | |
5953 | Starfall() | |
5954 | end | |
5955 | if k == "m" and attack == false and ModeOfGlitch == 4 then | |
5956 | ChaosBegone() | |
5957 | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then | |
5958 | THEHELLITSTHATBIG() | |
5959 | elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then | |
5960 | removelol() | |
5961 | end | |
5962 | end) | |
5963 | mouse.KeyUp:connect(function(k) | |
5964 | if k == "f" and ModeOfGlitch == 5 then | |
5965 | shielding = false | |
5966 | end | |
5967 | if k == "z" and ModeOfGlitch == 5 then | |
5968 | judgement = false | |
5969 | end | |
5970 | end) | |
5971 | coroutine.resume(coroutine.create(function() | |
5972 | while true do | |
5973 | swait(2) | |
5974 | if rainbowmode == true or ModeOfGlitch == 6 then | |
5975 | if eff == true then | |
5976 | sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0) | |
5977 | end | |
5978 | end | |
5979 | end | |
5980 | end)) | |
5981 | coroutine.resume(coroutine.create(function() | |
5982 | while true do | |
5983 | swait(2) | |
5984 | if shielding == true then | |
5985 | end | |
5986 | end | |
5987 | end)) | |
5988 | ||
5989 | ||
5990 | coroutine.resume(coroutine.create(function() | |
5991 | while true do | |
5992 | if ModeOfGlitch == 1000000 then | |
5993 | swait(0.5) | |
5994 | end | |
5995 | swait() | |
5996 | if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
5997 | sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0) | |
5998 | end | |
5999 | if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
6000 | sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0) | |
6001 | end | |
6002 | end | |
6003 | end)) | |
6004 | ||
6005 | ||
6006 | coroutine.resume(coroutine.create(function() | |
6007 | while true do | |
6008 | swait(2) | |
6009 | if chaosmode == true then | |
6010 | tl1.Color = ColorSequence.new(BrickColor.random().Color) | |
6011 | tl2.Color = ColorSequence.new(BrickColor.random().Color) | |
6012 | tl3.Color = ColorSequence.new(BrickColor.random().Color) | |
6013 | RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color) | |
6014 | for i, v in pairs(mw1:GetChildren()) do | |
6015 | if v:IsA("Part") then | |
6016 | v.Transparency = 0.75 | |
6017 | v.BrickColor = BrickColor.random() | |
6018 | v.Material = "Neon" | |
6019 | end | |
6020 | end | |
6021 | for i, v in pairs(m2:GetChildren()) do | |
6022 | if v:IsA("Part") then | |
6023 | v.BrickColor = BrickColor.random() | |
6024 | v.Material = "Neon" | |
6025 | end | |
6026 | end | |
6027 | for i, v in pairs(secondchar:GetChildren()) do | |
6028 | if v:IsA("Part") then | |
6029 | v.BrickColor = BrickColor.random() | |
6030 | v.Material = "Neon" | |
6031 | end | |
6032 | end | |
6033 | end | |
6034 | end | |
6035 | end)) | |
6036 | Humanoid.Name = "STARGLITCHER" | |
6037 | Humanoid.MaxHealth = math.huge | |
6038 | Humanoid.Health = math.huge | |
6039 | Instance.new("ForceField",char).Visible = false | |
6040 | Humanoid.Animator.Parent = nil | |
6041 | idleanim=.4 | |
6042 | while true do | |
6043 | if rainbowmode == false then | |
6044 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6045 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6046 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6047 | for i, v in pairs(secondchar:GetChildren()) do | |
6048 | if v:IsA("Part") then | |
6049 | v.BrickColor = MAINRUINCOLOR | |
6050 | v.Material = "Neon" | |
6051 | end | |
6052 | end | |
6053 | if chaosmode == false then | |
6054 | tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6055 | tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6056 | tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
6057 | for i, v in pairs(secondchar:GetChildren()) do | |
6058 | if v:IsA("Part") then | |
6059 | v.BrickColor = MAINRUINCOLOR | |
6060 | v.Material = "Neon" | |
6061 | end | |
6062 | end | |
6063 | end | |
6064 | end | |
6065 | if rainbowmode == true then | |
6066 | RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500)) | |
6067 | MAINRUINCOLOR = BrickColor.new("White") | |
6068 | tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6069 | tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6070 | tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6071 | tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6072 | tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6073 | tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255)) | |
6074 | for i, v in pairs(m:GetChildren()) do | |
6075 | if v:IsA("Part") then | |
6076 | v.Color = Color3.new(r/255,g/255,b/255) | |
6077 | end | |
6078 | end | |
6079 | for i, v in pairs(m2:GetChildren()) do | |
6080 | if v:IsA("Part") then | |
6081 | v.Color = Color3.new(r/255,g/255,b/255) | |
6082 | end | |
6083 | end | |
6084 | for i, v in pairs(secondchar:GetChildren()) do | |
6085 | if v:IsA("Part") then | |
6086 | v.Color = Color3.new(r/255,g/255,b/255) | |
6087 | v.Material = "Neon" | |
6088 | end | |
6089 | end | |
6090 | for i, v in pairs(m3:GetChildren()) do | |
6091 | if v:IsA("Part") then | |
6092 | v.Color = Color3.new(r/255,g/255,b/255) | |
6093 | end | |
6094 | end | |
6095 | for i, v in pairs(mw1:GetChildren()) do | |
6096 | if v:IsA("Part") then | |
6097 | v.Color = Color3.new(r/255,g/255,b/255) | |
6098 | v.Material = "Neon" | |
6099 | end | |
6100 | end | |
6101 | for i, v in pairs(mw2:GetChildren()) do | |
6102 | if v:IsA("Part") then | |
6103 | v.Color = Color3.new(r/255,g/255,b/255) | |
6104 | v.Material = "Neon" | |
6105 | end | |
6106 | end | |
6107 | end | |
6108 | CameraManager() | |
6109 | swait() | |
6110 | lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3) | |
6111 | lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3) | |
6112 | lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3) | |
6113 | lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3) | |
6114 | lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3) | |
6115 | lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3) | |
6116 | ||
6117 | if attack == false and ActiveGia == false then | |
6118 | torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
6119 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1) | |
6120 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1) | |
6121 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
6122 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
6123 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1) | |
6124 | elseif attack == false and ActiveGia == true then | |
6125 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then | |
6126 | torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025) | |
6127 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025) | |
6128 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025) | |
6129 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
6130 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025) | |
6131 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025) | |
6132 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
6133 | torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025) | |
6134 | larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025) | |
6135 | rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025) | |
6136 | llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025) | |
6137 | rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025) | |
6138 | hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025) | |
6139 | end | |
6140 | end | |
6141 | ||
6142 | rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3) | |
6143 | rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3) | |
6144 | rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3) | |
6145 | rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3) | |
6146 | rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3) | |
6147 | rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3) | |
6148 | sine = sine + change | |
6149 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
6150 | local velderp=RootPart.Velocity.y | |
6151 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
6152 | if equipped==true or equipped==false then | |
6153 | if attack==false then | |
6154 | idle=idle+1 | |
6155 | else | |
6156 | idle=0 | |
6157 | end | |
6158 | if idle>=500 then | |
6159 | if attack==false then | |
6160 | --Sheath() | |
6161 | end | |
6162 | end | |
6163 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
6164 | Anim="Jump" | |
6165 | if attack==false then | |
6166 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6167 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
6168 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) | |
6169 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1) | |
6170 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1) | |
6171 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1) | |
6172 | end | |
6173 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
6174 | Anim="Fall" | |
6175 | if attack==false then | |
6176 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1) | |
6177 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1) | |
6178 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6179 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
6180 | RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1) | |
6181 | LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1) | |
6182 | end | |
6183 | elseif torvel<1 and hitfloor~=nil then | |
6184 | Anim="Idle" | |
6185 | if attack==false then | |
6186 | if ModeOfGlitch == 1 then | |
6187 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
6188 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
6189 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
6190 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1) | |
6191 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
6192 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6193 | ||
6194 | elseif ModeOfGlitch == 666 then | |
6195 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1) | |
6196 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1) | |
6197 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1) | |
6198 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) | |
6199 | RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) | |
6200 | LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) | |
6201 | ||
6202 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 or ModeOfGlitch == 6676 then | |
6203 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6204 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6205 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6206 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
6207 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6208 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6209 | ||
6210 | elseif ModeOfGlitch == 3 then | |
6211 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1) | |
6212 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6213 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1) | |
6214 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1) | |
6215 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1) | |
6216 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1) | |
6217 | ||
6218 | elseif ModeOfGlitch == 4 then | |
6219 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1) | |
6220 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1) | |
6221 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) | |
6222 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6223 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6224 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6225 | ||
6226 | elseif ModeOfGlitch == 5 then | |
6227 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6228 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) | |
6229 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6230 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1) | |
6231 | RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1) | |
6232 | LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1) | |
6233 | ||
6234 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then | |
6235 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
6236 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
6237 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) | |
6238 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1) | |
6239 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1) | |
6240 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1) | |
6241 | ||
6242 | elseif ModeOfGlitch == 12345678987654321 then | |
6243 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) | |
6244 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) | |
6245 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1) | |
6246 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1) | |
6247 | RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1) | |
6248 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1) | |
6249 | end | |
6250 | end | |
6251 | elseif torvel>2 and torvel<50 and hitfloor~=nil then | |
6252 | Anim="Walk" | |
6253 | if attack==false then | |
6254 | if ModeOfGlitch == 1 then | |
6255 | RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1) | |
6256 | LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1) | |
6257 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6258 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
6259 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6260 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1) | |
6261 | ||
6262 | elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then | |
6263 | RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1) | |
6264 | LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1) | |
6265 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1) | |
6266 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1) | |
6267 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1) | |
6268 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1) | |
6269 | ||
6270 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then | |
6271 | RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1) | |
6272 | LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1) | |
6273 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1) | |
6274 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1) | |
6275 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1) | |
6276 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1) | |
6277 | end | |
6278 | end | |
6279 | elseif torvel>=22 and hitfloor~=nil then | |
6280 | Anim="Run" | |
6281 | if attack==false then | |
6282 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then | |
6283 | RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6284 | LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1) | |
6285 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1) | |
6286 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1) | |
6287 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1) | |
6288 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1) | |
6289 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then | |
6290 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2) | |
6291 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2) | |
6292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2) | |
6293 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
6294 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2) | |
6295 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2) | |
6296 | end | |
6297 | end | |
6298 | end | |
6299 | end | |
6300 | end |