SHOW:
|
|
- or go back to the newest paste.
1 | - | --reanimate by MyWorld#4430 discord.gg/pYVHtSJmEY |
1 | + | --usage |
2 | - | local v3_net, v3_808 = Vector3.new(5000, 25.1, 0), Vector3.new(8, 0, 8) |
2 | + | local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))() |
3 | - | local function getNetlessVelocity(realPartVelocity) |
3 | + | FEService:FullNetwork() |
4 | - | local mag = realPartVelocity.Magnitude |
4 | + | |
5 | - | if mag > 1 then |
5 | + | |
6 | - | local unit = realPartVelocity.Unit |
6 | + | |
7 | - | if (unit.Y > 0.25) or (unit.Y < -0.75) then |
7 | + | |
8 | - | return unit * (25.1 / unit.Y) |
8 | + | |
9 | - | end |
9 | + | |
10 | - | end |
10 | + | |
11 | - | return v3_net + realPartVelocity * v3_808 |
11 | + | |
12 | RLeg=chr["Right Leg"] | |
13 | - | local simradius = "shp" --simulation radius (net bypass) method |
13 | + | |
14 | - | --"shp" - sethiddenproperty |
14 | + | |
15 | - | --"ssr" - setsimulationradius |
15 | + | |
16 | - | --false - disable |
16 | + | |
17 | - | local simrad = 1000 --simulation radius value |
17 | + | |
18 | - | local healthHide = true --moves your head away every 3 seconds so players dont see your health bar (alignmode 4 only) |
18 | + | |
19 | - | local reclaim = true --if you lost control over a part this will move your primary part to the part so you get it back (alignmode 4) |
19 | + | |
20 | - | local novoid = true --prevents parts from going under workspace.FallenPartsDestroyHeight if you control them (alignmode 4 only) |
20 | + | |
21 | - | local physp = nil --PhysicalProperties.new(0.01, 0, 1, 0, 0) --sets .CustomPhysicalProperties to this for each part |
21 | + | |
22 | - | local noclipAllParts = false --set it to true if you want noclip |
22 | + | |
23 | - | local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character |
23 | + | |
24 | - | local newanimate = true --disables the animate script and enables after reanimation |
24 | + | |
25 | - | local discharscripts = true --disables all localScripts parented to your character before reanimation |
25 | + | |
26 | - | local R15toR6 = true --tries to convert your character to r6 if its r15 |
26 | + | |
27 | - | local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0) |
27 | + | |
28 | - | local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState) |
28 | + | |
29 | - | local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation |
29 | + | |
30 | - | local hedafterneck = true --disable aligns for head and enable after neck or torso is removed |
30 | + | |
31 | - | local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay |
31 | + | |
32 | - | local method = 3 --reanimation method |
32 | + | |
33 | - | --methods: |
33 | + | |
34 | - | --0 - breakJoints (takes [loadtime] seconds to load) |
34 | + | |
35 | - | --1 - limbs |
35 | + | |
36 | - | --2 - limbs + anti respawn |
36 | + | |
37 | - | --3 - limbs + breakJoints after [loadtime] seconds |
37 | + | |
38 | - | --4 - remove humanoid + breakJoints |
38 | + | |
39 | - | --5 - remove humanoid + limbst |
39 | + | |
40 | - | local alignmode = 3 --AlignPosition mode |
40 | + | |
41 | - | --modes: |
41 | + | |
42 | - | --1 - AlignPosition rigidity enabled true |
42 | + | |
43 | - | --2 - 2 AlignPositions rigidity enabled both true and false |
43 | + | |
44 | - | --3 - AlignPosition rigidity enabled false |
44 | + | |
45 | - | --4 - CFrame |
45 | + | |
46 | - | local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging |
46 | + | |
47 | - | --the fling function |
47 | + | |
48 | - | --usage: fling(target, duration, velocity) |
48 | + | |
49 | - | --target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided)) |
49 | + | |
50 | - | --duration (fling time in seconds) can be set to a number or a string convertable to the number (0.5s if not provided), |
50 | + | |
51 | - | --velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided) |
51 | + | |
52 | w.C1=c1 | |
53 | - | local lp = game:GetService("Players").LocalPlayer |
53 | + | |
54 | - | local rs, ws, sg = game:GetService("RunService"), game:GetService("Workspace"), game:GetService("StarterGui") |
54 | + | |
55 | - | local stepped, heartbeat, renderstepped = rs.Stepped, rs.Heartbeat, rs.RenderStepped |
55 | + | |
56 | - | local twait, tdelay, rad, inf, abs, clamp = task.wait, task.delay, math.rad, math.huge, math.abs, math.clamp |
56 | + | |
57 | - | local cf, v3 = CFrame.new, Vector3.new |
57 | + | |
58 | - | local angles = CFrame.Angles |
58 | + | |
59 | - | local v3_0, cf_0 = v3(0, 0, 0), cf(0, 0, 0) |
59 | + | |
60 | ||
61 | - | local c = lp.Character |
61 | + | |
62 | - | if not (c and c.Parent) then |
62 | + | |
63 | - | return |
63 | + | |
64 | local RS=newMotor("Right Shoulder",Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
65 | local LS=newMotor("Left Hip",Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
66 | - | c:GetPropertyChangedSignal("Parent"):Connect(function() |
66 | + | |
67 | - | if not (c and c.Parent) then |
67 | + | |
68 | - | c = nil |
68 | + | |
69 | - | end |
69 | + | |
70 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10 | |
71 | end | |
72 | - | local clone, destroy, getchildren, getdescendants, isa = c.Clone, c.Destroy, c.GetChildren, c.GetDescendants, c.IsA |
72 | + | |
73 | function rayCast(Position,Direction,Range,Ignore) | |
74 | - | local function gp(parent, name, className) |
74 | + | |
75 | - | if typeof(parent) == "Instance" then |
75 | + | |
76 | - | for i, v in pairs(getchildren(parent)) do |
76 | + | |
77 | - | if (v.Name == name) and isa(v, className) then |
77 | + | |
78 | - | return v |
78 | + | |
79 | - | end |
79 | + | |
80 | - | end |
80 | + | |
81 | - | end |
81 | + | |
82 | - | return nil |
82 | + | |
83 | frame=0.0166666666666666667 | |
84 | tf=0 | |
85 | - | local fenv = getfenv() |
85 | + | |
86 | tossremainder=false | |
87 | - | local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop |
87 | + | |
88 | - | local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.setsimrad or fenv.set_sim_rad |
88 | + | |
89 | ||
90 | - | healthHide = healthHide and ((method == 0) or (method == 3)) and gp(c, "Head", "BasePart") |
90 | + | |
91 | tf=tf+s | |
92 | - | local reclaim, lostpart = reclaim and c.PrimaryPart, nil |
92 | + | |
93 | if allowframeloss then | |
94 | - | local function align(Part0, Part1) |
94 | + | |
95 | - | |
95 | + | |
96 | - | local att0 = Instance.new("Attachment") |
96 | + | |
97 | - | att0.Position, att0.Orientation, att0.Name = v3_0, v3_0, "att0_" .. Part0.Name |
97 | + | |
98 | - | local att1 = Instance.new("Attachment") |
98 | + | |
99 | - | att1.Position, att1.Orientation, att1.Name = v3_0, v3_0, "att1_" .. Part1.Name |
99 | + | |
100 | lastframe=tick() | |
101 | - | if alignmode == 4 then |
101 | + | |
102 | - | |
102 | + | |
103 | - | local hide = false |
103 | + | |
104 | - | if Part0 == healthHide then |
104 | + | |
105 | - | healthHide = false |
105 | + | |
106 | - | tdelay(0, function() |
106 | + | |
107 | - | while twait(2.9) and Part0 and c do |
107 | + | |
108 | - | hide = #Part0:GetConnectedParts() == 1 |
108 | + | |
109 | - | twait(0.1) |
109 | + | |
110 | - | hide = false |
110 | + | |
111 | - | end |
111 | + | |
112 | - | end) |
112 | + | |
113 | - | end |
113 | + | |
114 | - | |
114 | + | |
115 | - | local rot = rad(0.05) |
115 | + | |
116 | - | local con0, con1 = nil, nil |
116 | + | |
117 | - | con0 = stepped:Connect(function() |
117 | + | |
118 | - | if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end |
118 | + | |
119 | - | Part0.RotVelocity = Part1.RotVelocity |
119 | + | |
120 | - | end) |
120 | + | |
121 | - | local lastpos = Part0.Position |
121 | + | |
122 | - | con1 = heartbeat:Connect(function(delta) |
122 | + | |
123 | - | if not (Part0 and Part1 and att1) then return con0:Disconnect() and con1:Disconnect() end |
123 | + | |
124 | - | if (not Part0.Anchored) and (Part0.ReceiveAge == 0) then |
124 | + | |
125 | - | if lostpart == Part0 then |
125 | + | |
126 | - | lostpart = nil |
126 | + | |
127 | - | end |
127 | + | |
128 | - | rot = -rot |
128 | + | |
129 | - | local newcf = Part1.CFrame * att1.CFrame * angles(0, 0, rot) |
129 | + | |
130 | - | if Part1.Velocity.Magnitude > 0.01 then |
130 | + | |
131 | - | Part0.Velocity = getNetlessVelocity(Part1.Velocity) |
131 | + | |
132 | - | else |
132 | + | |
133 | - | Part0.Velocity = getNetlessVelocity((newcf.Position - lastpos) / delta) |
133 | + | |
134 | - | end |
134 | + | |
135 | - | lastpos = newcf.Position |
135 | + | |
136 | - | if lostpart and (Part0 == reclaim) then |
136 | + | |
137 | - | newcf = lostpart.CFrame |
137 | + | |
138 | - | elseif hide then |
138 | + | |
139 | - | newcf += v3(0, 3000, 0) |
139 | + | |
140 | - | end |
140 | + | |
141 | - | if novoid and (newcf.Y < ws.FallenPartsDestroyHeight + 0.1) then |
141 | + | |
142 | - | newcf += v3(0, ws.FallenPartsDestroyHeight + 0.1 - newcf.Y, 0) |
142 | + | |
143 | - | end |
143 | + | |
144 | - | Part0.CFrame = newcf |
144 | + | |
145 | - | elseif (not Part0.Anchored) and (abs(Part0.Velocity.X) < 45) and (abs(Part0.Velocity.Y) < 25) and (abs(Part0.Velocity.Z) < 45) then |
145 | + | |
146 | - | lostpart = Part0 |
146 | + | |
147 | - | end |
147 | + | |
148 | - | end) |
148 | + | |
149 | - | |
149 | + | |
150 | - | else |
150 | + | |
151 | - | |
151 | + | |
152 | - | Part0.CustomPhysicalProperties = physp |
152 | + | |
153 | - | if (alignmode == 1) or (alignmode == 2) then |
153 | + | |
154 | - | local ape = Instance.new("AlignPosition") |
154 | + | |
155 | - | ape.MaxForce, ape.MaxVelocity, ape.Responsiveness = inf, inf, inf |
155 | + | |
156 | - | ape.ReactionForceEnabled, ape.RigidityEnabled, ape.ApplyAtCenterOfMass = false, true, false |
156 | + | |
157 | - | ape.Attachment0, ape.Attachment1, ape.Name = att0, att1, "AlignPositionRtrue" |
157 | + | |
158 | - | ape.Parent = att0 |
158 | + | |
159 | - | end |
159 | + | |
160 | - | |
160 | + | |
161 | - | if (alignmode == 2) or (alignmode == 3) then |
161 | + | |
162 | - | local apd = Instance.new("AlignPosition") |
162 | + | |
163 | - | apd.MaxForce, apd.MaxVelocity, apd.Responsiveness = inf, inf, inf |
163 | + | |
164 | - | apd.ReactionForceEnabled, apd.RigidityEnabled, apd.ApplyAtCenterOfMass = false, false, false |
164 | + | |
165 | - | apd.Attachment0, apd.Attachment1, apd.Name = att0, att1, "AlignPositionRfalse" |
165 | + | |
166 | - | apd.Parent = att0 |
166 | + | |
167 | - | end |
167 | + | |
168 | - | |
168 | + | |
169 | - | local ao = Instance.new("AlignOrientation") |
169 | + | |
170 | - | ao.MaxAngularVelocity, ao.MaxTorque, ao.Responsiveness = inf, inf, inf |
170 | + | |
171 | - | ao.PrimaryAxisOnly, ao.ReactionTorqueEnabled, ao.RigidityEnabled = false, false, false |
171 | + | |
172 | - | ao.Attachment0, ao.Attachment1 = att0, att1 |
172 | + | |
173 | - | ao.Parent = att0 |
173 | + | |
174 | - | |
174 | + | |
175 | - | local con0, con1 = nil, nil |
175 | + | |
176 | - | local vel = Part0.Velocity |
176 | + | |
177 | - | con0 = renderstepped:Connect(function() |
177 | + | |
178 | - | if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end |
178 | + | |
179 | - | Part0.Velocity = vel |
179 | + | |
180 | - | end) |
180 | + | |
181 | - | local lastpos = Part0.Position |
181 | + | |
182 | - | con1 = heartbeat:Connect(function(delta) |
182 | + | |
183 | - | if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end |
183 | + | |
184 | - | vel = Part0.Velocity |
184 | + | |
185 | - | if Part1.Velocity.Magnitude > 0.01 then |
185 | + | |
186 | - | Part0.Velocity = getNetlessVelocity(Part1.Velocity) |
186 | + | |
187 | - | else |
187 | + | |
188 | - | Part0.Velocity = getNetlessVelocity((Part0.Position - lastpos) / delta) |
188 | + | |
189 | - | end |
189 | + | |
190 | - | lastpos = Part0.Position |
190 | + | |
191 | - | end) |
191 | + | |
192 | - | |
192 | + | |
193 | - | end |
193 | + | |
194 | Parent=script} | |
195 | - | att0:GetPropertyChangedSignal("Parent"):Connect(function() |
195 | + | |
196 | - | Part0 = att0.Parent |
196 | + | |
197 | - | if not isa(Part0, "BasePart") then |
197 | + | |
198 | - | att0 = nil |
198 | + | |
199 | - | if lostpart == Part0 then |
199 | + | |
200 | - | lostpart = nil |
200 | + | |
201 | - | end |
201 | + | |
202 | - | Part0 = nil |
202 | + | |
203 | - | end |
203 | + | |
204 | - | end) |
204 | + | |
205 | - | att0.Parent = Part0 |
205 | + | |
206 | - | |
206 | + | |
207 | - | att1:GetPropertyChangedSignal("Parent"):Connect(function() |
207 | + | |
208 | - | Part1 = att1.Parent |
208 | + | |
209 | - | if not isa(Part1, "BasePart") then |
209 | + | |
210 | - | att1 = nil |
210 | + | |
211 | - | Part1 = nil |
211 | + | |
212 | - | end |
212 | + | |
213 | - | end) |
213 | + | |
214 | - | att1.Parent = Part1 |
214 | + | |
215 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409994125, 0.134350777, 0.148492813, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) | |
216 | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") | |
217 | - | local function respawnrequest() |
217 | + | |
218 | - | local ccfr, c = ws.CurrentCamera.CFrame, lp.Character |
218 | + | |
219 | - | lp.Character = nil |
219 | + | |
220 | - | lp.Character = c |
220 | + | |
221 | - | local con = nil |
221 | + | |
222 | - | con = ws.CurrentCamera.Changed:Connect(function(prop) |
222 | + | |
223 | - | if (prop ~= "Parent") and (prop ~= "CFrame") then |
223 | + | |
224 | - | return |
224 | + | |
225 | - | end |
225 | + | |
226 | - | ws.CurrentCamera.CFrame = ccfr |
226 | + | |
227 | - | con:Disconnect() |
227 | + | |
228 | - | end) |
228 | + | |
229 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000018, 0.249999911),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
230 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409994125, -0.109998703, 0.799996138, 1, 0, 0, 0, -1.48607702e-41, 1, 0, -0.999999881, 1.48607702e-41)) | |
231 | - | local destroyhum = (method == 4) or (method == 5) |
231 | + | |
232 | - | local breakjoints = (method == 0) or (method == 4) |
232 | + | |
233 | - | local antirespawn = (method == 0) or (method == 2) or (method == 3) |
233 | + | |
234 | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") | |
235 | - | hatcollide = hatcollide and (method == 0) |
235 | + | |
236 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.919998169, -0.239999771, -0.259996414, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1, 1, 0, 0)) | |
237 | - | addtools = addtools and lp:FindFirstChildOfClass("Backpack") |
237 | + | |
238 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.300000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
239 | - | if type(simrad) ~= "number" then simrad = 1000 end |
239 | + | |
240 | - | if shp and (simradius == "shp") then |
240 | + | |
241 | - | tdelay(0, function() |
241 | + | |
242 | - | while c do |
242 | + | |
243 | - | shp(lp, "SimulationRadius", simrad) |
243 | + | |
244 | - | heartbeat:Wait() |
244 | + | |
245 | - | end |
245 | + | |
246 | - | end) |
246 | + | |
247 | - | elseif ssr and (simradius == "ssr") then |
247 | + | |
248 | - | tdelay(0, function() |
248 | + | |
249 | - | while c do |
249 | + | |
250 | - | ssr(simrad) |
250 | + | |
251 | - | heartbeat:Wait() |
251 | + | |
252 | - | end |
252 | + | |
253 | - | end) |
253 | + | |
254 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, -0.51999712, -0.360067368, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) | |
255 | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") | |
256 | - | if antiragdoll then |
256 | + | |
257 | - | antiragdoll = function(v) |
257 | + | |
258 | - | if isa(v, "HingeConstraint") or isa(v, "BallSocketConstraint") then |
258 | + | |
259 | - | v.Parent = nil |
259 | + | |
260 | - | end |
260 | + | |
261 | - | end |
261 | + | |
262 | - | for i, v in pairs(getdescendants(c)) do |
262 | + | |
263 | - | antiragdoll(v) |
263 | + | |
264 | - | end |
264 | + | |
265 | - | c.DescendantAdded:Connect(antiragdoll) |
265 | + | |
266 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.50504303, -0.130002022, -0.360067368, -1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, -1.48607702e-41, 1)) | |
267 | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") | |
268 | - | if antirespawn then |
268 | + | |
269 | - | respawnrequest() |
269 | + | |
270 | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"") | |
271 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Smoky grey",Enum.Material.Neon,0,0) | |
272 | - | if method == 0 then |
272 | + | |
273 | - | twait(loadtime) |
273 | + | |
274 | - | if not c then |
274 | + | |
275 | - | return |
275 | + | |
276 | - | end |
276 | + | |
277 | R1=parts(m,"R1",Vector3.new(0.200000003, 0.0799999982, 0.0799999982),"Mid gray",Enum.Material.Neon,0,0) | |
278 | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419994354, -0.0212125778, -0.162633896, -1, 0, 0, 0, 0.707106769, 0.707106829, 0, 0.707106769, -0.707106829)) | |
279 | - | if discharscripts then |
279 | + | |
280 | - | for i, v in pairs(getdescendants(c)) do |
280 | + | |
281 | - | if isa(v, "LocalScript") then |
281 | + | |
282 | - | v.Disabled = true |
282 | + | |
283 | - | end |
283 | + | |
284 | - | end |
284 | + | |
285 | - | elseif newanimate then |
285 | + | |
286 | - | local animate = gp(c, "Animate", "LocalScript") |
286 | + | |
287 | - | if animate and (not animate.Disabled) then |
287 | + | |
288 | - | animate.Disabled = true |
288 | + | |
289 | - | else |
289 | + | |
290 | - | newanimate = false |
290 | + | |
291 | - | end |
291 | + | |
292 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.200000003, 0.100000016),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
293 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.509992599, 0.96999836, 0, 1.48607702e-41, -1, 1, 0, 0, 0, -0.999999881, 1.48607702e-41)) | |
294 | - | if addtools then |
294 | + | |
295 | - | for i, v in pairs(getchildren(addtools)) do |
295 | + | |
296 | - | if isa(v, "Tool") then |
296 | + | |
297 | - | v.Parent = c |
297 | + | |
298 | - | end |
298 | + | |
299 | - | end |
299 | + | |
300 | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") | |
301 | R1=parts(m,"R1",Vector3.new(0.150000006, 0.200000003, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) | |
302 | - | pcall(function() |
302 | + | |
303 | - | settings().Physics.AllowSleep = false |
303 | + | |
304 | - | settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled |
304 | + | |
305 | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.896935225, -0.666307449, 0, 1.48607702e-41, -1, -0.280028909, 0.959991515, -1.42666197e-41, 0.959991634, 0.28002888, -4.16185644e-42)) | |
306 | meshs(R1,"Mesh",Vector3.new(0.200000003, 1, 1),Enum.MeshType.Wedge,"") | |
307 | - | local OLDscripts = {} |
307 | + | |
308 | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.909999132, -0.0272817612, 0.262638092, 0, 0.999999881, -1.48607702e-41, 0.707106829, -1.05083372e-41, 0.707106829, 0.707106829, 1.05083372e-41, -0.707106829)) | |
309 | - | for i, v in pairs(getdescendants(c)) do |
309 | + | |
310 | - | if v.ClassName == "Script" then |
310 | + | |
311 | - | OLDscripts[v.Name] = true |
311 | + | |
312 | - | end |
312 | + | |
313 | R1=parts(m,"R1",Vector3.new(0.150000006, 0.400000006, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) | |
314 | R1Weld=welds(R1,"R1Weld",RArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.239999771, -0.218418121, -1.05363274, 0, 1.48607702e-41, -1, -0.907014251, 0.42110002, -6.25819894e-42, 0.42110005, 0.907014132, -1.34790899e-41)) | |
315 | - | local scriptNames = {} |
315 | + | |
316 | R1=parts(m,"R1",Vector3.new(0.150000006, 0.400000006, 0.200000003),"Medium stone grey",Enum.Material.Neon,0,0) | |
317 | - | for i, v in pairs(getdescendants(c)) do |
317 | + | |
318 | - | if isa(v, "BasePart") then |
318 | + | |
319 | - | local newName, exists = tostring(i), true |
319 | + | |
320 | - | while exists do |
320 | + | |
321 | - | exists = OLDscripts[newName] |
321 | + | |
322 | - | if exists then |
322 | + | |
323 | - | newName = newName .. "_" |
323 | + | |
324 | - | end |
324 | + | |
325 | - | end |
325 | + | |
326 | - | table.insert(scriptNames, newName) |
326 | + | |
327 | - | Instance.new("Script", v).Name = newName |
327 | + | |
328 | - | end |
328 | + | |
329 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.249999523, -3.81469727e-06, 0, -1.48607702e-41, 1, 0, 0.999999881, -1.48607702e-41, -1, 0, 0)) | |
330 | meshs(R2,"Mesh",Vector3.new(1.01999998, 1, 1),Enum.MeshType.Wedge,"") | |
331 | - | local hum = c:FindFirstChildOfClass("Humanoid") |
331 | + | |
332 | - | if hum then |
332 | + | |
333 | - | for i, v in pairs(hum:GetPlayingAnimationTracks()) do |
333 | + | |
334 | - | v:Stop() |
334 | + | |
335 | - | end |
335 | + | |
336 | meshs(R2,"Mesh",Vector3.new(0.0599999987, 1, 1),Enum.MeshType.Wedge,"") | |
337 | - | c.Archivable = true |
337 | + | |
338 | - | local cl = clone(c) |
338 | + | |
339 | - | if hum and humState16 then |
339 | + | |
340 | - | hum:ChangeState(Enum.HumanoidStateType.Physics) |
340 | + | |
341 | - | if destroyhum then |
341 | + | |
342 | - | twait(1.6) |
342 | + | |
343 | - | end |
343 | + | |
344 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50504303, -0.0199980736, -0.36006546, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) | |
345 | - | if destroyhum then |
345 | + | |
346 | - | pcall(destroy, hum) |
346 | + | |
347 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, -0.400001049, 0.36000061, 1, 0, 0, 0, -0.999999881, 1.48607702e-41, 0, 1.48607702e-41, -1)) | |
348 | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
349 | - | if not c then |
349 | + | |
350 | - | return |
350 | + | |
351 | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
352 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
353 | - | local head, torso, root = gp(c, "Head", "BasePart"), gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart"), gp(c, "HumanoidRootPart", "BasePart") |
353 | + | |
354 | - | if hatcollide then |
354 | + | |
355 | - | pcall(destroy, torso) |
355 | + | |
356 | - | pcall(destroy, root) |
356 | + | |
357 | - | pcall(destroy, c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")) |
357 | + | |
358 | R2=parts(m,"R2",Vector3.new(0.200000003, 0.100000016, 0.100000001),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
359 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, 0.5, -0.13999939, -1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, 1.48607702e-41, -1)) | |
360 | - | local model = Instance.new("Model", c) |
360 | + | |
361 | - | model:GetPropertyChangedSignal("Parent"):Connect(function() |
361 | + | |
362 | - | if not (model and model.Parent) then |
362 | + | |
363 | - | model = nil |
363 | + | |
364 | - | end |
364 | + | |
365 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409999847, 0.599999905, -0.0599994659, 1, 0, 0, 0, 0.999999881, -1.48607702e-41, 0, -1.48607702e-41, 1)) | |
366 | meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
367 | - | for i, v in pairs(getchildren(c)) do |
367 | + | |
368 | - | if v ~= model then |
368 | + | |
369 | - | if addtools and isa(v, "Tool") then |
369 | + | |
370 | - | for i1, v1 in pairs(getdescendants(v)) do |
370 | + | |
371 | - | if v1 and v1.Parent and isa(v1, "BasePart") then |
371 | + | |
372 | - | local bv = Instance.new("BodyVelocity") |
372 | + | |
373 | - | bv.Velocity, bv.MaxForce, bv.P, bv.Name = v3_0, v3(1000, 1000, 1000), 1250, "bv_" .. v.Name |
373 | + | |
374 | - | bv.Parent = v1 |
374 | + | |
375 | - | end |
375 | + | |
376 | - | end |
376 | + | |
377 | - | end |
377 | + | |
378 | - | v.Parent = model |
378 | + | |
379 | - | end |
379 | + | |
380 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.25, -0.549999714, -0.40999794, -2.98023224e-08, 3.7033562e-08, 0.999999642, 4.63025478e-15, -0.999999642, 3.7033562e-08, 0.999999762, 1.08736457e-14, 2.98023153e-08)) | |
381 | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") | |
382 | - | if breakjoints then |
382 | + | |
383 | - | model:BreakJoints() |
383 | + | |
384 | meshs(R2,"Mesh",Vector3.new(1, 0.200000003, 1),Enum.MeshType.Brick,"") | |
385 | - | if head and torso then |
385 | + | |
386 | - | for i, v in pairs(getdescendants(model)) do |
386 | + | |
387 | - | if isa(v, "JointInstance") then |
387 | + | |
388 | - | local save = false |
388 | + | |
389 | - | if (v.Part0 == torso) and (v.Part1 == head) then |
389 | + | |
390 | - | save = true |
390 | + | |
391 | - | end |
391 | + | |
392 | - | if (v.Part0 == head) and (v.Part1 == torso) then |
392 | + | |
393 | - | save = true |
393 | + | |
394 | - | end |
394 | + | |
395 | - | if save then |
395 | + | |
396 | - | if hedafterneck then |
396 | + | |
397 | - | hedafterneck = v |
397 | + | |
398 | - | end |
398 | + | |
399 | - | else |
399 | + | |
400 | - | pcall(destroy, v) |
400 | + | |
401 | - | end |
401 | + | |
402 | - | end |
402 | + | |
403 | - | end |
403 | + | |
404 | - | end |
404 | + | |
405 | - | if method == 3 then |
405 | + | |
406 | - | task.delay(loadtime, pcall, model.BreakJoints, model) |
406 | + | |
407 | - | end |
407 | + | |
408 | meshs(R2,"Mesh",Vector3.new(1, 1, 1.01999998),Enum.MeshType.Brick,"") | |
409 | R2=parts(m,"R2",Vector3.new(0.0999999568, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
410 | - | cl.Parent = ws |
410 | + | |
411 | - | for i, v in pairs(getchildren(cl)) do |
411 | + | |
412 | - | v.Parent = c |
412 | + | |
413 | R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.201862335, -0.581261635, 0, -0.956305027, 0.292370975, -4.34542654e-42, 0.292371005, 0.956304908, -1.4211969e-41, 0, 1.48607702e-41, -1)) | |
414 | - | pcall(destroy, cl) |
414 | + | |
415 | R2=parts(m,"R2",Vector3.new(0.0999999717, 0.300000012, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0) | |
416 | - | local uncollide, noclipcon = nil, nil |
416 | + | |
417 | - | if noclipAllParts then |
417 | + | |
418 | - | uncollide = function() |
418 | + | |
419 | - | if c then |
419 | + | |
420 | - | for i, v in pairs(getdescendants(c)) do |
420 | + | |
421 | - | if isa(v, "BasePart") then |
421 | + | |
422 | - | v.CanCollide = false |
422 | + | |
423 | - | end |
423 | + | |
424 | - | end |
424 | + | |
425 | - | else |
425 | + | |
426 | - | noclipcon:Disconnect() |
426 | + | |
427 | - | end |
427 | + | |
428 | - | end |
428 | + | |
429 | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
430 | - | uncollide = function() |
430 | + | |
431 | - | if model then |
431 | + | |
432 | - | for i, v in pairs(getdescendants(model)) do |
432 | + | |
433 | - | if isa(v, "BasePart") then |
433 | + | |
434 | - | v.CanCollide = false |
434 | + | |
435 | - | end |
435 | + | |
436 | - | end |
436 | + | |
437 | - | else |
437 | + | |
438 | - | noclipcon:Disconnect() |
438 | + | |
439 | - | end |
439 | + | |
440 | - | end |
440 | + | |
441 | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
442 | - | noclipcon = stepped:Connect(uncollide) |
442 | + | |
443 | - | uncollide() |
443 | + | |
444 | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
445 | - | for i, scr in pairs(getdescendants(model)) do |
445 | + | |
446 | - | if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then |
446 | + | |
447 | - | local Part0 = scr.Parent |
447 | + | |
448 | - | if isa(Part0, "BasePart") then |
448 | + | |
449 | - | for i1, scr1 in pairs(getdescendants(c)) do |
449 | + | |
450 | - | if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then |
450 | + | |
451 | - | local Part1 = scr1.Parent |
451 | + | |
452 | - | if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then |
452 | + | |
453 | - | align(Part0, Part1) |
453 | + | |
454 | - | pcall(destroy, scr) |
454 | + | |
455 | - | pcall(destroy, scr1) |
455 | + | |
456 | - | break |
456 | + | |
457 | - | end |
457 | + | |
458 | - | end |
458 | + | |
459 | - | end |
459 | + | |
460 | - | end |
460 | + | |
461 | - | end |
461 | + | |
462 | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
463 | R2=parts(m,"R2",Vector3.new(0.199999958, 0.100000001, 1),"Medium stone grey",Enum.Material.Neon,0,0) | |
464 | - | for i, v in pairs(getdescendants(c)) do |
464 | + | |
465 | - | if v and v.Parent and (not v:IsDescendantOf(model)) then |
465 | + | |
466 | - | if isa(v, "Decal") then |
466 | + | |
467 | - | v.Transparency = 1 |
467 | + | |
468 | - | elseif isa(v, "BasePart") then |
468 | + | |
469 | - | v.Transparency = 1 |
469 | + | |
470 | - | v.Anchored = false |
470 | + | |
471 | - | elseif isa(v, "ForceField") then |
471 | + | |
472 | - | v.Visible = false |
472 | + | |
473 | - | elseif isa(v, "Sound") then |
473 | + | |
474 | - | v.Playing = false |
474 | + | |
475 | - | elseif isa(v, "BillboardGui") or isa(v, "SurfaceGui") or isa(v, "ParticleEmitter") or isa(v, "Fire") or isa(v, "Smoke") or isa(v, "Sparkles") then |
475 | + | |
476 | - | v.Enabled = false |
476 | + | |
477 | - | end |
477 | + | |
478 | - | end |
478 | + | |
479 | R3Weld=welds(R3,"R3Weld",RArm,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.489997864, 0.0707130432, 0.424267769, -1.00000036, 1.86264493e-09, -1.86264515e-09, 3.95812094e-09, 0.707107604, -0.707107306, 1.31709077e-09, -0.707107306, -0.707107604)) | |
480 | meshs(R3,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
481 | - | if newanimate then |
481 | + | |
482 | - | local animate = gp(c, "Animate", "LocalScript") |
482 | + | |
483 | - | if animate then |
483 | + | |
484 | - | animate.Disabled = false |
484 | + | |
485 | - | end |
485 | + | |
486 | ||
487 | R1=parts(m,"R1",Vector3.new(0.299999982, 1.50000024, 0.599999905),"Medium stone grey",Enum.Material.SmoothPlastic,0,0) | |
488 | - | if addtools then |
488 | + | |
489 | - | for i, v in pairs(getchildren(c)) do |
489 | + | |
490 | - | if isa(v, "Tool") then |
490 | + | |
491 | - | v.Parent = addtools |
491 | + | |
492 | - | end |
492 | + | |
493 | - | end |
493 | + | |
494 | R1Weld=welds(R1,"R1Weld",LArm,R1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00228977203, 0.55010891, -0.000789642334, -1, 2.72032397e-13, 0, -2.72032397e-13, 1, -2.99999992e-05, 8.16097137e-18, -2.99999992e-05, -1)) | |
495 | meshs(R1,"Mesh",Vector3.new(1.00999999, 1, 1.00999999),Enum.MeshType.Brick,"") | |
496 | - | local hum0, hum1 = model:FindFirstChildOfClass("Humanoid"), c:FindFirstChildOfClass("Humanoid") |
496 | + | |
497 | - | if hum0 then |
497 | + | |
498 | - | hum0:GetPropertyChangedSignal("Parent"):Connect(function() |
498 | + | |
499 | - | if not (hum0 and hum0.Parent) then |
499 | + | |
500 | - | hum0 = nil |
500 | + | |
501 | - | end |
501 | + | |
502 | - | end) |
502 | + | |
503 | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452292442, 0.176141739, -0.24700737, -1, 2.72032397e-13, 0, 1.92361738e-13, -0.707128048, -0.707085609, 1.92350191e-13, -0.707085609, 0.707128048)) | |
504 | - | if hum1 then |
504 | + | |
505 | - | hum1:GetPropertyChangedSignal("Parent"):Connect(function() |
505 | + | |
506 | - | if not (hum1 and hum1.Parent) then |
506 | + | |
507 | - | hum1 = nil |
507 | + | |
508 | - | end |
508 | + | |
509 | - | end) |
509 | + | |
510 | ||
511 | - | ws.CurrentCamera.CameraSubject = hum1 |
511 | + | |
512 | - | local camSubCon = nil |
512 | + | |
513 | - | local function camSubFunc() |
513 | + | |
514 | - | camSubCon:Disconnect() |
514 | + | |
515 | - | if c and hum1 then |
515 | + | |
516 | - | ws.CurrentCamera.CameraSubject = hum1 |
516 | + | |
517 | - | end |
517 | + | |
518 | - | end |
518 | + | |
519 | - | camSubCon = renderstepped:Connect(camSubFunc) |
519 | + | |
520 | - | if hum0 then |
520 | + | |
521 | - | hum0:GetPropertyChangedSignal("Jump"):Connect(function() |
521 | + | |
522 | - | if hum1 then |
522 | + | |
523 | - | hum1.Jump = hum0.Jump |
523 | + | |
524 | - | end |
524 | + | |
525 | - | end) |
525 | + | |
526 | - | else |
526 | + | |
527 | - | respawnrequest() |
527 | + | |
528 | - | end |
528 | + | |
529 | R2=parts(m,"R2",Vector3.new(0.300000012, 0.100000016, 0.600000024),"Institutional white",Enum.Material.SmoothPlastic,0,0) | |
530 | R2Weld=welds(R2,"R2Weld",Handle,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.38418579e-07, 1.1920929e-06, -1.43051147e-06, 1, -2.72032397e-13, 8.16097137e-18, -1.9236167e-13, 0.70710659, -0.707107067, -1.92350259e-13, 0.707107067, 0.70710659)) | |
531 | - | local rb = Instance.new("BindableEvent", c) |
531 | + | |
532 | - | rb.Event:Connect(function() |
532 | + | |
533 | - | pcall(destroy, rb) |
533 | + | |
534 | - | sg:SetCore("ResetButtonCallback", true) |
534 | + | |
535 | - | if destroyhum then |
535 | + | |
536 | - | if c then c:BreakJoints() end |
536 | + | |
537 | - | return |
537 | + | |
538 | - | end |
538 | + | |
539 | - | if model and hum0 and (hum0.Health > 0) then |
539 | + | |
540 | - | model:BreakJoints() |
540 | + | |
541 | - | hum0.Health = 0 |
541 | + | |
542 | - | end |
542 | + | |
543 | - | if antirespawn then |
543 | + | |
544 | - | respawnrequest() |
544 | + | |
545 | - | end |
545 | + | |
546 | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") | |
547 | - | sg:SetCore("ResetButtonCallback", rb) |
547 | + | |
548 | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462291956, 0.0257844031, -0.819885492, -1, 0, 0, 0, 2.99999992e-05, 1, 0, 1, -2.99999992e-05)) | |
549 | - | tdelay(0, function() |
549 | + | |
550 | - | while c do |
550 | + | |
551 | - | if hum0 and hum1 then |
551 | + | |
552 | - | hum1.Jump = hum0.Jump |
552 | + | |
553 | - | end |
553 | + | |
554 | - | wait() |
554 | + | |
555 | - | end |
555 | + | |
556 | - | sg:SetCore("ResetButtonCallback", true) |
556 | + | |
557 | R2Weld=welds(R2,"R2Weld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.462000012, 0.54091835, -0.596107483, -1, 0, 0, 0, -0.707085371, 0.707128346, 0, 0.707128346, 0.707085371)) | |
558 | meshs(R2,"Mesh",Vector3.new(1.07000005, 1, 0.100000001),Enum.MeshType.Brick,"") | |
559 | - | R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15) |
559 | + | |
560 | - | if R15toR6 then |
560 | + | |
561 | - | local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart") |
561 | + | |
562 | - | if part then |
562 | + | |
563 | - | local cfr = part.CFrame |
563 | + | |
564 | - | local R6parts = { |
564 | + | |
565 | - | head = { |
565 | + | |
566 | - | Name = "Head", |
566 | + | |
567 | - | Size = v3(2, 1, 1), |
567 | + | |
568 | - | R15 = { |
568 | + | |
569 | - | Head = 0 |
569 | + | |
570 | - | } |
570 | + | |
571 | - | }, |
571 | + | |
572 | - | torso = { |
572 | + | |
573 | - | Name = "Torso", |
573 | + | |
574 | - | Size = v3(2, 2, 1), |
574 | + | |
575 | - | R15 = { |
575 | + | |
576 | - | UpperTorso = 0.2, |
576 | + | |
577 | - | LowerTorso = -0.8 |
577 | + | |
578 | - | } |
578 | + | |
579 | - | }, |
579 | + | |
580 | - | root = { |
580 | + | |
581 | - | Name = "HumanoidRootPart", |
581 | + | |
582 | - | Size = v3(2, 2, 1), |
582 | + | |
583 | - | R15 = { |
583 | + | |
584 | - | HumanoidRootPart = 0 |
584 | + | |
585 | - | } |
585 | + | |
586 | - | }, |
586 | + | |
587 | - | leftArm = { |
587 | + | |
588 | - | Name = "Left Arm", |
588 | + | |
589 | - | Size = v3(1, 2, 1), |
589 | + | |
590 | - | R15 = { |
590 | + | |
591 | - | LeftHand = -0.849, |
591 | + | |
592 | - | LeftLowerArm = -0.174, |
592 | + | |
593 | - | LeftUpperArm = 0.415 |
593 | + | |
594 | - | } |
594 | + | |
595 | - | }, |
595 | + | |
596 | - | rightArm = { |
596 | + | |
597 | - | Name = "Right Arm", |
597 | + | |
598 | - | Size = v3(1, 2, 1), |
598 | + | |
599 | - | R15 = { |
599 | + | |
600 | - | RightHand = -0.849, |
600 | + | |
601 | - | RightLowerArm = -0.174, |
601 | + | |
602 | - | RightUpperArm = 0.415 |
602 | + | |
603 | - | } |
603 | + | |
604 | - | }, |
604 | + | |
605 | - | leftLeg = { |
605 | + | |
606 | - | Name = "Left Leg", |
606 | + | |
607 | - | Size = v3(1, 2, 1), |
607 | + | |
608 | - | R15 = { |
608 | + | |
609 | - | LeftFoot = -0.85, |
609 | + | |
610 | - | LeftLowerLeg = -0.29, |
610 | + | |
611 | - | LeftUpperLeg = 0.49 |
611 | + | |
612 | - | } |
612 | + | |
613 | - | }, |
613 | + | |
614 | - | rightLeg = { |
614 | + | |
615 | - | Name = "Right Leg", |
615 | + | |
616 | - | Size = v3(1, 2, 1), |
616 | + | |
617 | - | R15 = { |
617 | + | |
618 | - | RightFoot = -0.85, |
618 | + | |
619 | - | RightLowerLeg = -0.29, |
619 | + | |
620 | - | RightUpperLeg = 0.49 |
620 | + | |
621 | - | } |
621 | + | |
622 | - | } |
622 | + | |
623 | - | } |
623 | + | |
624 | - | for i, v in pairs(getchildren(c)) do |
624 | + | |
625 | - | if isa(v, "BasePart") then |
625 | + | |
626 | - | for i1, v1 in pairs(getchildren(v)) do |
626 | + | |
627 | - | if isa(v1, "Motor6D") then |
627 | + | |
628 | - | v1.Part0 = nil |
628 | + | |
629 | - | end |
629 | + | |
630 | - | end |
630 | + | |
631 | - | end |
631 | + | |
632 | - | end |
632 | + | |
633 | - | part.Archivable = true |
633 | + | |
634 | - | for i, v in pairs(R6parts) do |
634 | + | |
635 | - | local part = clone(part) |
635 | + | |
636 | - | part:ClearAllChildren() |
636 | + | |
637 | - | part.Name, part.Size, part.CFrame, part.Anchored, part.Transparency, part.CanCollide = v.Name, v.Size, cfr, false, 1, false |
637 | + | |
638 | - | for i1, v1 in pairs(v.R15) do |
638 | + | |
639 | - | local R15part = gp(c, i1, "BasePart") |
639 | + | |
640 | - | local att = gp(R15part, "att1_" .. i1, "Attachment") |
640 | + | |
641 | - | if R15part then |
641 | + | |
642 | - | local weld = Instance.new("Weld") |
642 | + | |
643 | - | weld.Part0, weld.Part1, weld.C0, weld.C1, weld.Name = part, R15part, cf(0, v1, 0), cf_0, "Weld_" .. i1 |
643 | + | |
644 | - | weld.Parent = R15part |
644 | + | |
645 | - | R15part.Massless, R15part.Name = true, "R15_" .. i1 |
645 | + | |
646 | - | R15part.Parent = part |
646 | + | |
647 | - | if att then |
647 | + | |
648 | - | att.Position = v3(0, v1, 0) |
648 | + | |
649 | - | att.Parent = part |
649 | + | |
650 | - | end |
650 | + | |
651 | - | end |
651 | + | |
652 | - | end |
652 | + | |
653 | - | part.Parent = c |
653 | + | |
654 | - | R6parts[i] = part |
654 | + | |
655 | - | end |
655 | + | |
656 | - | local R6joints = { |
656 | + | |
657 | - | neck = { |
657 | + | |
658 | - | Parent = R6parts.torso, |
658 | + | |
659 | - | Name = "Neck", |
659 | + | |
660 | - | Part0 = R6parts.torso, |
660 | + | |
661 | - | Part1 = R6parts.head, |
661 | + | |
662 | - | C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), |
662 | + | |
663 | - | C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
663 | + | |
664 | - | }, |
664 | + | |
665 | - | rootJoint = { |
665 | + | |
666 | - | Parent = R6parts.root, |
666 | + | |
667 | - | Name = "RootJoint" , |
667 | + | |
668 | - | Part0 = R6parts.root, |
668 | + | |
669 | - | Part1 = R6parts.torso, |
669 | + | |
670 | - | C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), |
670 | + | |
671 | - | C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) |
671 | + | |
672 | - | }, |
672 | + | |
673 | - | rightShoulder = { |
673 | + | |
674 | - | Parent = R6parts.torso, |
674 | + | |
675 | - | Name = "Right Shoulder", |
675 | + | |
676 | - | Part0 = R6parts.torso, |
676 | + | |
677 | - | Part1 = R6parts.rightArm, |
677 | + | |
678 | - | C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), |
678 | + | |
679 | - | C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
679 | + | |
680 | - | }, |
680 | + | |
681 | - | leftShoulder = { |
681 | + | |
682 | - | Parent = R6parts.torso, |
682 | + | |
683 | - | Name = "Left Shoulder", |
683 | + | |
684 | - | Part0 = R6parts.torso, |
684 | + | |
685 | - | Part1 = R6parts.leftArm, |
685 | + | |
686 | - | C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
686 | + | |
687 | - | C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
687 | + | |
688 | - | }, |
688 | + | |
689 | - | rightHip = { |
689 | + | |
690 | - | Parent = R6parts.torso, |
690 | + | |
691 | - | Name = "Right Hip", |
691 | + | |
692 | - | Part0 = R6parts.torso, |
692 | + | |
693 | - | Part1 = R6parts.rightLeg, |
693 | + | |
694 | - | C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), |
694 | + | |
695 | - | C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) |
695 | + | |
696 | - | }, |
696 | + | |
697 | - | leftHip = { |
697 | + | |
698 | - | Parent = R6parts.torso, |
698 | + | |
699 | - | Name = "Left Hip" , |
699 | + | |
700 | - | Part0 = R6parts.torso, |
700 | + | |
701 | - | Part1 = R6parts.leftLeg, |
701 | + | |
702 | - | C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
702 | + | |
703 | - | C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
703 | + | |
704 | - | } |
704 | + | |
705 | - | } |
705 | + | |
706 | - | for i, v in pairs(R6joints) do |
706 | + | |
707 | - | local joint = Instance.new("Motor6D") |
707 | + | |
708 | - | for prop, val in pairs(v) do |
708 | + | |
709 | - | joint[prop] = val |
709 | + | |
710 | - | end |
710 | + | |
711 | - | R6joints[i] = joint |
711 | + | |
712 | - | end |
712 | + | |
713 | - | if hum1 then |
713 | + | |
714 | - | hum1.RigType, hum1.HipHeight = Enum.HumanoidRigType.R6, 0 |
714 | + | |
715 | - | end |
715 | + | |
716 | - | end |
716 | + | |
717 | BackgroundColor3=Color3.new(0.223529, 0.807843, 0.458824), | |
718 | BorderColor3=Color3.new(0.560784, 1, 0.482353), | |
719 | - | local torso1 = torso |
719 | + | |
720 | - | torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart")) |
720 | + | |
721 | - | if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then |
721 | + | |
722 | - | local conNeck, conTorso, conTorso1 = nil, nil, nil |
722 | + | |
723 | - | local aligns = {} |
723 | + | |
724 | - | local function enableAligns() |
724 | + | |
725 | - | conNeck:Disconnect() |
725 | + | |
726 | - | conTorso:Disconnect() |
726 | + | |
727 | - | conTorso1:Disconnect() |
727 | + | |
728 | - | for i, v in pairs(aligns) do |
728 | + | |
729 | - | v.Enabled = true |
729 | + | |
730 | - | end |
730 | + | |
731 | - | end |
731 | + | |
732 | - | conNeck = hedafterneck.Changed:Connect(function(prop) |
732 | + | |
733 | - | if table.find({"Part0", "Part1", "Parent"}, prop) then |
733 | + | |
734 | - | enableAligns() |
734 | + | |
735 | - | end |
735 | + | |
736 | - | end) |
736 | + | |
737 | - | conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns) |
737 | + | |
738 | - | conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns) |
738 | + | |
739 | - | for i, v in pairs(getdescendants(head)) do |
739 | + | |
740 | - | if isa(v, "AlignPosition") or isa(v, "AlignOrientation") then |
740 | + | |
741 | - | i = tostring(i) |
741 | + | |
742 | - | aligns[i] = v |
742 | + | |
743 | - | v:GetPropertyChangedSignal("Parent"):Connect(function() |
743 | + | |
744 | - | aligns[i] = nil |
744 | + | |
745 | - | end) |
745 | + | |
746 | - | v.Enabled = false |
746 | + | |
747 | - | end |
747 | + | |
748 | - | end |
748 | + | |
749 | Name="Glace", | |
750 | Parent=Mode2, | |
751 | - | local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart") |
751 | + | |
752 | - | local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart") |
752 | + | |
753 | BorderColor3=Color3.new(90/255,190/255,246/255), | |
754 | - | local fling = function() end |
754 | + | |
755 | - | if flingpart0 and flingpart1 then |
755 | + | |
756 | - | flingpart0:GetPropertyChangedSignal("Parent"):Connect(function() |
756 | + | |
757 | - | if not (flingpart0 and flingpart0.Parent) then |
757 | + | |
758 | - | flingpart0 = nil |
758 | + | |
759 | - | fling = function() end |
759 | + | |
760 | - | end |
760 | + | |
761 | - | end) |
761 | + | |
762 | - | flingpart0.Archivable = true |
762 | + | |
763 | - | flingpart1:GetPropertyChangedSignal("Parent"):Connect(function() |
763 | + | |
764 | - | if not (flingpart1 and flingpart1.Parent) then |
764 | + | |
765 | - | flingpart1 = nil |
765 | + | |
766 | - | fling = function() end |
766 | + | |
767 | - | end |
767 | + | |
768 | - | end) |
768 | + | |
769 | - | local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment") |
769 | + | |
770 | - | local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment") |
770 | + | |
771 | - | if att0 and att1 then |
771 | + | |
772 | - | att0:GetPropertyChangedSignal("Parent"):Connect(function() |
772 | + | |
773 | - | if not (att0 and att0.Parent) then |
773 | + | |
774 | - | att0 = nil |
774 | + | |
775 | - | fling = function() end |
775 | + | |
776 | - | end |
776 | + | |
777 | - | end) |
777 | + | |
778 | - | att1:GetPropertyChangedSignal("Parent"):Connect(function() |
778 | + | |
779 | - | if not (att1 and att1.Parent) then |
779 | + | |
780 | - | att1 = nil |
780 | + | |
781 | - | fling = function() end |
781 | + | |
782 | - | end |
782 | + | |
783 | - | end) |
783 | + | |
784 | - | local lastfling = nil |
784 | + | |
785 | - | local mouse = lp:GetMouse() |
785 | + | |
786 | - | fling = function(target, duration, rotVelocity) |
786 | + | |
787 | - | if typeof(target) == "Instance" then |
787 | + | |
788 | - | if isa(target, "BasePart") then |
788 | + | |
789 | - | target = target.Position |
789 | + | |
790 | - | elseif isa(target, "Model") then |
790 | + | |
791 | - | target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart") |
791 | + | |
792 | - | if target then |
792 | + | |
793 | - | target = target.Position |
793 | + | |
794 | - | else |
794 | + | |
795 | - | return |
795 | + | |
796 | - | end |
796 | + | |
797 | - | elseif isa(target, "Humanoid") then |
797 | + | |
798 | - | target = target.Parent |
798 | + | |
799 | - | if not (target and isa(target, "Model")) then |
799 | + | |
800 | - | return |
800 | + | |
801 | - | end |
801 | + | |
802 | - | target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart") |
802 | + | |
803 | - | if target then |
803 | + | |
804 | - | target = target.Position |
804 | + | |
805 | - | else |
805 | + | |
806 | - | return |
806 | + | |
807 | - | end |
807 | + | |
808 | - | else |
808 | + | |
809 | - | return |
809 | + | |
810 | - | end |
810 | + | |
811 | - | elseif typeof(target) == "CFrame" then |
811 | + | |
812 | - | target = target.Position |
812 | + | |
813 | - | elseif typeof(target) ~= "Vector3" then |
813 | + | |
814 | - | target = mouse.Hit |
814 | + | |
815 | - | if target then |
815 | + | |
816 | - | target = target.Position |
816 | + | |
817 | - | else |
817 | + | |
818 | - | return |
818 | + | |
819 | - | end |
819 | + | |
820 | - | end |
820 | + | |
821 | - | if target.Y < ws.FallenPartsDestroyHeight + 5 then |
821 | + | |
822 | - | target = v3(target.X, ws.FallenPartsDestroyHeight + 5, target.Z) |
822 | + | |
823 | - | end |
823 | + | |
824 | - | lastfling = target |
824 | + | |
825 | - | if type(duration) ~= "number" then |
825 | + | |
826 | - | duration = tonumber(duration) or 0.5 |
826 | + | |
827 | - | end |
827 | + | |
828 | - | if typeof(rotVelocity) ~= "Vector3" then |
828 | + | |
829 | - | rotVelocity = v3(20000, 20000, 20000) |
829 | + | |
830 | - | end |
830 | + | |
831 | - | if not (target and flingpart0 and flingpart1 and att0 and att1) then |
831 | + | |
832 | - | return |
832 | + | |
833 | - | end |
833 | + | |
834 | - | flingpart0.Archivable = true |
834 | + | |
835 | - | local flingpart = clone(flingpart0) |
835 | + | |
836 | - | flingpart.Transparency = 1 |
836 | + | |
837 | - | flingpart.CanCollide = false |
837 | + | |
838 | - | flingpart.Name = "flingpart_" .. flingpart0.Name |
838 | + | |
839 | - | flingpart.Anchored = true |
839 | + | |
840 | - | flingpart.Velocity = v3_0 |
840 | + | |
841 | - | flingpart.RotVelocity = v3_0 |
841 | + | |
842 | - | flingpart.Position = target |
842 | + | |
843 | - | flingpart:GetPropertyChangedSignal("Parent"):Connect(function() |
843 | + | |
844 | - | if not (flingpart and flingpart.Parent) then |
844 | + | |
845 | - | flingpart = nil |
845 | + | |
846 | - | end |
846 | + | |
847 | - | end) |
847 | + | |
848 | - | flingpart.Parent = flingpart1 |
848 | + | |
849 | - | if flingpart0.Transparency > 0.5 then |
849 | + | |
850 | - | flingpart0.Transparency = 0.5 |
850 | + | |
851 | - | end |
851 | + | |
852 | - | att1.Parent = flingpart |
852 | + | |
853 | - | local con = nil |
853 | + | |
854 | - | local rotchg = v3(0, rotVelocity.Unit.Y * -1000, 0) |
854 | + | |
855 | - | con = heartbeat:Connect(function(delta) |
855 | + | |
856 | - | if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then |
856 | + | |
857 | - | flingpart.Orientation += rotchg * delta |
857 | + | |
858 | - | flingpart0.RotVelocity = rotVelocity |
858 | + | |
859 | - | else |
859 | + | |
860 | - | con:Disconnect() |
860 | + | |
861 | - | end |
861 | + | |
862 | - | end) |
862 | + | |
863 | - | if alignmode ~= 4 then |
863 | + | |
864 | - | local con = nil |
864 | + | |
865 | - | con = renderstepped:Connect(function() |
865 | + | |
866 | - | if flingpart0 and target then |
866 | + | |
867 | - | flingpart0.RotVelocity = v3_0 |
867 | + | |
868 | - | else |
868 | + | |
869 | - | con:Disconnect() |
869 | + | |
870 | - | end |
870 | + | |
871 | - | end) |
871 | + | |
872 | - | end |
872 | + | |
873 | - | twait(duration) |
873 | + | |
874 | - | if lastfling ~= target then |
874 | + | |
875 | - | if flingpart then |
875 | + | |
876 | - | if att1 and (att1.Parent == flingpart) then |
876 | + | |
877 | - | att1.Parent = flingpart1 |
877 | + | |
878 | - | end |
878 | + | |
879 | - | pcall(destroy, flingpart) |
879 | + | |
880 | - | end |
880 | + | |
881 | - | return |
881 | + | |
882 | - | end |
882 | + | |
883 | - | target = nil |
883 | + | |
884 | - | if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then |
884 | + | |
885 | - | return |
885 | + | |
886 | - | end |
886 | + | |
887 | - | flingpart0.RotVelocity = v3_0 |
887 | + | |
888 | - | att1.Parent = flingpart1 |
888 | + | |
889 | - | pcall(destroy, flingpart) |
889 | + | |
890 | - | end |
890 | + | |
891 | - | end |
891 | + | |
892 | BorderSizePixel=18, | |
893 | Position=UDim2.new(0.860000014, 0, 0.860000014, 0), | |
894 | - | lp:GetMouse().Button1Down:Connect(fling) --click fling |
894 | + | |
895 | Size=UDim2.new(0, 75, 0, 50), | |
896 | - | lol = getcustomasset or getsynasset |
896 | + | |
897 | - | getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end |
897 | + | |
898 | - | wait(.2) |
898 | + | |
899 | - | rainParts={} |
899 | + | |
900 | Parent=Roll, | |
901 | AnchorPoint=Vector2.new(0.5, 0.5), | |
902 | BackgroundColor3=Color3.new(1, 1, 1), | |
903 | BorderSizePixel=18, | |
904 | Position=UDim2.new(0.140000001, 0, 0.860000014, 0), | |
905 | Rotation=-45, | |
906 | Size=UDim2.new(0, 75, 0, 50), | |
907 | ZIndex=2} | |
908 | ||
909 | local Vis_7=create("Frame"){ | |
910 | Name="Vis", | |
911 | Parent=Roll, | |
912 | AnchorPoint=Vector2.new(0.5, 0.5), | |
913 | BackgroundColor3=Color3.new(1, 1, 1), | |
914 | BorderSizePixel=18, | |
915 | Position=UDim2.new(0.140000001, 0, 0.140000001, 0), | |
916 | Rotation=45, | |
917 | Size=UDim2.new(0, 75, 0, 50), | |
918 | ZIndex=2} | |
919 | ||
920 | local Vis_8=create("Frame"){ | |
921 | Name="Vis", | |
922 | Parent=Roll, | |
923 | AnchorPoint=Vector2.new(0.5, 0.5), | |
924 | BackgroundColor3=Color3.new(1, 1, 1), | |
925 | BorderSizePixel=18, | |
926 | Position=UDim2.new(0, 0, 0.5, 0), | |
927 | Size=UDim2.new(0, 75, 0, 50), | |
928 | ZIndex=2} | |
929 | ||
930 | local Vis_9=create("Frame"){ | |
931 | Name="Vis", | |
932 | Parent=Roll, | |
933 | AnchorPoint=Vector2.new(0.5, 0.5), | |
934 | BackgroundColor3=Color3.new(1, 1, 1), | |
935 | BorderSizePixel=18, | |
936 | Position=UDim2.new(1, 0, 0.5, 0), | |
937 | Size=UDim2.new(0, 75, 0, 50), | |
938 | ZIndex=2} | |
939 | ||
940 | local Vis_10=create("Frame"){ | |
941 | Name="Vis", | |
942 | Parent=Roll, | |
943 | AnchorPoint=Vector2.new(0.5, 0.5), | |
944 | BackgroundColor3=Color3.new(1, 1, 1), | |
945 | BorderSizePixel=18, | |
946 | Position=UDim2.new(0.5, 0, 0, 0), | |
947 | Rotation=90, | |
948 | Size=UDim2.new(0, 75, 0, 50), | |
949 | ZIndex=2} | |
950 | ||
951 | local Vis_11=create("Frame"){ | |
952 | Name="Vis", | |
953 | Parent=Roll, | |
954 | AnchorPoint=Vector2.new(0.5, 0.5), | |
955 | BackgroundColor3=Color3.new(1, 1, 1), | |
956 | BorderSizePixel=18, | |
957 | Position=UDim2.new(0.5, 0, 1, 0), | |
958 | Rotation=90, | |
959 | Size=UDim2.new(0, 75, 0, 50), | |
960 | ZIndex=2} | |
961 | ||
962 | local ImageLabel_2=create("ImageLabel"){ | |
963 | Parent=Mode, | |
964 | AnchorPoint=Vector2.new(0.5, 0.5), | |
965 | BackgroundColor3=Color3.new(0, 0, 0), | |
966 | BackgroundTransparency=1, | |
967 | BorderColor3=Color3.new(1, 1, 1), | |
968 | Position=UDim2.new(0.5, 0, 0.5, 0), | |
969 | Rotation=45, | |
970 | Size=UDim2.new(0.140000003, 0, 0.140000003, 0), | |
971 | ZIndex=3, | |
972 | Image="rbxassetid://730778073", | |
973 | ImageColor3=Color3.new(0, 0, 0)} | |
974 | ||
975 | local Screen=create("Frame"){ | |
976 | Name="Screen", | |
977 | Parent=Ruin, | |
978 | AnchorPoint=Vector2.new(0.5, 0.5), | |
979 | BackgroundColor3=Color3.new(1, 1, 1), | |
980 | BackgroundTransparency=1, | |
981 | Position=UDim2.new(.5, 0, .5, 0), | |
982 | Size=UDim2.new(1,0, 1,0)} | |
983 | ||
984 | lalsdl=.8 | |
985 | for i=1,8 do | |
986 | local faf=create("Frame"){ | |
987 | Name="Bar"..i, | |
988 | Parent=Screen, | |
989 | AnchorPoint=Vector2.new(0, 0.5), | |
990 | BackgroundColor3=Color3.new(0,0,0), | |
991 | BackgroundTransparency=.3, | |
992 | Position=UDim2.new(0.915, 0, lalsdl, 0), | |
993 | Rotation=180, | |
994 | Size=UDim2.new(0, 0, 0, 10), | |
995 | ZIndex=1, | |
996 | BorderSizePixel=0} | |
997 | lalsdl=lalsdl+.03 | |
998 | end | |
999 | ||
1000 | local rain=Color3.new() | |
1001 | sincolor=function(sine) | |
1002 | sine=math.deg(sine) | |
1003 | local radcolor=function(col) | |
1004 | return math.rad(col/255*360) | |
1005 | end | |
1006 | local r=math.abs(math.sin(radcolor(sine + 10))) | |
1007 | local g=math.abs(math.sin(radcolor(sine + 85))) | |
1008 | local b=math.abs(math.sin(radcolor(sine + 170))) | |
1009 | return Color3.new(r, g, b) | |
1010 | end | |
1011 | ||
1012 | local rain2=Color3.new() | |
1013 | sincolor2=function(sine2) | |
1014 | sine2=math.deg(sine2) | |
1015 | local radcolor=function(col) | |
1016 | return math.rad(col/255*360) | |
1017 | end | |
1018 | local r=math.abs(math.sin(radcolor(sine2 + 25))) | |
1019 | local g=math.abs(math.sin(radcolor(sine2 + 100))) | |
1020 | local b=math.abs(math.sin(radcolor(sine2 + 185))) | |
1021 | return Color3.new(r, g, b) | |
1022 | end | |
1023 | ||
1024 | HitSound={ | |
1025 | "199149137", | |
1026 | "199149186", | |
1027 | "199149221", | |
1028 | "199149235", | |
1029 | "199149269", | |
1030 | "199149297", | |
1031 | } | |
1032 | ||
1033 | function FindNearestTorso(pos,distance) | |
1034 | local list=(workspace:children()) | |
1035 | local torso=nil | |
1036 | local dist=distance | |
1037 | local temp,human,temp2=nil,nil,nil | |
1038 | for x=1,#list do | |
1039 | temp2=list[x] | |
1040 | if temp2.className=="Model"and temp2.Name~=chr.Name then | |
1041 | temp=temp2:findFirstChild("Torso") | |
1042 | human=temp2:findFirstChildOfClass("Humanoid") | |
1043 | if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then | |
1044 | local dohit=true | |
1045 | if dohit==true then | |
1046 | torso=temp | |
1047 | dist=(temp.Position-pos).magnitude | |
1048 | end | |
1049 | end | |
1050 | end | |
1051 | end | |
1052 | return torso,dist | |
1053 | end | |
1054 | ||
1055 | function Damage(Type,Partzz,hit,dmg,delayz,hs,hv,hp) | |
1056 | if hit.Parent==nil then | |
1057 | return | |
1058 | end | |
1059 | local h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
1060 | for _,v in pairs(hit.Parent:children()) do | |
1061 | if v:IsA("Humanoid")then | |
1062 | h=v | |
1063 | end | |
1064 | end | |
1065 | if h~=nil and hit.Parent.Name~=chr.Name then | |
1066 | if hit.Parent:findFirstChild("AHit")==nil then | |
1067 | local c=create("BoolValue"){ | |
1068 | Name="AHit", | |
1069 | Value=true, | |
1070 | Parent=hit.Parent} | |
1071 | game:GetService("Debris"):AddItem(c,delayz) | |
1072 | if choice~=9 then | |
1073 | h.Health=h.Health | |
1074 | else | |
1075 | ||
1076 | end | |
1077 | if h.Health==math.huge then | |
1078 | elseif h.Health>=10000 then | |
1079 | h.MaxHealth=100 | |
1080 | h.Health=100 | |
1081 | end | |
1082 | if hs~=""and hit.Parent.Head.Parent~=nil then | |
1083 | sounds(hit.Parent.Head,hs,hv,hp) | |
1084 | end | |
1085 | local ref=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) | |
1086 | ref.Anchored=true | |
1087 | ref.CFrame=CFrame.new(hit.Position+Vector3.new(math.random(-250,250)/100,math.random(-100,100)/100,math.random(-250,250)/100)) | |
1088 | damagegui(ref,dmg) | |
1089 | if Type=="Disappear"then | |
1090 | Partzz.Parent=nil | |
1091 | ||
1092 | ||
1093 | elseif Type=="None"then | |
1094 | ||
1095 | elseif Type=="Wind"then | |
1096 | local angle=(hit.Position-(Partzz.Position + Vector3.new(0, 0, 0))).unit | |
1097 | hit.Parent.Torso.Velocity=(angle*-25) | |
1098 | elseif Type=="Push" then | |
1099 | hit.Parent.Torso.Velocity=(Root.CFrame.lookVector*80)+(Root.CFrame.upVector*80) | |
1100 | elseif Type=="Push2" then | |
1101 | hit.Parent.Torso.Velocity=(Root.CFrame.lookVector*80)+(-Root.CFrame.upVector*80) | |
1102 | end | |
1103 | end | |
1104 | end | |
1105 | end | |
1106 | ||
1107 | function Mdamage(Type,Partzz,Magn,Dmg,delayz,hs,hv,hp) | |
1108 | for _,c in pairs(workspace:children()) do | |
1109 | local hum=c:findFirstChildOfClass("Humanoid") | |
1110 | if hum~=nil then | |
1111 | local ddee=c:findFirstChild("Head") | |
1112 | if ddee~=nil then | |
1113 | local targ=ddee.Position-Partzz.Position | |
1114 | local mag=targ.magnitude | |
1115 | if mag<=Magn and c.Name~=plr.Name then | |
1116 | Damage(Type,Partzz,ddee,Dmg,delayz,hs,hv,hp) | |
1117 | if hum.Health==math.huge then | |
1118 | ||
1119 | end | |
1120 | end | |
1121 | end | |
1122 | end | |
1123 | end | |
1124 | end | |
1125 | ||
1126 | function damagegui(parz,text) | |
1127 | local damag=create("BillboardGui"){ | |
1128 | Size=UDim2.new(5, 0, 15, 0), | |
1129 | Adornee=parz, | |
1130 | Parent=parz, | |
1131 | ExtentsOffset=Vector3.new(0, 3, 0), | |
1132 | AlwaysOnTop=true | |
1133 | } | |
1134 | local damagLabel=create("TextLabel"){ | |
1135 | AnchorPoint=Vector2.new(.5,.5), | |
1136 | BackgroundTransparency=1, | |
1137 | TextStrokeTransparency=0, | |
1138 | TextTransparency=0, | |
1139 | Position=UDim2.new(.5, 0, .5, 0), | |
1140 | Size=UDim2.new(1.5, 0, .5, 0), | |
1141 | Text=text, | |
1142 | Font="Arcade", | |
1143 | TextScaled=true, | |
1144 | Parent=damag, | |
1145 | TextColor3=BrickColor.new(col[1]).Color, | |
1146 | TextStrokeColor3=BrickColor.new(col[2]).Color | |
1147 | } | |
1148 | if rainb==true then | |
1149 | damagLabel.TextColor3=rain | |
1150 | damagLabel.TextStrokeColor3=rain2 | |
1151 | end | |
1152 | local raise=.2 | |
1153 | local rot=math.random(-10,10)/15 | |
1154 | game:GetService("Debris"):AddItem(par,4) | |
1155 | coroutine.resume(coroutine.create(function() | |
1156 | for i=0,1.1,.02 do | |
1157 | swait() | |
1158 | raise=raise-.008 | |
1159 | if choice~=9 then | |
1160 | damagLabel.Text=text | |
1161 | else | |
1162 | damagLabel.TextColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1163 | damagLabel.TextStrokeColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1164 | damagLabel.Text=math.random(6,666666)/math.random(math.random(6,66)) | |
1165 | end | |
1166 | damagLabel.TextTransparency=i | |
1167 | damagLabel.TextStrokeTransparency=i | |
1168 | damagLabel.Rotation=damagLabel.Rotation+rot | |
1169 | parz.Position=parz.Position+Vector3.new(0,raise,0) | |
1170 | end | |
1171 | parz:Remove() | |
1172 | end)) | |
1173 | end | |
1174 | ||
1175 | function Effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id,min,max,qu) | |
1176 | local ex=create("Part"){ | |
1177 | Size=Vector3.new(.2,.2,.2), | |
1178 | BrickColor=BrickColor.new(color), | |
1179 | CanCollide=false, | |
1180 | Material="Neon", | |
1181 | Anchored=true, | |
1182 | CFrame=CF, | |
1183 | Parent=par} | |
1184 | if choice==8 then | |
1185 | ex.Color=rain | |
1186 | end | |
1187 | NoOutline(ex) | |
1188 | local exe=create("SpecialMesh"){ | |
1189 | Scale=Vector3.new(x,y,z), | |
1190 | MeshType=mtyp, | |
1191 | Parent=ex} | |
1192 | if mtyp=="FileMesh"and id~=""then | |
1193 | exe.MeshId="rbxassetid://"..id | |
1194 | end | |
1195 | game:GetService("Debris"):AddItem(ex,10) | |
1196 | local ez=ex.CFrame | |
1197 | local nu=0 | |
1198 | local no=math.random()-math.random() | |
1199 | coroutine.resume(coroutine.create(function() | |
1200 | for i=0,1.01,de do | |
1201 | swait() | |
1202 | if choice==8 then | |
1203 | ex.Color=rain | |
1204 | end | |
1205 | if typ~=5 then | |
1206 | ex.Transparency=i | |
1207 | end | |
1208 | if choice==9 then | |
1209 | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1210 | end | |
1211 | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) | |
1212 | if typ==1 then | |
1213 | ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1214 | elseif typ==2 then | |
1215 | ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0) | |
1216 | elseif typ==3 then | |
1217 | ex.CFrame=ex.CFrame*CFrame.new(0,0,rad) | |
1218 | elseif typ==4 then | |
1219 | nu=nu+no | |
1220 | ez=ez*CFrame.new(0,math.random(min,max)/qu,0) | |
1221 | ex.CFrame=ez*CFrame.Angles(nu,0,0) | |
1222 | elseif typ==7 then | |
1223 | ex.CFrame=CFrame.new(ex.Position+Vector3.new(0,rad,0))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1224 | end | |
1225 | end | |
1226 | ex:Remove() | |
1227 | end)) | |
1228 | end | |
1229 | ||
1230 | function REffect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id) | |
1231 | local ex=create("Part"){ | |
1232 | Size=Vector3.new(.2,.2,.2), | |
1233 | BrickColor=BrickColor.new(color), | |
1234 | CanCollide=false, | |
1235 | Material="Neon", | |
1236 | Anchored=true, | |
1237 | CFrame=CF, | |
1238 | Transparency=1, | |
1239 | Parent=par} | |
1240 | if choice==8 then | |
1241 | ex.Color=rain | |
1242 | end | |
1243 | NoOutline(ex) | |
1244 | local exe=create("SpecialMesh"){ | |
1245 | Scale=Vector3.new(x,y,z), | |
1246 | MeshType=mtyp, | |
1247 | Parent=ex} | |
1248 | if mtyp=="FileMesh"and id~=""then | |
1249 | exe.MeshId="rbxassetid://"..id | |
1250 | end | |
1251 | game:GetService("Debris"):AddItem(ex,10) | |
1252 | local ez=ex.CFrame | |
1253 | local nu=0 | |
1254 | local no=math.random()-math.random() | |
1255 | coroutine.resume(coroutine.create(function() | |
1256 | for i=1,-.01,-de do | |
1257 | swait() | |
1258 | if choice==8 then | |
1259 | ex.Color=rain | |
1260 | end | |
1261 | if typ~=5 then | |
1262 | ex.Transparency=i | |
1263 | end | |
1264 | if choice==9 then | |
1265 | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1266 | end | |
1267 | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) | |
1268 | if typ==1 then | |
1269 | ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1270 | elseif typ==2 then | |
1271 | ex.CFrame=ex.CFrame*CFrame.Angles(0,math.rad(rad),0) | |
1272 | elseif typ==3 then | |
1273 | ex.CFrame=ex.CFrame*CFrame.new(0,0,rad) | |
1274 | elseif typ==4 then | |
1275 | nu=nu+no | |
1276 | ez=ez*CFrame.new(0,rad,0) | |
1277 | ex.CFrame=ez*CFrame.Angles(nu,0,0) | |
1278 | end | |
1279 | end | |
1280 | ex:Remove() | |
1281 | end)) | |
1282 | end | |
1283 | ||
1284 | function LockEffect(par,color,CF,locke,x,y,z,x1,y1,z1,de,mtyp,typ,rad,id) | |
1285 | local ex=create("Part"){ | |
1286 | Size=Vector3.new(.2,.2,.2), | |
1287 | BrickColor=BrickColor.new(color), | |
1288 | CanCollide=false, | |
1289 | Material="Neon", | |
1290 | Anchored=true, | |
1291 | CFrame=CF, | |
1292 | Parent=par} | |
1293 | if choice==8 then | |
1294 | ex.Color=rain | |
1295 | end | |
1296 | NoOutline(ex) | |
1297 | local exe=create("SpecialMesh"){ | |
1298 | Scale=Vector3.new(x,y,z), | |
1299 | MeshType=mtyp, | |
1300 | Parent=ex} | |
1301 | if mtyp=="FileMesh"and id~=""then | |
1302 | exe.MeshId="rbxassetid://"..id | |
1303 | end | |
1304 | game:GetService("Debris"):AddItem(ex,10) | |
1305 | local ez=ex.CFrame | |
1306 | local nu=0 | |
1307 | local no=math.random()-math.random() | |
1308 | coroutine.resume(coroutine.create(function() | |
1309 | for i=0,1.01,de do | |
1310 | swait() | |
1311 | if choice==8 then | |
1312 | ex.Color=rain | |
1313 | end | |
1314 | if typ~=5 then | |
1315 | ex.Transparency=i | |
1316 | end | |
1317 | if choice==9 then | |
1318 | ex.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1319 | end | |
1320 | exe.Scale=exe.Scale+Vector3.new(x1,y1,z1) | |
1321 | if typ==1 then | |
1322 | ex.CFrame=locke.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
1323 | elseif typ==2 then | |
1324 | ex.CFrame=locke.CFrame*CFrame.Angles(0,math.rad(rad),0) | |
1325 | elseif typ==3 then | |
1326 | ex.CFrame=locke.CFrame*CFrame.new(0,0,rad) | |
1327 | elseif typ==4 then | |
1328 | nu=nu+no | |
1329 | locke=locke*CFrame.new(0,rad,0) | |
1330 | ex.CFrame=locke*CFrame.Angles(nu,0,0) | |
1331 | else | |
1332 | ex.CFrame=locke.CFrame | |
1333 | end | |
1334 | end | |
1335 | ex:Remove() | |
1336 | end)) | |
1337 | end | |
1338 | ||
1339 | function Lightning(par,pos0, pos1, howmany, offset, color, thick, transp, de) | |
1340 | local magz=(pos0 - pos1).magnitude | |
1341 | local curpos=pos0 | |
1342 | local trz={ | |
1343 | -offset, | |
1344 | offset | |
1345 | } | |
1346 | for i=1, howmany do | |
1347 | local li=create("Part"){ | |
1348 | Size=Vector3.new(thick,thick,magz/howmany), | |
1349 | BrickColor=BrickColor.new(color), | |
1350 | CanCollide=false, | |
1351 | Material="Neon", | |
1352 | Anchored=true, | |
1353 | Parent=par} | |
1354 | if choice==8 then | |
1355 | li.Color=rain | |
1356 | end | |
1357 | NoOutline(li) | |
1358 | local ofz=Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1359 | local trolpos=CFrame.new(curpos, pos1) * CFrame.new(0, 0, magz / howmany).p + ofz | |
1360 | li.Material="Neon" | |
1361 | if howmany == i then | |
1362 | local magz2=(curpos - pos1).magnitude | |
1363 | li.Size=Vector3.new(thick, thick, magz2) | |
1364 | li.CFrame=CFrame.new(curpos, pos1) * CFrame.new(0, 0, -magz2 / 2) | |
1365 | coroutine.resume(coroutine.create(function() | |
1366 | for i=0,1.01,de do | |
1367 | swait() | |
1368 | if choice==8 then | |
1369 | li.Color=rain | |
1370 | end | |
1371 | li.Transparency=i | |
1372 | end | |
1373 | if li.Parent~=nil then | |
1374 | li:Remove() | |
1375 | end | |
1376 | end)) | |
1377 | else | |
1378 | do | |
1379 | do | |
1380 | li.CFrame=CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / howmany / 2) | |
1381 | curpos=li.CFrame * CFrame.new(0, 0, magz / howmany / 2).p | |
1382 | game.Debris:AddItem(li, 10) | |
1383 | coroutine.resume(coroutine.create(function() | |
1384 | for i=0,1.01,de do | |
1385 | swait() | |
1386 | if choice==8 then | |
1387 | li.Color=rain | |
1388 | end | |
1389 | li.Transparency=i | |
1390 | end | |
1391 | if li.Parent~=nil then | |
1392 | li:Remove() | |
1393 | end | |
1394 | end)) | |
1395 | end | |
1396 | end | |
1397 | end | |
1398 | end | |
1399 | end | |
1400 | ||
1401 | --v other | |
1402 | function CameraShake(Intensity,par,mag,del) | |
1403 | local magz=(par.Position-Root.Position).magnitude | |
1404 | if magz<=mag then | |
1405 | coroutine.resume(coroutine.create(function() | |
1406 | local Focus=(workspace.CurrentCamera.CoordinateFrame.p-workspace.CurrentCamera.Focus.p).magnitude | |
1407 | Focus=100/Intensity+Focus/150 | |
1408 | for i=math.random(150, 250)/100, 0, -del do | |
1409 | hum.CameraOffset=Vector3.new(math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus), math.random(-30, 30)/20*(i*Focus)) | |
1410 | swait() | |
1411 | end | |
1412 | hum.CameraOffset=Vector3.new(0, 0, 0) | |
1413 | end)) | |
1414 | end | |
1415 | end | |
1416 | ||
1417 | function LASER() | |
1418 | local s=create("Model"){ | |
1419 | Parent=chr, | |
1420 | Name="asc"} | |
1421 | local asdfz=parts(s,"asdfz",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) | |
1422 | asdfz.CFrame=Root.CFrame | |
1423 | local asdf2=parts(s,"asdf2",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) | |
1424 | local asdf2Weld=welds(asdf2,"asdf2Weld",asdfz,asdf2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1425 | local asdf=parts(s,"asdf",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) | |
1426 | local asdfWeld=welds(asdf,"asdfWeld",asdf2,asdf,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1427 | asdf.CFrame=Root.CFrame | |
1428 | asdf2.CFrame=Root.CFrame | |
1429 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1430 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999443, 0, 3.24249268e-05, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) | |
1431 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1432 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1433 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000549, -7.20024109e-05, -2.47955322e-05, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) | |
1434 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1435 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1436 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.8999863, -7.20024109e-05, -7.62939453e-05, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) | |
1437 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1438 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1439 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999786, 0, -1.52587891e-05, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)) | |
1440 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1441 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1442 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.8999939, -7.20024109e-05, -7.62939453e-05, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)) | |
1443 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1444 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1445 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999481, 0, 4.57763672e-05, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)) | |
1446 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1447 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1448 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000397, -7.20024109e-05, -1.52587891e-05, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)) | |
1449 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1450 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1451 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999481, 0, 6.48498535e-05, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0)) | |
1452 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1453 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1454 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.899971, 0, -1.14440918e-05, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) | |
1455 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1456 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1457 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000435, -7.20024109e-05, -3.81469727e-06, 0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, 0.500000238, 0)) | |
1458 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1459 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1460 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.9000015, -7.20024109e-05, -7.62939453e-05, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) | |
1461 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1462 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1463 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999958, 0, -2.28881836e-05, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) | |
1464 | meshs(Part,"Mesh",Vector3.new(10, 1, 18.3999996),Enum.MeshType.Brick,"") | |
1465 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1466 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-07, 7.50000381, 1.6000042, 0, 0, 1, 1, 0, 0, 0, 1, 0)) | |
1467 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1468 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1469 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-07, 7.50003433, 1.60000706, 0, 0, -1, 1, 0, 0, 0, -1, 0)) | |
1470 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1471 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1472 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.2999802, 1.6000061, 0, 0, -1, -1, 0, 0, 0, 1, 0)) | |
1473 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1474 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1475 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.3500252, 1.59999561, 0, 0, 1, -1, 0, 0, 0, -1, 0)) | |
1476 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1477 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1478 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-07, 7.7000351, 1.60000706, -0, -0, 1, -1, 0, 0, 0, -1, 0)) | |
1479 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1480 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1481 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-07, 7.70000458, 1.6000042, 0, 0, -1, -1, 0, 0, 0, 1, 0)) | |
1482 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1483 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1484 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4999771, 1.6000061, -0, -0, 1, 1, 0, 0, 0, 1, 0)) | |
1485 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1486 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1487 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.5500259, 1.59999561, 0, 0, -1, 1, 0, 0, 0, -1, 0)) | |
1488 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1489 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1490 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.399971, 1.50000763, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
1491 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1492 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1493 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60000134, 1.50000763, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1494 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1495 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999914, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1496 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60000134, 1.50000763, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
1497 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1498 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1499 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4500275, 1.69998932, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1500 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1501 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1502 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60002995, 1.70001221, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
1503 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1504 | local Part=parts(s,"Part",Vector3.new(0.200000003, 5.39999866, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1505 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 7.60003948, 1.70001984, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1506 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1507 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.300005, 3.19999981),"Daisy orange",Enum.Material.Neon,0,0) | |
1508 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.4500198, 1.69998932, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
1509 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1510 | local Part=parts(s,"Part",Vector3.new(0.200000003, 14.2000036, 3.19999909),"Daisy orange",Enum.Material.Neon,0,0) | |
1511 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -17.3999748, 1.50000763, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
1512 | meshs(Part,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
1513 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1514 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.8999443, 0, -1.19997025, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) | |
1515 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1516 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1517 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.899971, 0, 1.1999855, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) | |
1518 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1519 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1520 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.073143, 0, -1.29996872, 0.866025388, -0.500000238, 0, 0, 0, -1, 0.500000238, 0.866025388, 0)) | |
1521 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1522 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1523 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.0731659, 0, 1.29998398, 0.866025388, 0.500000238, 0, 0, 0, -1, -0.500000238, 0.866025388, 0)) | |
1524 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1525 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1526 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-12.936552, 0, -1.33655548, -0.500000238, -0.866025388, -0, 0, 0, -1, 0.866025388, -0.500000238, 0)) | |
1527 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1528 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1529 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-13.0365486, 0, 1.16339874, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) | |
1530 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1531 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1532 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(12.936552, 0, -1.33655548, 0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, 0.500000238, 0)) | |
1533 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1534 | local Part=parts(s,"Part",Vector3.new(0.200000003, 0.300000012, 0.200000003),"Daisy orange",Enum.Material.Neon,0,0) | |
1535 | local PartWeld=welds(Part,"PartWeld",asdf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(13.0365715, 0, 1.16339493, -0.500000238, -0.866025388, -0, 0, 0, -1, 0.866025388, -0.500000238, 0)) | |
1536 | meshs(Part,"Mesh",Vector3.new(25, 1, 8),Enum.MeshType.Brick,"") | |
1537 | s.PrimaryPart=asdfz | |
1538 | asdfz.Anchored=true | |
1539 | asdfz.CFrame=Root.CFrame | |
1540 | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) | |
1541 | local hec=0 | |
1542 | LockEffect(e,col[1],asdf2.CFrame,asdf2,55,55,1,25,25,0,.06,"Sphere",6,0,"") | |
1543 | for i=0,1,0.01 do | |
1544 | swait() | |
1545 | hec=hec+.5 | |
1546 | asdfz.CFrame=Root.CFrame | |
1547 | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) | |
1548 | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) | |
1549 | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) | |
1550 | end | |
1551 | local asdf3=parts(s,"asdf3",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Daisy orange",Enum.Material.Neon,0,1) | |
1552 | asdf3.Anchored=true | |
1553 | for i=1,200 do | |
1554 | swait() | |
1555 | asdf3.CFrame=CFrame.new(mouse.Hit.p) | |
1556 | asdfz.CFrame=Root.CFrame | |
1557 | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) | |
1558 | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) | |
1559 | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) | |
1560 | local mag=(asdf2.Position-asdf3.Position).magnitude | |
1561 | Effect(e,col[1],CFrame.new((asdf2.Position+asdf3.Position)/2,asdf3.Position)*CFrame.Angles(0,math.rad(90),0),mag*5,40,40,0,.6,.6,.07,"Cylinder",6,0,"") | |
1562 | Effect(e,col[1],CFrame.new(asdf3.Position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),41,41,122,-1,-1,0,.07,"Sphere",3,-5,"") | |
1563 | Effect(e,col[1],CFrame.new(asdf3.Position),20,20,20,11,11,11,.07,"Sphere",6,0,"") | |
1564 | Effect(e,col[1],CFrame.new(asdf3.Position),20,20,20,11,11,11,.07,"Brick",1,0,"") | |
1565 | Mdamage("None",asdf3,11,math.random(10,18),0,"") | |
1566 | end | |
1567 | for i=0,1.1,.02 do | |
1568 | swait() | |
1569 | asdf3.CFrame=CFrame.new(mouse.Hit.p) | |
1570 | asdfz.CFrame=Root.CFrame | |
1571 | asdf2.CFrame=Root.CFrame*CFrame.new(0,30,0) | |
1572 | asdf.CFrame=CFrame.new(asdf.CFrame.p,mouse.Hit.p) | |
1573 | asdfWeld.C0=clerp(asdfWeld.C0,asdfWeld.C0*CFrame.Angles(0,0,math.rad(4+hec)),.3) | |
1574 | for _,v in pairs(s:children()) do | |
1575 | if v:IsA("BasePart") then | |
1576 | v.Transparency=i | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | s:Remove() | |
1581 | end | |
1582 | ||
1583 | --v atak | |
1584 | function Attack() | |
1585 | attack=true | |
1586 | if combo==1 then | |
1587 | combo=2 | |
1588 | for i=0,1,0.12 do | |
1589 | swait() | |
1590 | Mdamage("None",RArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) | |
1591 | RJ.C0=clerp(RJ.C0,CFrame.new(-1.40964985e-05, -0.11372108, -0.099010177, 0.611814082, -4.5593481e-08, -0.791001678, 0.156692281, 0.980183184, 0.121196352, 0.775326431, -0.198093489, 0.599689901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1592 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.00178098679, 1.47727787, -0.00157509744, 0.6777668, 0.0772434175, 0.731208384, -4.27256055e-07, 0.994466662, -0.105053134, -0.735276997, 0.0712012053, 0.674016595)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1593 | RS.C0=clerp(RS.C0,CFrame.new(1.14380527, 0.516936123, -0.69855082, 0.0887541175, 0.434946328, 0.896071672, 0.986419916, -0.163200051, -0.0184868611, 0.138198152, 0.885543644, -0.443524361)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1594 | LS.C0=clerp(LS.C0,CFrame.new(-1.6822449, 0.177517071, -0.228325516, 0.954484642, 0.288956225, -0.0739153624, -0.297713399, 0.908013403, -0.294751585, -0.0180541277, 0.303341419, 0.952710986)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1595 | RH.C0=clerp(RH.C0,CFrame.new(0.580742657, -2.05176497, 0.210113317, 0.933486521, -0.0691385269, 0.351884663, 1.72682337e-06, 0.981240153, 0.192790017, -0.358612567, -0.179966271, 0.915974498)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1596 | LH.C0=clerp(LH.C0,CFrame.new(-1.01665866, -1.76135993, -0.431322992, 0.640841186, 0.179314032, 0.746437669, 1.48042e-06, 0.972337186, -0.233582348, -0.767673552, 0.149690285, 0.623113334)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1597 | end | |
1598 | sounds(RArm,"200632136",1,1.2) | |
1599 | for i=0,1,0.1 do | |
1600 | swait() | |
1601 | Mdamage("None",RArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) | |
1602 | RJ.C0=clerp(RJ.C0,CFrame.new(0.0256003067, -0.0520002246, -0.354070067, 0.350081027, -0.169843271, 0.921193123, -0.0253130943, 0.981350303, 0.19055441, -0.936377347, -0.0900277197, 0.339252859)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1603 | Neck.C0=clerp(Neck.C0,CFrame.new(0.151640147, 1.4738127, 0.0224934965, 0.270301849, 0.125617236, -0.954545557, -0.154247329, 0.984295189, 0.085853532, 0.950339496, 0.124029756, 0.285432875)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1604 | RS.C0=clerp(RS.C0,CFrame.new(1.80110931, 0.426911324, -0.625986278, 0.0936775953, -0.809836626, 0.579128146, 0.994559765, 0.0495007969, -0.0916557088, 0.0455588624, 0.584563673, 0.810067952)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1605 | LS.C0=clerp(LS.C0,CFrame.new(-1.85886598, 0.161566481, -0.2567029, 0.378758818, 0.837661624, -0.39352873, -0.89434731, 0.440661192, 0.0772067085, 0.238085926, 0.322708666, 0.91606462)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1606 | RH.C0=clerp(RH.C0,CFrame.new(0.775518239, -1.92589116, -0.236844152, 0.481832683, -0.00619276613, -0.876241446, -0.169701144, 0.980383933, -0.100245029, 0.859673798, 0.197000504, 0.471330076)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1607 | LH.C0=clerp(LH.C0,CFrame.new(-0.90784061, -2.00480008, -0.172252461, 0.285467356, 0.359883249, -0.888252497, -0.223748147, 0.926233113, 0.303363025, 0.931904256, 0.112144619, 0.344932497)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1608 | end | |
1609 | local ref=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) | |
1610 | ref.Anchored=true | |
1611 | ref.CFrame=Root.CFrame*CFrame.new(0,0,-6) | |
1612 | Effect(e,col[2],ref.CFrame,5,5,5,5,5,5,.06,"Sphere",6,0,"") | |
1613 | Effect(e,col[1],ref.CFrame,5,5,5,7,7,7,.07,"Sphere",6,0,"") | |
1614 | Effect(e,col[2],ref.CFrame,5,5,5,6,0,0,.05,"Sphere",6,0,"") | |
1615 | Effect(e,col[2],ref.CFrame,5,5,5,0,6,0,.05,"Sphere",6,0,"") | |
1616 | Effect(e,col[2],ref.CFrame,5,5,5,0,0,6,.05,"Sphere",6,0,"") | |
1617 | Mdamage("None",ref,8,math.random(10,20),0,"") | |
1618 | sounds(ref,"161006093",1.2,1.2) | |
1619 | game:GetService("Debris"):AddItem(ref,4) | |
1620 | for i=0,1,0.08 do | |
1621 | swait() | |
1622 | Torso.Velocity=Root.CFrame.lookVector*-20 | |
1623 | RJ.C0=clerp(RJ.C0,CFrame.new(2.77385116e-05, -0.397874027, -0.107908018, 0.504696071, -0.000202174866, -0.863297164, 0.254513651, 0.955589056, 0.1485686, 0.824927092, -0.294702888, 0.482333422)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1624 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.0580789, 1.53893268, -0.0402470827, 0.606136084, -0.208425328, 0.767566264, 0.0864968821, 0.976604223, 0.196882278, -0.790643632, -0.0529453754, 0.609983265)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1625 | RS.C0=clerp(RS.C0,CFrame.new(1.95940983, 0.502833605, -0.351823866, -0.0271940455, -0.944740415, 0.326689422, 0.988820434, -0.0733546838, -0.129820853, 0.146611214, 0.319506735, 0.936173439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1626 | LS.C0=clerp(LS.C0,CFrame.new(-1.51987219, 0.114249595, -0.644724607, 0.409938663, 0.502568185, -0.761167288, -0.869661272, 0.466988117, -0.160036281, 0.275026947, 0.727562726, 0.628500462)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1627 | RH.C0=clerp(RH.C0,CFrame.new(0.759764791, -2.06948805, 0.377683461, 0.826902926, -0.343313456, 0.445384741, 0.158799037, 0.902335942, 0.400715649, -0.539457679, -0.260626286, 0.800661981)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1628 | LH.C0=clerp(LH.C0,CFrame.new(-1.10064852, -1.48462117, -0.274196982, 0.415272266, 0.443577677, 0.79422152, 3.56705277e-06, 0.873060644, -0.487611741, -0.909697294, 0.202494413, 0.362556309)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
1629 | end | |
1630 | ||
1631 | elseif combo==2 then | |
1632 | combo=3 | |
1633 | for i=0,1,0.09 do | |
1634 | swait() | |
1635 | Mdamage("None",LArm,4.2,math.random(10,20),.2,HitSound[math.random(1,#HitSound)],1,1) | |
1636 | RJ.C0=clerp(RJ.C0,CFrame.new(0, -0, 0, 0.908417106, -1.17093835e-15, -0.418065071, 1.25419519e-05, 1, 2.72525122e-05, 0.418065071, -2.99999992e-05, 0.908417106)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1637 | Neck.C0=clerp(Neck.C0,CFrame.new(4.28571184e-06, 1.50002289, 4.94055348e-05, 0.886384606, 0, 0.462949723, 0, 1, 0, -0.462949723, 0, 0.886384606)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1638 | RS.C0=clerp(RS.C0,CFrame.new(1.56685495, 0.0783409849, 0.210455388, 0.96724993, -0.244476244, -0.0682572424, 0.253826082, 0.931572556, 0.260278672, -4.5388937e-05, -0.269079983, 0.963117838)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1639 | LS.C0=clerp(LS.C0,CFrame.new(-0.546535552, 0.835143328, -0.873486161, 0.602048159, -0.729962826, 0.323562026, -0.075689964, -0.455583066, -0.886969686, 0.794864237, 0.509508073, -0.329533845)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1640 | RH.C0=clerp(RH.C0,CFrame.new(0.602877498, -2.02466917, 0.29541105, 0.944397688, -0.0989037603, 0.313578069, 0, 0.953688264, 0.300797045, -0.328805655, -0.284072042, 0.900660932)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1641 | LH.C0=clerp(LH.C0,CFrame.new(-0.661388874, -2.02991033, -0.260612905, 0.850234628, 0.0459307507, 0.5243963, 0, 0.996186137, -0.0872537941, -0.526403964, 0.0741862059, 0.846991897)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1642 | end | |
1643 | sounds(LArm,"200633377",1.2,1.4) | |
1644 | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,.5) | |
1645 | meshs(ref1,"Mesh",Vector3.new(20,20,20),Enum.MeshType.Sphere,"") | |
1646 | ref1.Anchored=true | |
1647 | ref1.CFrame=Root.CFrame*CFrame.new(0,0,-4) | |
1648 | local ref2=ref1:Clone() | |
1649 | ref2.Parent=e | |
1650 | ref2.CFrame=ref1.CFrame | |
1651 | ref2.BrickColor=BrickColor.new(col[1]) | |
1652 | ref2:findFirstChild("Mesh").Scale=Vector3.new(30,30,30) | |
1653 | ref1.Transparency=0 | |
1654 | if rainb==true then | |
1655 | ref1.Color=rain | |
1656 | ref2.Color=rain | |
1657 | end | |
1658 | game:GetService("Debris"):AddItem(ref1,4) | |
1659 | game:GetService("Debris"):AddItem(ref2,4) | |
1660 | for i=0,1,0.07 do | |
1661 | swait() | |
1662 | Mdamage("None",ref1,7,math.random(10,20),.2,"") | |
1663 | ref1.CFrame=ref1.CFrame*CFrame.new(0,0,-5) | |
1664 | ref2.CFrame=ref1.CFrame | |
1665 | if choice==9 then | |
1666 | ref1.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1667 | ref2.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1668 | end | |
1669 | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-35,35)/10,math.random(-35,35)/10,math.random(-35,35)/10),3,3,3,0,0,0,.06,"Brick",1,0,"") | |
1670 | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-35,35)/10,math.random(-35,35)/10,math.random(-35,35)/10),3,3,3,0,0,0,.06,"Brick",1,0,"") | |
1671 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 0.957886219, -1.17093835e-15, 0.287148058, -8.61444187e-06, 1, 2.87365856e-05, -0.287148058, -2.99999992e-05, 0.957886219)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1672 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.29853488e-05, 1.50002289, 4.40614167e-05, 0.97937429, 0, -0.202054739, 0, 1, 0, 0.202054739, 0, 0.97937429)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1673 | RS.C0=clerp(RS.C0,CFrame.new(1.71655941, 0.132248193, -0.0551169962, 0.862222314, -0.505995154, -0.0232733786, 0.496118933, 0.852876127, -0.162691191, 0.102170259, 0.128729627, 0.986402512)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1674 | LS.C0=clerp(LS.C0,CFrame.new(-1.89950287, 0.433939457, -0.00832587667, 0.00264006853, 0.99847132, 0.0552114658, -0.0167260002, 0.0552480295, -0.99833262, -0.999856651, 0.00171220303, 0.0168462899)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1675 | RH.C0=clerp(RH.C0,CFrame.new(0.672698855, -2.02514911, -0.2984671, 0.960695028, -0.0169820078, -0.277086377, 0.0515700057, 0.991670907, 0.11802268, 0.272774249, -0.127673134, 0.953568995)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1676 | LH.C0=clerp(LH.C0,CFrame.new(-0.706217289, -1.98748994, 0.169790402, 0.93224138, 0.16299127, -0.323047906, -0.100813977, 0.974446774, 0.200723708, 0.347509235, -0.154555187, 0.924851418)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1677 | end | |
1678 | sounds(ref1,"206083232",1.2,1.5) | |
1679 | sounds(ref1,"206083252",1.2,1.3) | |
1680 | Effect(e,col[2],ref1.CFrame,20,20,20,2,2,2,.04,"Sphere",6,0,"") | |
1681 | Effect(e,col[1],ref1.CFrame,30,30,30,2,2,2,.04,"Sphere",6,0,"") | |
1682 | ref1.Transparency=1 | |
1683 | ref2.Transparency=1 | |
1684 | ||
1685 | elseif combo==3 then | |
1686 | combo=4 | |
1687 | sounds(RArm,"200632136",1,1.4) | |
1688 | local ref1=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) | |
1689 | ref1.Anchored=true | |
1690 | ref1.CFrame=Root.CFrame*CFrame.new(0,.5,-6) | |
1691 | local ref2=parts(e,"ref",Vector3.new(.1,.1,.1),"Smoky grey",Enum.Material.SmoothPlastic,0,1) | |
1692 | ref2.Anchored=true | |
1693 | ref2.CFrame=Root.CFrame*CFrame.new(0,.5,6) | |
1694 | game:GetService("Debris"):AddItem(ref1,4) | |
1695 | game:GetService("Debris"):AddItem(ref2,4) | |
1696 | local gl=3 | |
1697 | for i=0,1,0.06 do | |
1698 | swait() | |
1699 | gl=gl+1 | |
1700 | ref1.CFrame=Root.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,.5,gl) | |
1701 | ref2.CFrame=Root.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,.5,-gl) | |
1702 | Effect(e,col[2],ref2.CFrame,5,5,5,4,4,4,.08,"Sphere",6,0,"") | |
1703 | Effect(e,col[1],ref1.CFrame,5,5,5,4,4,4,.08,"Sphere",6,0,"") | |
1704 | Mdamage("None",ref1,6,math.random(8,14),.05,"") | |
1705 | Mdamage("None",ref2,6,math.random(8,14),.05,"") | |
1706 | sounds(ref1,"206083252",1.2,1.6) | |
1707 | sounds(ref2,"206083252",1.2,1.6) | |
1708 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0-720*i),0),.4) | |
1709 | Neck.C0=clerp(Neck.C0,CFrame.new(2.62259618e-07, 1.50002122, -1.16301089e-06, 0.966869354, -4.44266561e-06, -0.25527209, 7.65816276e-06, 1, 1.16024312e-05, 0.25527209, -1.31729485e-05, 0.966869354)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1710 | RS.C0=clerp(RS.C0,CFrame.new(1.97359252, 0.461725712, 0.132297397, -0.0138839949, -0.993113995, -0.116326779, 0.999903619, -0.0137932096, -0.0015854399, -2.9997107e-05, -0.116337582, 0.99320972)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1711 | LS.C0=clerp(LS.C0,CFrame.new(-1.98128402, 0.443997294, -0.162216201, 0.175949037, 0.984316707, 0.0127538545, 0.0111114727, 0.0109692821, -0.999878168, -0.984336615, 0.176069304, -0.00900717359)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1712 | RH.C0=clerp(RH.C0,CFrame.new(0.530800819, -1.99872804, 3.16160481e-07, 0.999048352, -0.0436170138, 1.30851083e-06, 0.0436170138, 0.999048352, 2.85399437e-08, -1.30851038e-06, 2.85599526e-08, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1713 | LH.C0=clerp(LH.C0,CFrame.new(-0.575502217, -2.01157212, -1.7279857e-06, 0.998795986, 0.0490569994, -1.47170999e-06, -0.0490569994, 0.998795986, 3.61214916e-08, 1.47170999e-06, 3.61196726e-08, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1714 | end | |
1715 | hum.WalkSpeed=0 | |
1716 | for i=0,1,0.07 do | |
1717 | swait() | |
1718 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.56654549e-06, -0.947861552, -0.387094289, 0.473338813, 7.18723072e-08, -0.880882382, 0.681949854, 0.632979989, 0.366442889, 0.557581186, -0.774168193, 0.299614102)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1719 | Neck.C0=clerp(Neck.C0,CFrame.new(0.277080625, 1.45817256, -0.0415501148, 0.589401186, 0.338981122, 0.733280361, -2.8388813e-06, 0.90770328, -0.419612646, -0.807842851, 0.247317076, 0.535002112)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1720 | RS.C0=clerp(RS.C0,CFrame.new(1.88354349, 0.814501822, -0.372365743, -0.412279636, -0.839163423, 0.354727, 0.911057711, -0.379755259, 0.160498932, 2.44528055e-05, 0.389347881, 0.921091557)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1721 | LS.C0=clerp(LS.C0,CFrame.new(-1.91487217, 0.304715246, -0.124129072, 0.140907407, 0.976222038, -0.164732158, -0.990021467, 0.139218867, -0.0218067821, 0.00164588168, 0.166160643, 0.986098051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1722 | RH.C0=clerp(RH.C0,CFrame.new(0.398423433, -1.85718119, -0.452500671, 0.599491179, 0.0752810985, 0.796833813, 0.184934542, 0.955598235, -0.229415059, -0.778724015, 0.284894049, 0.558950484)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1723 | LH.C0=clerp(LH.C0,CFrame.new(-1.01205671, -0.524863005, -0.345139563, 0.60284251, 0.746555448, 0.281490713, -0.135852024, 0.443699926, -0.885818601, -0.786210477, 0.495767653, 0.368902445)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
1724 | end | |
1725 | ||
1726 | elseif combo==4 then | |
1727 | combo=1 | |
1728 | for i=0,1,0.07 do | |
1729 | swait() | |
1730 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.61414241e-18, 0.0558129847, -0.142009795, 1, -4.63824687e-17, -6.51316803e-18, -4.68375339e-17, 0.990284204, 0.139058739, 0, -0.139058754, 0.990284204)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1731 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53615165, -0.133319393, 1, 0, 0, 0, 0.980868459, 0.194672525, 0, -0.19467257, 0.980868459)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1732 | RS.C0=clerp(RS.C0,CFrame.new(0.701637089, 0.589969814, -1.10076773, 0.905114114, 0.424492478, 0.0239735786, 0.0420583636, -0.0332833603, -0.998560727, -0.423083603, 0.904819667, -0.0479786843)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1733 | LS.C0=clerp(LS.C0,CFrame.new(-0.882859528, 0.530957997, -0.990593553, -0.0114530027, -0.32663402, -0.945081472, -0.999210954, -0.0322082937, 0.0232406352, -0.0380306318, 0.944602013, -0.326007426)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1734 | RH.C0=clerp(RH.C0,CFrame.new(0.546855628, -2.05208206, -0.144755617, 0.997041583, -0.0768650472, 2.22908784e-06, 0.0761185661, 0.987354636, -0.139057681, 0.010686473, 0.138646439, 0.990284383)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1735 | LH.C0=clerp(LH.C0,CFrame.new(-0.552921951, -2.05310154, -0.144903407, 0.99881202, 0.0487289988, -1.46186994e-06, -0.0482557602, 0.989107788, -0.139058709, -0.00677474542, 0.138893574, 0.990284204)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1736 | end | |
1737 | sounds(Root,"200633492",1.2,1.2) | |
1738 | Effect(e,col[1],Root.CFrame*CFrame.new(0,.5,-4),3,3,3,2,2,2,.05,"Sphere",6,0,"") | |
1739 | Effect(e,col[1],Root.CFrame*CFrame.new(0,.5,-4),3,3,3,3,3,3,.05,"Sphere",6,0,"") | |
1740 | for i=-40,40,20 do | |
1741 | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,.5) | |
1742 | meshs(ref1,"Mesh",Vector3.new(7,7,18),Enum.MeshType.Sphere,"") | |
1743 | ref1.Anchored=true | |
1744 | ref1.CFrame=Root.CFrame*CFrame.new(0,.5,-4)*CFrame.Angles(0,math.rad(i),0) | |
1745 | local ref2=ref1:Clone() | |
1746 | ref2.Parent=e | |
1747 | ref2.CFrame=ref1.CFrame | |
1748 | ref2.BrickColor=BrickColor.new(col[1]) | |
1749 | ref2:findFirstChild("Mesh").Scale=Vector3.new(10,10,25) | |
1750 | ref1.Transparency=0 | |
1751 | if rainb==true then | |
1752 | ref1.Color=rain | |
1753 | ref2.Color=rain | |
1754 | end | |
1755 | game:GetService("Debris"):AddItem(ref1,4) | |
1756 | game:GetService("Debris"):AddItem(ref2,4) | |
1757 | coroutine.resume(coroutine.create(function() | |
1758 | for i=0,1,.04 do | |
1759 | swait() | |
1760 | ref1.CFrame=ref1.CFrame*CFrame.new(0,0,-2) | |
1761 | ref2.CFrame=ref1.CFrame | |
1762 | if choice==9 then | |
1763 | ref1.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1764 | ref2.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
1765 | end | |
1766 | Mdamage("None",ref1,4,math.random(9,16),.2,"") | |
1767 | Effect(e,col[2],ref1.CFrame*CFrame.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),1,1,1,0,0,0,.05,"Brick",1,0,"") | |
1768 | end | |
1769 | ref1.Transparency=1 | |
1770 | ref2.Transparency=1 | |
1771 | Effect(e,col[2],ref1.CFrame,7,7,18,1,1,4,.055,"Sphere",6,0,"") | |
1772 | Effect(e,col[1],ref1.CFrame,10,10,25,1,1,4,.055,"Sphere",6,0,"") | |
1773 | sounds(ref1,"206083232",1.2,1.5) | |
1774 | sounds(ref1,"206083252",1.2,1.6) | |
1775 | end)) | |
1776 | end | |
1777 | for i=0,1,0.05 do | |
1778 | swait() | |
1779 | Torso.Velocity=Root.CFrame.lookVector*-18 | |
1780 | RJ.C0=clerp(RJ.C0,CFrame.new(-0.0297317505, 0.0401754044, 0.393005818, 1, -4.66701853e-17, 3.9558581e-18, -4.68375339e-17, 0.996427059, -0.0844591483, 0, 0.0844591483, 0.996427059)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1781 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53614163, -0.133327335, 1, 0, 0, 0, 0.980868399, 0.194672689, 0, -0.194672689, 0.980868399)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1782 | RS.C0=clerp(RS.C0,CFrame.new(1.95122457, 0.57680428, -0.30010882, 0.311983943, -0.947476506, 0.0703873113, -0.0381239727, -0.0865099505, -0.995521367, 0.949322283, 0.30790326, -0.0631112754)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1783 | LS.C0=clerp(LS.C0,CFrame.new(-2.03361034, 0.486680925, -0.248973221, -0.0547970086, 0.949463546, -0.309056938, -0.994616807, -0.02464021, 0.100651473, 0.0879496783, 0.31290853, 0.945702553)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1784 | RH.C0=clerp(RH.C0,CFrame.new(0.576583743, -2.04903936, -0.0633620992, 0.997041345, -0.0768679157, 1.12512282e-07, 0.076671347, 0.994491577, -0.0714716017, 0.00549376057, 0.0712601617, 0.997442722)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1785 | LH.C0=clerp(LH.C0,CFrame.new(-0.523191214, -2.05006337, -0.0634361655, 0.998812258, 0.0487252697, -2.3978821e-06, -0.0486008301, 0.996257842, -0.0714741722, -0.00348020904, 0.0713893846, 0.997442663)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1786 | end | |
1787 | end | |
1788 | attack=false | |
1789 | end | |
1790 | ||
1791 | function PERISH() | |
1792 | attack2=true | |
1793 | if haa~=nil then | |
1794 | local ref4=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
1795 | ref4.Anchored=true | |
1796 | ref4.CFrame=haa.CFrame | |
1797 | sounds(ref4,"206082273",3,.9) | |
1798 | sounds(ref4,"199145534",3,1) | |
1799 | CameraShake(60,ref4,25,.06) | |
1800 | for i=1,15 do | |
1801 | Effect(e,col[1],ref4.CFrame*CFrame.new(math.random(-100,100)/6,math.random(-100,100)/6,math.random(0,20)/10)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),5,5,5,0,0,2,.02,"Sphere",3,-.7,"") | |
1802 | end | |
1803 | Mdamage("None",ref4,20,0,0,"") | |
1804 | Effect(e,col[1],ref4.CFrame*CFrame.Angles(math.rad(90),0,0),200,1,200,2,0,2,.03,"Sphere",6,0,"") | |
1805 | Effect(e,col[1],ref4.CFrame*CFrame.Angles(-math.rad(90),0,0),3,3,3,4,0,4,.05,"FileMesh",2,math.random(-10,10),"20329976") | |
1806 | Effect(e,col[1],ref4.CFrame*CFrame.Angles(-math.rad(90),0,0),3,3,3,5,0,5,.05,"FileMesh",2,math.random(-10,10),"20329976") | |
1807 | game:GetService("Debris"):AddItem(ref4,4) | |
1808 | end | |
1809 | for i=0,1,0.07 do | |
1810 | swait() | |
1811 | RJ.C0=clerp(RJ.C0,CFrame.new(9.82645361e-07, -.2-.1*math.cos(sin/25), -5.42081143e-05, 0.647161186, -1.46387433e-11, 0.762353182, -2.28706049e-05, 1, 1.94148233e-05, -0.762353182, -2.99999992e-05, 0.647161186)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1812 | Neck.C0=clerp(Neck.C0,CFrame.new(0.237783283, 1.5387131, -0.198758632, 0.641355515, 0.358043998, -0.678577662, 2.50000048e-05, 0.8844257, 0.466681093, 0.767243862, -0.299325466, 0.567222357)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1813 | RS.C0=clerp(RS.C0,CFrame.new(1.66746926, 0.0401464105, -0.615105569, 0.556770682, -0.448266119, -0.699331045, -0.000109000051, 0.841852427, -0.539707899, 0.830666244, 0.300569803, 0.468669832)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1814 | LS.C0=clerp(LS.C0,CFrame.new(-1.53162372, 0.100231051, -4.13375892e-06, 0.970351577, 0.241698042, -6.85453415e-07, -0.241698056, 0.970351517, -6.14382225e-06, -8.94069672e-07, 6.11692667e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1815 | RH.C0=clerp(RH.C0,CFrame.new(0.500023007, -1.80007105+.1*math.cos(sin/25), -5.93066216e-05, 0.528373897, 0, -0.849011838, 0, 1, 0, 0.849011838, 0, 0.528373897)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1816 | LH.C0=clerp(LH.C0,CFrame.new(-0.500042558, -1.80007105+.1*math.cos(sin/25), -7.36862421e-05, 0.625953257, 0, -0.779860556, 0, 1, 0, 0.779860556, 0, 0.625953257)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1817 | end | |
1818 | attack2=false | |
1819 | end | |
1820 | ||
1821 | local doing=false | |
1822 | function Skillone() | |
1823 | attack=true | |
1824 | ||
1825 | if unleashed==false then | |
1826 | ||
1827 | if choice==1 then | |
1828 | --sounds(Root,"588734356",1,1.8) | |
1829 | sounds(Root,"588736245",1,1.4) | |
1830 | Effect(e,col[1],Root.CFrame*CFrame.new(0,-2,0),1,2,1,1,0,1,.065,"FileMesh",2,math.random(-10,10),"20329976") | |
1831 | Effect(e,col[2],Root.CFrame*CFrame.new(0,-2,0),1,2,1,1.8,0,1.8,.065,"FileMesh",2,math.random(-10,10),"20329976") | |
1832 | ||
1833 | Root.Anchored=true | |
1834 | hum.WalkSpeed=0 | |
1835 | hum.JumpPower=0 | |
1836 | --hum.AutoRotate=false | |
1837 | for i=0,1.1,0.12 do | |
1838 | swait() | |
1839 | for _,v in pairs(m:children()) do | |
1840 | if v:IsA("BasePart") then | |
1841 | v.Transparency=i | |
1842 | end | |
1843 | end | |
1844 | for _,v in pairs(chr:children()) do | |
1845 | if v:IsA("BasePart") and v.Name~=Root.Name then | |
1846 | v.Transparency=i | |
1847 | if v.Name=="Head" and v:findFirstChildOfClass("Decal")~=nil then | |
1848 | v:findFirstChildOfClass("Decal").Transparency=i | |
1849 | end | |
1850 | elseif v:IsA("Accessory") then | |
1851 | v.Handle.Transparency=i | |
1852 | end | |
1853 | end | |
1854 | for _,v in pairs(Visss:children()) do | |
1855 | if v:IsA("Frame") then | |
1856 | v.BackgroundTransparency=i | |
1857 | end | |
1858 | end | |
1859 | RJ.C0=clerp(RJ.C0,CFrame.new(8.04073818e-18, -0.171673298, -5.39911079, 1, -3.36414918e-17, -3.25884114e-17, -4.68375339e-17, 0.718259215, 0.695775628, 0, -0.695775628, 0.718259215)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1860 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.46953106, 0.131826505, 1, 0, 0, 0, 0.974297523, -0.225265354, 0, 0.225265354, 0.974297523)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1861 | RS.C0=clerp(RS.C0,CFrame.new(1.62392759, 0.0303899646, 0.307594776, 0.963093758, -0.269166172, 1.61457979e-06, 0.240263328, 0.859680355, 0.450802982, -0.121342286, -0.43416518, 0.892623544)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1862 | LS.C0=clerp(LS.C0,CFrame.new(-1.68626499, -0.0852672756, 0.377795845, 0.968706012, 0.24821119, 1.33306537e-06, -0.223841816, 0.873596013, 0.432116687, 0.107255027, -0.418594241, 0.901817739)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1863 | RH.C0=clerp(RH.C0,CFrame.new(0.502402782, -1.36833, -0.406561017, 0.999982774, 0.00105297484, -0.00578947924, 8.17072578e-06, 0.983610272, 0.180307716, 0.00588445039, -0.180304646, 0.983593285)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1864 | LH.C0=clerp(LH.C0,CFrame.new(-0.641488135, -2.06682062, 0.441533804, 0.976107895, 0.203549683, 0.0760326684, -0.216890514, 0.891615272, 0.39746803, 0.0131126046, -0.404462397, 0.914460659)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1865 | end | |
1866 | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
1867 | ref1.Anchored=true | |
1868 | ref1.CFrame=Root.CFrame | |
1869 | game:GetService("Debris"):AddItem(ref1,5) | |
1870 | for i=1,8 do | |
1871 | swait(4) | |
1872 | ref1.CFrame=Root.CFrame | |
1873 | Root.Anchored=true | |
1874 | for si=1,2 do | |
1875 | local ref2=parts(e,"saz1",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,0) | |
1876 | ref2.Anchored=true | |
1877 | ref2.CFrame=ref1.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),-i*12+math.random(-3,3)) | |
1878 | meshs(ref2,"Mesh",Vector3.new(6,6,6),Enum.MeshType.Sphere,"") | |
1879 | local ref3=parts(e,"saz2",Vector3.new(.2,.2,.2),col[1],Enum.Material.Neon,0,0) | |
1880 | ref3.Anchored=true | |
1881 | ref3.CFrame=ref1.CFrame*CFrame.new(math.random(-3,3),math.random(-3,3),-i*12+math.random(-3,3)) | |
1882 | meshs(ref3,"Mesh",Vector3.new(6,6,6),Enum.MeshType.Sphere,"") | |
1883 | sounds(ref2,"1724878544",1.3,1.2) | |
1884 | sounds(ref3,"1724878544",1.3,1.2) | |
1885 | Effect(e,col[2],ref2.CFrame,3,3,3,4,4,4,.05,"Sphere",6,0,"") | |
1886 | Effect(e,col[1],ref3.CFrame,3,3,3,4,4,4,.05,"Sphere",6,0,"") | |
1887 | Effect(e,col[2],ref2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,3,2,2,0,.09,"FileMesh",6,0,"3270017") | |
1888 | Effect(e,col[1],ref3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,3,2,2,0,.09,"FileMesh",6,0,"3270017") | |
1889 | Mdamage("None",ref2,11,math.random(15,18),0,"") | |
1890 | Mdamage("None",ref3,11,math.random(15,18),0,"") | |
1891 | game:GetService("Debris"):AddItem(ref2,5) | |
1892 | game:GetService("Debris"):AddItem(ref3,5) | |
1893 | end | |
1894 | end | |
1895 | ||
1896 | coroutine.resume(coroutine.create(function() | |
1897 | swait(40) | |
1898 | CameraShake(200,Head,3,.08) | |
1899 | for _,v in pairs(e:children()) do | |
1900 | if v:IsA("BasePart") and v.Transparency~=1 then | |
1901 | v.Transparency=1 | |
1902 | sounds(v,"769011266",.8,1.1) | |
1903 | Mdamage("None",v,10,math.random(15,18),0,"") | |
1904 | game:GetService("Debris"):AddItem(v,1) | |
1905 | if v.Name=="saz1" then | |
1906 | for i=1,6 do | |
1907 | Effect(e,col[2],v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,35,0,0,0,.03,"Sphere",4,.1,"",130,180,150) | |
1908 | end | |
1909 | elseif v.Name=="saz2" then | |
1910 | for i=1,6 do | |
1911 | Effect(e,col[1],v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,35,0,0,0,.03,"Sphere",4,.1,"",130,180,150) | |
1912 | end | |
1913 | end | |
1914 | game:GetService("Debris"):AddItem(v,2) | |
1915 | swait() | |
1916 | end | |
1917 | end | |
1918 | end)) | |
1919 | ||
1920 | ||
1921 | Root.CFrame=Root.CFrame*CFrame.new(0,0,-110) | |
1922 | RJ.C0=CFrame.new(-2.31750309e-05, -0.295795858, -0.0982816592, 0.120410018, 3.58849772e-09, 0.99272424, -0.207693145, 0.97786963, 0.0251916163, -0.970754862, -0.209215343, 0.117745295)*CFrame.new(-30,0,0)*CFrame.Angles(0,0,0) | |
1923 | for i=1,-.1,-0.12 do | |
1924 | swait() | |
1925 | for _,v in pairs(m:children()) do | |
1926 | if v:IsA("BasePart") then | |
1927 | v.Transparency=i | |
1928 | end | |
1929 | end | |
1930 | for _,v in pairs(chr:children()) do | |
1931 | if v:IsA("BasePart") and v.Name~=Root.Name then | |
1932 | v.Transparency=i | |
1933 | if v.Name=="Head" and v:findFirstChildOfClass("Decal")~=nil then | |
1934 | v:findFirstChildOfClass("Decal").Transparency=i | |
1935 | end | |
1936 | elseif v:IsA("Accessory") then | |
1937 | v.Handle.Transparency=i | |
1938 | end | |
1939 | end | |
1940 | for _,v in pairs(Visss:children()) do | |
1941 | if v:IsA("Frame") then | |
1942 | v.BackgroundTransparency=i | |
1943 | end | |
1944 | end | |
1945 | Root.Anchored=true | |
1946 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.31750309e-05, -0.295795858, -0.0982816592, 0.120410018, 3.58849772e-09, 0.99272424, -0.207693145, 0.97786963, 0.0251916163, -0.970754862, -0.209215343, 0.117745295)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1947 | Neck.C0=clerp(Neck.C0,CFrame.new(3.28570604e-06, 1.5000205, 3.73702496e-05, 0.154529616, -0.0533964448, -0.986544251, 1.74841921e-06, 0.998538494, -0.0540453643, 0.987988174, 0.00834988151, 0.154303864)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1948 | RS.C0=clerp(RS.C0,CFrame.new(1.94193518, 0.69839561, -0.200542808, -0.19561635, -0.965838432, 0.169972032, 0.980680525, -0.192655623, 0.0339051746, -8.51228833e-07, 0.173320651, 0.984865427)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1949 | LS.C0=clerp(LS.C0,CFrame.new(-1.75503612, 0.0148609895, -0.143688738, 0.453105718, 0.883608997, -0.11802768, -0.891456783, 0.449117064, -0.0599888749, 1.53854489e-06, 0.132397875, 0.991196632)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1950 | RH.C0=clerp(RH.C0,CFrame.new(0.594118297, -1.68184936, -0.0120359957, 0.126216277, 0.0626058653, -0.990025342, -2.11912857e-06, 0.998006582, 0.0631102771, 0.992002726, -0.00796345249, 0.12596482)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1951 | LH.C0=clerp(LH.C0,CFrame.new(-0.780936897, -1.93743944, 0.0516012944, 0.0825548619, 0.304184377, -0.949029446, 0.0449628718, 0.950173259, 0.308462381, 0.995571733, -0.0681361482, 0.0647644252)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1952 | end | |
1953 | for i=0,1,.04 do | |
1954 | swait() | |
1955 | Root.Anchored=true | |
1956 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.31750309e-05, -0.295795858, -0.0982816592, 0.120410018, 3.58849772e-09, 0.99272424, -0.207693145, 0.97786963, 0.0251916163, -0.970754862, -0.209215343, 0.117745295)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1957 | Neck.C0=clerp(Neck.C0,CFrame.new(3.28570604e-06, 1.5000205, 3.73702496e-05, 0.154529616, -0.0533964448, -0.986544251, 1.74841921e-06, 0.998538494, -0.0540453643, 0.987988174, 0.00834988151, 0.154303864)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1958 | RS.C0=clerp(RS.C0,CFrame.new(1.94193518, 0.69839561, -0.200542808, -0.19561635, -0.965838432, 0.169972032, 0.980680525, -0.192655623, 0.0339051746, -8.51228833e-07, 0.173320651, 0.984865427)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1959 | LS.C0=clerp(LS.C0,CFrame.new(-1.75503612, 0.0148609895, -0.143688738, 0.453105718, 0.883608997, -0.11802768, -0.891456783, 0.449117064, -0.0599888749, 1.53854489e-06, 0.132397875, 0.991196632)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1960 | RH.C0=clerp(RH.C0,CFrame.new(0.594118297, -1.68184936, -0.0120359957, 0.126216277, 0.0626058653, -0.990025342, -2.11912857e-06, 0.998006582, 0.0631102771, 0.992002726, -0.00796345249, 0.12596482)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1961 | LH.C0=clerp(LH.C0,CFrame.new(-0.780936897, -1.93743944, 0.0516012944, 0.0825548619, 0.304184377, -0.949029446, 0.0449628718, 0.950173259, 0.308462381, 0.995571733, -0.0681361482, 0.0647644252)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1962 | end | |
1963 | Root.Anchored=false | |
1964 | hum.AutoRotate=true | |
1965 | ||
1966 | elseif choice==2 then | |
1967 | sounds(RArm,"199145659",1,1.2) | |
1968 | hum.WalkSpeed=0 | |
1969 | for i=0,1,0.04 do | |
1970 | swait() | |
1971 | RJ.C0=clerp(RJ.C0,CFrame.new(1.81758351e-05, -2.39048489e-07, -2.09973896e-05, 0.837009132, -4.68375339e-17, 0.547189057, -1.64156718e-05, 1, 2.51102738e-05, -0.547189057, -2.99999992e-05, 0.837009132)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1972 | Neck.C0=clerp(Neck.C0,CFrame.new(0.117549829, 1.460724, -0.179843515, 0.837009132, 0.0984081477, -0.538267314, 0, 0.983695328, 0.179843053, 0.547189057, -0.150530279, 0.823361993)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1973 | RS.C0=clerp(RS.C0,CFrame.new(0.258909285, 0.760815978, -0.701461196, 0.337321371, 0.886091411, 0.317893654, 0.940674365, -0.330426395, -0.0771375448, 0.0366895348, 0.325054526, -0.944983423)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1974 | LS.C0=clerp(LS.C0,CFrame.new(-1.62461603, 0.0846784189, 0.242279738, 0.95075649, 0.305410147, 0.0527905822, -0.309939027, 0.936852455, 0.162004158, 2.0802021e-05, -0.170388341, 0.985377073)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1975 | RH.C0=clerp(RH.C0,CFrame.new(0.500019193, -2.00007105, -6.71595335e-05, 0.77207607, 0, -0.635530174, 0, 1, 0, 0.635530174, 0, 0.77207607)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1976 | LH.C0=clerp(LH.C0,CFrame.new(-0.500020981, -2.00007105, -7.00354576e-05, 0.794756949, 0, -0.606928051, 0, 1, 0, 0.606928051, 0, 0.794756949)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1977 | end | |
1978 | for i=0,1,0.05 do | |
1979 | swait() | |
1980 | RJ.C0=clerp(RJ.C0,CFrame.new(1.81758351e-05, -2.39048489e-07, -2.09973896e-05, 0.837009132, -4.68375339e-17, 0.547189057, -1.64156718e-05, 1, 2.51102738e-05, -0.547189057, -2.99999992e-05, 0.837009132)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1981 | Neck.C0=clerp(Neck.C0,CFrame.new(0.0767034665, 1.4602052, -0.11736276, 0.837009132, -0.0037953034, -0.547175884, 0, 0.999975979, -0.00693600019, 0.547189057, 0.00580549566, 0.836989045)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
1982 | RS.C0=clerp(RS.C0,CFrame.new(0.295620054, 1.02689278, -0.704312861, 0.546934605, 0.807849228, 0.219641536, 0.832490206, -0.552539766, -0.0407429673, 0.0884464979, 0.205133215, -0.974729657)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
1983 | LS.C0=clerp(LS.C0,CFrame.new(-1.62461603, 0.0846784189, 0.242279738, 0.95075649, 0.305410147, 0.0527905822, -0.309939027, 0.936852455, 0.162004158, 2.0802021e-05, -0.170388341, 0.985377073)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1984 | RH.C0=clerp(RH.C0,CFrame.new(0.500019193, -2.00007105, -6.71595335e-05, 0.77207607, 0, -0.635530174, 0, 1, 0, 0.635530174, 0, 0.77207607)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1985 | LH.C0=clerp(LH.C0,CFrame.new(-0.500020981, -2.00007105, -7.00354576e-05, 0.794756949, 0, -0.606928051, 0, 1, 0, 0.606928051, 0, 0.794756949)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
1986 | end | |
1987 | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
1988 | ref1.Anchored=true | |
1989 | ref1.CFrame=Root.CFrame*CFrame.new(0,1,0) | |
1990 | local soundz=create("Sound"){ | |
1991 | Parent=ref1, | |
1992 | SoundId="rbxassetid://362395087", | |
1993 | Volume=2.7, | |
1994 | PlaybackSpeed=1.2, | |
1995 | Looped=true} | |
1996 | soundz:Play() | |
1997 | game:GetService("Debris"):AddItem(ref1,10) | |
1998 | local cf=ref1.CFrame | |
1999 | local radz=0 | |
2000 | coroutine.resume(coroutine.create(function() | |
2001 | while ref1.Parent~=nil do | |
2002 | radz=radz+24 | |
2003 | ref1.CFrame=ref1.CFrame*CFrame.new(0,0,-1) | |
2004 | Effect(e,"Olivine",ref1.CFrame*CFrame.Angles(0,math.rad(radz),0),5,4,5,3,2,3,.08,"FileMesh",6,0,"1051557") | |
2005 | LockEffect(e,"Olivine",ref1.CFrame,ref1,2,2,2,6,6,6,.08,"Brick",1,0,"") | |
2006 | Effect(e,"Olivine",ref1.CFrame*CFrame.new(0,-1.8,0)*CFrame.Angles(0,math.rad(radz),0),5,.3,5,1.4,.4,1.4,.07,"FileMesh",2,math.random(-5,5),"20329976") | |
2007 | Mdamage("Wind",ref1,15,math.random(3,4),0,"") | |
2008 | swait(2) | |
2009 | end | |
2010 | end)) | |
2011 | for i=0,1,0.04 do | |
2012 | swait() | |
2013 | RJ.C0=clerp(RJ.C0,CFrame.new(1.25523657e-05, -0.0822996572, -0.0451444313, 0.738116086, -1.26486043e-07, -0.674673796, 0.0587351732, 0.996203363, 0.0642580912, 0.672112286, -0.0870569944, 0.735313773)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2014 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.100675002, 1.55531347, -0.105848208, 0.724777937, -0.117443964, 0.678899169, -2.84732073e-06, 0.985364258, 0.170462966, -0.688982546, -0.1235497, 0.714169919)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2015 | RS.C0=clerp(RS.C0,CFrame.new(1.8776567, 0.0713712722, -0.32728371, 0.35267517, -0.841815352, 0.408616364, 0.896032453, 0.429673374, 0.111834109, -0.26971519, 0.326692343, 0.905829012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2016 | LS.C0=clerp(LS.C0,CFrame.new(-1.66632402, 0.0740345269, -0.323752016, 0.949790835, 0.2798177, -0.139998615, -0.308992952, 0.909204006, -0.279054791, 0.0492028594, 0.308302253, 0.950015247)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2017 | RH.C0=clerp(RH.C0,CFrame.new(0.654585898, -2.03037429, 0.165298417, 0.730504274, -0.157548994, 0.66448617, 1.74868171e-06, 0.973024666, 0.230701193, -0.682908118, -0.168527082, 0.710798979)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2018 | LH.C0=clerp(LH.C0,CFrame.new(-0.93840462, -1.90897703, -0.37861383, 0.653578281, 0.116541043, 0.747832775, -2.46678837e-07, 0.988074124, -0.153979674, -0.756858945, 0.100637585, 0.645783901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2019 | end | |
2020 | ||
2021 | elseif choice==3 then | |
2022 | local grabbed=nil | |
2023 | ||
2024 | local ref1=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,0) | |
2025 | meshs(ref1,"Mesh",Vector3.new(6,6,6),Enum.MeshType.Sphere,"") | |
2026 | local refWeld=welds(ref1,"R2Weld",RArm,ref1,CFrame.new(0, -1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0,0,0)) | |
2027 | local ref2=parts(e,"ref",Vector3.new(.2,.2,.2),col[1],Enum.Material.Neon,0,.6) | |
2028 | meshs(ref2,"Mesh",Vector3.new(10,10,10),Enum.MeshType.Sphere,"") | |
2029 | local refWeld=welds(ref2,"R2Weld",RArm,ref2,CFrame.new(0, -1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0,0,0)) | |
2030 | LockEffect(e,col[1],ref1.CFrame,ref1,2,2,2,4,4,4,.07,"Sphere",6,0,"") | |
2031 | ||
2032 | sounds(ref1,"400765064",1,1.6) | |
2033 | sounds(Root,"2767090",1.2,1.2) | |
2034 | for i=0,1,0.03 do | |
2035 | swait() | |
2036 | local grab=FindNearestTorso(RArm.Position,4) | |
2037 | if grab~=nil and grabbed==nil then | |
2038 | grabbed=grab | |
2039 | sounds(grab,"200632875",1.2,1) | |
2040 | ref1.Transparency=1 | |
2041 | ref2.Transparency=1 | |
2042 | end | |
2043 | if grabbed~=nil then | |
2044 | grabbed.CFrame=RArm.CFrame*CFrame.new(0,-1.3,0)*CFrame.Angles(-math.rad(90),0,0) | |
2045 | end | |
2046 | Root.Velocity=Root.CFrame.lookVector*100 | |
2047 | Effect(e,col[1],RLeg.CFrame*CFrame.new(0,-1,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2048 | Effect(e,col[1],LLeg.CFrame*CFrame.new(0,-1,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2049 | RJ.C0=clerp(RJ.C0,CFrame.new(-3.95476818e-05, -0.805751622, -0.373705924, 0.410960197, -3.67426978e-08, -0.91165334, 0.340748519, 0.927521467, 0.153604463, 0.845578194, -0.37376982, 0.381174386)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2050 | Neck.C0=clerp(Neck.C0,CFrame.new(0.164378285, 1.46717274, -0.0596249029, 0.410960197, -0.0320049822, 0.911091506, -3.67426978e-08, 0.999383569, 0.0351065099, -0.91165334, -0.0144274235, 0.410706848)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2051 | RS.C0=clerp(RS.C0,CFrame.new(1.87885034, 0.424660593, -0.693294346, 0.637165308, -0.767974138, 0.0650874451, 0.255559325, 0.130846128, -0.95789808, 0.727124453, 0.626973152, 0.279633552)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2052 | LS.C0=clerp(LS.C0,CFrame.new(-1.46604145, 0.505524516, -0.609988809, 0.058447063, 0.327494889, -0.943043709, -0.996839285, -0.0317716189, -0.0728145912, -0.053808406, 0.944318771, 0.324602813)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2053 | RH.C0=clerp(RH.C0,CFrame.new(0.950460553, -1.95577824, 0.20016557, 0.812948048, -0.416581929, -0.406909257, 0.459606081, 0.888076782, 0.00904171169, 0.357600003, -0.194368392, 0.913424015)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2054 | LH.C0=clerp(LH.C0,CFrame.new(-1.32565701, -0.835368335, -0.34942764, 0.470233411, 0.561475813, 0.680900633, 0.0216006599, 0.763968527, -0.644891739, -0.882277787, 0.31795752, 0.347115278)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2055 | end | |
2056 | hum.WalkSpeed=0 | |
2057 | for i=0,1,0.07 do | |
2058 | swait() | |
2059 | if grabbed~=nil then | |
2060 | grabbed.CFrame=RArm.CFrame*CFrame.new(0,-1.3,0)*CFrame.Angles(-math.rad(90),0,0) | |
2061 | end | |
2062 | RJ.C0=clerp(RJ.C0,CFrame.new(5.18746674e-06, -0.913503587, -0.278308749, 0.249630064, -5.95164238e-08, 0.968341351, 0.404667675, 0.908494115, -0.104319789, -0.87973237, 0.417897791, 0.226787448)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2063 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.171314687, 1.40448451, 0.0441576354, 0.249630064, -0.246295452, -0.936495423, -5.95164238e-08, 0.967113018, -0.254347742, 0.968341351, 0.0634929091, 0.241420418)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2064 | RS.C0=clerp(RS.C0,CFrame.new(1.71731317, 1.32349575, -0.285644293, -0.866462886, -0.413608044, 0.279590011, 0.453933239, -0.885811567, 0.0963464901, 0.207814321, 0.210395813, 0.95527333)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2065 | LS.C0=clerp(LS.C0,CFrame.new(-1.94655478, 0.581689835, -0.359367311, -0.0202600658, 0.943094373, -0.33190757, -0.994043946, -0.0545569398, -0.0943423733, -0.107081637, 0.328019321, 0.93858242)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2066 | RH.C0=clerp(RH.C0,CFrame.new(0.808143616, -1.6289773, -0.0854113251, 0.232678771, 0.215462193, -0.94838649, -0.02221727, 0.976073921, 0.216301635, 0.972299933, -0.0292582344, 0.231898651)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2067 | LH.C0=clerp(LH.C0,CFrame.new(-1.50866926, -0.975405693, 0.109960198, 0.100519896, 0.983781099, -0.148562118, 0.0883358121, 0.139904007, 0.986216962, 0.991005898, -0.112257764, -0.0728399605)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45) | |
2068 | end | |
2069 | ||
2070 | CameraShake(150,Head,3,.07) | |
2071 | ||
2072 | sounds(ref1,"206082327",1.2,.9) | |
2073 | sounds(ref1,"199145534",1.1,1.3) | |
2074 | Mdamage("None",ref1,14,math.random(25,35),0,"") | |
2075 | if grabbed~=nil and grabbed.Parent~=nil then | |
2076 | grabbed.Parent:BreakJoints() | |
2077 | end | |
2078 | Effect(e,col[1],ref1.CFrame,1,1,1,5,5,5,.06,"Sphere",6,0,"") | |
2079 | Effect(e,col[1],ref1.CFrame,1,1,1,8,8,8,.06,"Sphere",6,0,"") | |
2080 | for i=1,2 do | |
2081 | Effect(e,col[1],ref1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,2,2,.1,.04,"FileMesh",6,0,"3270017") | |
2082 | end | |
2083 | for i=1,8 do | |
2084 | Effect(e,col[1],ref1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,22,0,0,0,.02,"Sphere",3,-.5,"") | |
2085 | end | |
2086 | ref1.Transparency=1 | |
2087 | ref2.Transparency=1 | |
2088 | game:GetService("Debris"):AddItem(ref1,3) | |
2089 | game:GetService("Debris"):AddItem(ref2,3) | |
2090 | for i=0,1,0.05 do | |
2091 | swait() | |
2092 | RS.C0=clerp(RS.C0,CFrame.new(1.71731317, 1.32349575, -0.285644293, -0.866462886, -0.413608044, 0.279590011, 0.453933239, -0.885811567, 0.0963464901, 0.207814321, 0.210395813, 0.95527333)*CFrame.new(0,.4,0)*CFrame.Angles(0,0,0),.4) | |
2093 | end | |
2094 | ||
2095 | elseif choice==4 then | |
2096 | hum.WalkSpeed=0 | |
2097 | hum.JumpPower=0 | |
2098 | sounds(Root,"588733125",1.1,.7) | |
2099 | for i=0,1,0.04 do | |
2100 | swait() | |
2101 | Effect(e,col[1],RArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2102 | Effect(e,col[1],LArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2103 | RJ.C0=clerp(RJ.C0,CFrame.new(6.00931378e-15, -1.17707562, -0.169359982, 1, -4.80336503e-15, -1.7296489e-15, -5.10529119e-15, 0.940860152, 0.338795334, 0, -0.338795334, 0.940860152)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2104 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.56103146, -0.180980295, 1, 0, 0, 0, 0.940576434, 0.339582145, 0, -0.339582145, 0.940576434)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2105 | RS.C0=clerp(RS.C0,CFrame.new(0.800449967, -0.187214166, -0.887697816, 0.912252486, 0.409397066, 0.0137643171, -0.287467182, 0.66377306, -0.690484047, -0.29181847, 0.625939012, 0.723216832)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2106 | LS.C0=clerp(LS.C0,CFrame.new(-0.744458914, -0.00975477695, -1.03553545, 0.804527998, -0.553871632, -0.214385211, 0.0958740115, 0.477351785, -0.873466492, 0.586125493, 0.682174206, 0.437144727)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2107 | RH.C0=clerp(RH.C0,CFrame.new(0.469845772, -1.71390557, 0.771302402, 1, 0, 0, 0, 0.589814305, 0.807539105, 0, -0.807539105, 0.589814246)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2108 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -0.680210114, -0.91726172, 1, 0, 0, 0, 0.82908982, -0.559115708, 0, 0.559115708, 0.82908982)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2109 | end | |
2110 | for i=0,1,0.06 do | |
2111 | swait() | |
2112 | Effect(e,col[1],RArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2113 | Effect(e,col[1],LArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,1,1,1,.07,"Brick",1,0,"") | |
2114 | Neck.C0=clerp(Neck.C0,CFrame.new(-4.47034836e-07, 1.51806176, 0.0463362709, 1, 0, 0, 0, 0.996593475, -0.082471624, 0, 0.082471624, 0.996593475)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2115 | end | |
2116 | Effect(e,col[1],RArm.CFrame*CFrame.new(0,-1.5,0),1,1,1,4,4,4,.07,"Brick",1,0,"") | |
2117 | local refy=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2118 | refy.Anchored=true | |
2119 | refy.CFrame=Root.CFrame*CFrame.new(0,-2,0) | |
2120 | game:GetService("Debris"):AddItem(refy,10) | |
2121 | coroutine.resume(coroutine.create(function() | |
2122 | for i=1,50 do | |
2123 | swait(1) | |
2124 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,.4,0) | |
2125 | meshs(refz,"Mesh",Vector3.new(2+(i/30), 6+(i/30), 2+(i/30)),Enum.MeshType.FileMesh,"1778999") | |
2126 | refz.Anchored=true | |
2127 | sounds(refz,"588732660",1.1,1) | |
2128 | game:GetService("Debris"):AddItem(refz,10) | |
2129 | refz.CFrame=refy.CFrame*CFrame.Angles(0,math.rad(math.random(-15,15)),0)*CFrame.new(0,-2,-8-(i*1.5))*CFrame.Angles(-math.rad(30),0,math.rad(math.random(-12,12))) | |
2130 | Mdamage("None",refz,7+(i/5),math.random(12,15),.02,"") | |
2131 | coroutine.resume(coroutine.create(function() | |
2132 | Effect(e,"Cyan",refz.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,9,9,9,.08,"Brick",1,0,"") | |
2133 | for i=1,20 do | |
2134 | swait() | |
2135 | refz.CFrame=refz.CFrame*CFrame.new(0,.2+i/120,0) | |
2136 | end | |
2137 | swait(150) | |
2138 | for i=1,20 do | |
2139 | swait() | |
2140 | refz.Transparency=refz.Transparency+.05 | |
2141 | refz.CFrame=refz.CFrame*CFrame.new(0,-.4+i/100,0) | |
2142 | end | |
2143 | refz:Remove() | |
2144 | end)) | |
2145 | end | |
2146 | end)) | |
2147 | ||
2148 | for i=0,1,0.04 do | |
2149 | swait() | |
2150 | Torso.Velocity=Root.CFrame.lookVector*-15 | |
2151 | RJ.C0=clerp(RJ.C0,CFrame.new(4.76837158e-07, -0.944757998, 0.155951917, 1, -4.4502178e-17, 1.4605179e-17, -4.68375339e-17, 0.950139403, -0.311826378, 0, 0.311824679, 0.950139701)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2152 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.58596992, -0.16490005, 1, 0, 0, 0, 0.969312131, 0.245831758, 0, -0.245833457, 0.969312668)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2153 | RS.C0=clerp(RS.C0,CFrame.new(1.97497809, 0.438210815, -0.191041768, 0.0243609957, -0.97459954, 0.222625896, 0.982131004, 0.064901717, 0.176652864, -0.186615437, 0.214344397, 0.958765805)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2154 | LS.C0=clerp(LS.C0,CFrame.new(-2.05303121, 0.509687543, -0.300363779, -0.0873610303, 0.933307707, -0.348288387, -0.965731263, 0.00642960519, 0.25946337, 0.244400203, 0.359020233, 0.900763094)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2155 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -1.44184816, 1.17676687, 1, 0, 0, 0, 0.0799156725, 0.996801257, 0, -0.99680233, 0.079914242)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2156 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -1.43480039, -0.347751558, 1, 0, 0, 0, 0.900971234, 0.433878124, 0, -0.433879882, 0.900971353)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2157 | end | |
2158 | ||
2159 | elseif choice==5 then | |
2160 | hum.WalkSpeed=8 | |
2161 | for i=0,1,0.07 do | |
2162 | swait() | |
2163 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.85452656e-15, -3.23117427e-27, -2.15452656e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,-.2,0)*CFrame.Angles(0,0,0),.4) | |
2164 | Neck.C0=clerp(Neck.C0,CFrame.new(-2.38418579e-07, 1.51055896, -0.0127647072, 1, -1.07478285e-15, -7.30631761e-17, -1.07726328e-15, 0.997697473, 0.0678229481, 0, -0.0678229555, 0.997697473)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2165 | RS.C0=clerp(RS.C0,CFrame.new(1.52165616, 1.26009512, -3.76836433e-05, -0.992719233, -0.120452031, -3.23179013e-20, 0.120452031, -0.992719233, 2.99999992e-05, -3.61356092e-06, 2.97815768e-05, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2166 | LS.C0=clerp(LS.C0,CFrame.new(-0.983192325, -0.0979874432, 0.472811818, 0.893586993, -0.448817492, 0.00807471853, 0.397765756, 0.800024748, 0.449157983, -0.208049938, -0.398149818, 0.893415928)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2167 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2168 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2169 | end | |
2170 | sounds(RArm,"188959311",1.2,1) | |
2171 | Effect(e,col[1],RArm.CFrame*CFrame.new(0,-1.2,0),45,45,45,-2,-2,-2,.06,"Brick",1,0,"") | |
2172 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,.4,1) | |
2173 | refz.Anchored=true | |
2174 | refz.CFrame=RArm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0) | |
2175 | game:GetService("Debris"):AddItem(refz,5) | |
2176 | coroutine.resume(coroutine.create(function() | |
2177 | local masd=mouse.Hit.p | |
2178 | ||
2179 | Mdamage("None",refz,15,math.random(15,18),0,"") | |
2180 | Effect(e,"Royal purple",refz.CFrame,65,65,65,-7,-7,-7,.08,"Sphere",6,0,"") | |
2181 | for i=1,60 do | |
2182 | swait() | |
2183 | refz.CFrame=clerp(refz.CFrame,CFrame.new(masd),.1) | |
2184 | Effect(e,"Royal purple",refz.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0,0,12,.09,"Sphere",6,0,"") | |
2185 | end | |
2186 | sounds(refz,"1325061182",1.6,1.3) | |
2187 | sounds(refz,"151776391",1.6,1) | |
2188 | local ref1=parts(refz,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,.4,1) | |
2189 | ref1.Anchored=true | |
2190 | ref1.CFrame=refz.CFrame*CFrame.new(0,1,0) | |
2191 | local ref2=parts(refz,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,.4,1) | |
2192 | ref2.Anchored=true | |
2193 | ref2.CFrame=refz.CFrame*CFrame.new(0,1,0) | |
2194 | for i=-0,1,.02 do | |
2195 | swait() | |
2196 | ref1.CFrame=refz.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,1,i*42) | |
2197 | ref2.CFrame=refz.CFrame*CFrame.Angles(0,math.rad(0-720*i),0)*CFrame.new(0,1,-i*42) | |
2198 | Effect(e,"Royal purple",ref1.CFrame,12,12,12,5,5,5,.05,"Sphere",6,0,"") | |
2199 | Effect(e,"Alder",ref1.CFrame,11,11,11,4,4,4,.05,"Sphere",6,0,"") | |
2200 | Effect(e,"Alder",ref1.CFrame,11,11,11,4,4,4,.05,"Brick",1,0,"") | |
2201 | Mdamage("None",ref1,12,math.random(15,18),0.04,"") | |
2202 | Effect(e,"Royal purple",ref2.CFrame,12,12,12,5,5,5,.05,"Sphere",6,0,"") | |
2203 | Effect(e,"Alder",ref2.CFrame,11,11,11,4,4,4,.05,"Sphere",6,0,"") | |
2204 | Effect(e,"Alder",ref2.CFrame,11,11,11,4,4,4,.05,"Brick",1,0,"") | |
2205 | Mdamage("None",ref2,12,math.random(15,18),0.04,"") | |
2206 | end | |
2207 | end)) | |
2208 | for i=0,1,0.07 do | |
2209 | swait() | |
2210 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.85452656e-15, -3.23117427e-27, -2.15452656e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,-.2,0)*CFrame.Angles(0,0,0),.4) | |
2211 | Neck.C0=clerp(Neck.C0,CFrame.new(-2.38418579e-07, 1.51055896, -0.0127647072, 1, -1.07478285e-15, -7.30631761e-17, -1.07726328e-15, 0.997697473, 0.0678229481, 0, -0.0678229555, 0.997697473)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2212 | RS.C0=clerp(RS.C0,CFrame.new(1.62226772, 1.23509347, -3.69335976e-05, -0.959269106, -0.282494038, -3.23179013e-20, 0.282494038, -0.959269106, 2.99999992e-05, -8.47482079e-06, 2.87780731e-05, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2213 | LS.C0=clerp(LS.C0,CFrame.new(-0.983192325, -0.0979874432, 0.472811818, 0.893586993, -0.448817492, 0.00807471853, 0.397765756, 0.800024748, 0.449157983, -0.208049938, -0.398149818, 0.893415928)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2214 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2215 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2216 | end | |
2217 | ||
2218 | elseif choice==6 then | |
2219 | ||
2220 | for i=0,1,0.1 do | |
2221 | swait() | |
2222 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2223 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.40514719e-16, 1.50002265, 3.81469727e-06, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2224 | RS.C0=clerp(RS.C0,CFrame.new(1.50838256, 1.22279298, -0.0667292699, 0.990302503, -0.138928249, -4.3769127e-08, -0.138721839, -0.988831222, -0.0544900708, 0.00757016521, 0.0539616533, -0.998514414)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2225 | LS.C0=clerp(LS.C0,CFrame.new(-0.871417761, -0.147628829, 0.549702168, 0.832722127, -0.530777693, 0.157635748, 0.387307197, 0.761839628, 0.519224048, -0.395685673, -0.371315807, 0.839974761)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2226 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.10708332, -0.233533353, 1, -4.53134304e-17, -1.18510721e-17, -4.68375339e-17, 0.967459798, 0.253025115, 0, -0.253025115, 0.967459798)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2227 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -2.06652951, 0.29434827, 1, -4.54794456e-17, -1.11970857e-17, -4.68375339e-17, 0.971004307, 0.23906225, 0, -0.23906225, 0.971004307)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2228 | end | |
2229 | ||
2230 | Lightning(e,RArm.Position, mouse.Hit.p, 15, 1, col[1], .8, 0, .02) | |
2231 | ||
2232 | ||
2233 | elseif choice==7 then | |
2234 | hum.WalkSpeed=0 | |
2235 | sounds(RArm,"588737452",1.3,.7) | |
2236 | local refs=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2237 | local refWeld=welds(refs,"R2Weld",RArm,refs,CFrame.new(0, -1.2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0,0,0)) | |
2238 | game:GetService("Debris"):AddItem(refs,5) | |
2239 | for i=0,1,0.03 do | |
2240 | swait() | |
2241 | LockEffect(e,col[1],refs.CFrame,refs,1,1,1,.8,.8,.8,.1,"Brick",1,0,"") | |
2242 | Effect(e,col[1],refs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,.4,.4,.4,.08,"Sphere",3,.3,"") | |
2243 | RJ.C0=clerp(RJ.C0,CFrame.new(-7.1694285e-07, -0.115567684, -4.32867018e-05, 0.188919917, -7.02563008e-16, 0.981992543, -2.94597758e-05, 1, 5.66759718e-06, -0.981992543, -2.99999992e-05, 0.188919917)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2244 | Neck.C0=clerp(Neck.C0,CFrame.new(0.145333856, 1.50490248, 0.0145381317, 0.188919917, 0.310079902, -0.931750953, 0, 0.948837101, 0.315766037, 0.981992543, -0.0596544929, 0.179254219)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2245 | RS.C0=clerp(RS.C0,CFrame.new(1.83202589, 0.0988616049, -0.349778682, 0.694897592, -0.671097994, 0.258350432, 0.696331024, 0.717667758, -0.00872217305, -0.179556355, 0.185958445, 0.966011941)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2246 | LS.C0=clerp(LS.C0,CFrame.new(-1.70524883, 0.0745566338, -0.233700261, 0.870548964, 0.481558561, -0.101221561, -0.492081702, 0.851939082, -0.179040372, 1.61677599e-05, 0.205672726, 0.978620887)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2247 | RH.C0=clerp(RH.C0,CFrame.new(0.642196834, -1.93521571, -0.0256682932, 0.177223787, -0.0520141758, -0.982795238, 0, 0.99860245, -0.0528507754, 0.984170616, 0.00936641358, 0.176976115)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2248 | LH.C0=clerp(LH.C0,CFrame.new(-0.594589353, -1.97232008, -0.145275459, 0.991398931, 0.122632131, 0.0457128882, -0.116721973, 0.986484885, -0.114993982, -0.0591970086, 0.108669207, 0.992313981)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2249 | end | |
2250 | Effect(e,col[1],refs.CFrame,1,1,1,2,2,2,.06,"Brick",1,0,"") | |
2251 | ||
2252 | ||
2253 | local function lasr() | |
2254 | sounds(RArm,"379557765",1.3,math.random(20,30)/10) | |
2255 | local refss=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2256 | refss.Anchored=true | |
2257 | refss.CFrame=RArm.CFrame | |
2258 | game:GetService("Debris"):AddItem(refss,.1) | |
2259 | local hit,pos=rayCast(refss.Position,-RArm.CFrame.UpVector,999,chr) | |
2260 | refss.Position=pos | |
2261 | local pas=(refs.Position-refss.Position).magnitude | |
2262 | if hit~=nil then | |
2263 | Damage("None",refss,hit,math.random(8,10),.2,"") | |
2264 | end | |
2265 | Effect(e,col[1],refss.CFrame,1,1,1,2,2,2,.1,"Brick",1,0,"") | |
2266 | Effect(e,col[1],CFrame.new((refs.Position+refss.Position)/2,refss.Position)*CFrame.Angles(0,math.rad(90),0),pas*5,1,1,0,.6,.6,.07,"Cylinder",6,0,"") | |
2267 | ||
2268 | local refsss=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2269 | refsss.Anchored=true | |
2270 | refsss.CFrame=CFrame.new(refss.Position) | |
2271 | ||
2272 | game:GetService("Debris"):AddItem(refsss,8) | |
2273 | Effect(e,col[1],refsss.CFrame,1,1,1,2,2,2,.04,"Brick",1,0,"") | |
2274 | coroutine.resume(coroutine.create(function() | |
2275 | Effect(e,col[1],refsss.CFrame,2,2,2,0,0,0,.01,"Brick",1,0,"") | |
2276 | swait(80) | |
2277 | sounds(refsss,"588695708",1.3,.7) | |
2278 | Effect(e,"Bright orange",refsss.CFrame,2,2,2,4,4,4,.06,"Brick",1,0,"") | |
2279 | Mdamage("None",refsss,8,math.random(7,8),0,"") | |
2280 | end)) | |
2281 | end | |
2282 | ||
2283 | for i=0,1,0.01 do | |
2284 | swait() | |
2285 | lasr() | |
2286 | LockEffect(e,col[1],refs.CFrame,refs,1,1,1,.8,.8,.8,.1,"Brick",1,0,"") | |
2287 | Effect(e,col[1],refs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,.4,.4,.4,.08,"Sphere",3,.3,"") | |
2288 | RJ.C0=clerp(RJ.C0,CFrame.new(-7.1694285e-07, -0.115567684, -4.32867018e-05, 0.188919917, -7.02563008e-16, 0.981992543, -2.94597758e-05, 1, 5.66759718e-06, -0.981992543, -2.99999992e-05, 0.188919917)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2289 | Neck.C0=clerp(Neck.C0,CFrame.new(0.145335227, 1.50490153, 0.0145378578, 0.188919917, 0.018436905, -0.981819451, 0, 0.999823749, 0.0187749974, 0.981992543, -0.00354697066, 0.188886613)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.06) | |
2290 | RS.C0=clerp(RS.C0,CFrame.new(1.99503291, 0.504822254, -0.389725208, -0.0171545371, -0.965878367, 0.258427978, 0.999760211, -0.0200885795, -0.00871692039, 0.0136109358, 0.25821653, 0.965991199)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.06) | |
2291 | LS.C0=clerp(LS.C0,CFrame.new(-1.70524883, 0.0745566338, -0.233700261, 0.870548964, 0.481558561, -0.101221561, -0.492081702, 0.851939082, -0.179040372, 1.61677599e-05, 0.205672726, 0.978620887)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2292 | RH.C0=clerp(RH.C0,CFrame.new(0.642196834, -1.93521571, -0.0256682932, 0.177223787, -0.0520141758, -0.982795238, 0, 0.99860245, -0.0528507754, 0.984170616, 0.00936641358, 0.176976115)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2293 | LH.C0=clerp(LH.C0,CFrame.new(-0.594589353, -1.97232008, -0.145275459, 0.991398931, 0.122632131, 0.0457128882, -0.116721973, 0.986484885, -0.114993982, -0.0591970086, 0.108669207, 0.992313981)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2294 | end | |
2295 | ||
2296 | elseif choice==8 then | |
2297 | ||
2298 | elseif choice==9 then | |
2299 | doing=true | |
2300 | local sas=mouse.KeyDown:connect(function(k) | |
2301 | k=k:lower() | |
2302 | if k=="z" and doing==true then | |
2303 | doing=false | |
2304 | end | |
2305 | end) | |
2306 | local refe=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2307 | refe.Anchored=true | |
2308 | haa=refe | |
2309 | local refs=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2310 | local refWeld=welds(refs,"R2Weld",RArm,refs,CFrame.new(0, -1.2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0,0,0)) | |
2311 | ||
2312 | ||
2313 | local numz=0 | |
2314 | while doing==true do | |
2315 | swait() | |
2316 | numz=numz+1 | |
2317 | refe.CFrame=CFrame.new(mouse.Hit.p)*CFrame.Angles(math.rad(90),0,0) | |
2318 | if numz==10 then | |
2319 | numz=0 | |
2320 | LockEffect(workspace.CurrentCamera,col[1],refe.CFrame,refe,2,2,1,4,4,0,.07,"FileMesh",6,0,"3270017") | |
2321 | LockEffect(e,col[1],refs.CFrame,refs,1,1,1,.6,.6,0,.08,"FileMesh",1,0,"3270017") | |
2322 | end | |
2323 | LockEffect(e,col[1],refs.CFrame,refs,1,1,1,1,1,1,.1,"Brick",1,0,"") | |
2324 | hum.WalkSpeed=8 | |
2325 | if attack2==false then | |
2326 | RJ.C0=clerp(RJ.C0,CFrame.new(9.82645361e-07, -.2-.1*math.cos(sin/25), -5.42081143e-05, 0.647161186, -1.46387433e-11, 0.762353182, -2.28706049e-05, 1, 1.94148233e-05, -0.762353182, -2.99999992e-05, 0.647161186)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2327 | Neck.C0=clerp(Neck.C0,CFrame.new(-2.54695206e-05, 1.5000248, 3.12392112e-05, 0.641426861, 0, -0.767184138, 0, 1, 0, 0.767184138, 0, 0.641426861)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2328 | RS.C0=clerp(RS.C0,CFrame.new(1.40617871, 1.34100902, -0.55221802, 0.556814194, -0.251128912, 0.791765332, -7.40000323e-05, -0.953217447, -0.302285641, 0.830637097, 0.168258324, -0.530783594)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2329 | LS.C0=clerp(LS.C0,CFrame.new(-1.53162372, 0.100231051, -4.13375892e-06, 0.970351577, 0.241698042, -6.85453415e-07, -0.241698056, 0.970351517, -6.14382225e-06, -8.94069672e-07, 6.11692667e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2330 | RH.C0=clerp(RH.C0,CFrame.new(0.500023007, -1.80007105+.1*math.cos(sin/25), -5.93066216e-05, 0.528373897, 0, -0.849011838, 0, 1, 0, 0.849011838, 0, 0.528373897)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2331 | LH.C0=clerp(LH.C0,CFrame.new(-0.500042558, -1.80007105+.1*math.cos(sin/25), -7.36862421e-05, 0.625953257, 0, -0.779860556, 0, 1, 0, 0.779860556, 0, 0.625953257)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2332 | end | |
2333 | end | |
2334 | haa=nil | |
2335 | refe:Remove() | |
2336 | sas:Disconnect() | |
2337 | end | |
2338 | ||
2339 | else | |
2340 | ||
2341 | if choice==1 then | |
2342 | hum.WalkSpeed=8 | |
2343 | for i=0,1,0.08 do | |
2344 | swait() | |
2345 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2346 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08187918e-15, 1.53990352, 0.166146547, 1, -6.63869907e-16, 2.29938105e-16, -7.02563008e-16, 0.944925845, -0.327284664, 0, 0.327284664, 0.944925845)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2347 | RS.C0=clerp(RS.C0,CFrame.new(1.32545364, 1.29256904, -0.409047306, 0.118548028, 0.127795905, 0.98469013, 0.445469737, -0.893128037, 0.0622820929, 0.887413859, 0.431266218, -0.162807748)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2348 | LS.C0=clerp(LS.C0,CFrame.new(-0.0991366506, 0.968719363, -0.563359261, 0.160328016, -0.822585762, 0.54557097, 0.364644527, -0.464262813, -0.807152033, 0.917240143, 0.328348547, 0.22551702)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2349 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2350 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2351 | end | |
2352 | sounds(RArm,"1222885383",1,1) | |
2353 | for i=0,1,0.09 do | |
2354 | swait() | |
2355 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2356 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08187918e-15, 1.53990352, 0.166146547, 1, -6.63869907e-16, 2.29938105e-16, -7.02563008e-16, 0.944925845, -0.327284664, 0, 0.327284664, 0.944925845)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2357 | RS.C0=clerp(RS.C0,CFrame.new(1.32545364, 1.29256904, -0.409047306, 0.118548028, 0.127795905, 0.98469013, 0.445469737, -0.893128037, 0.0622820929, 0.887413859, 0.431266218, -0.162807748)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2358 | LS.C0=clerp(LS.C0,CFrame.new(-0.0283950269, 0.783390403, -0.502045631, 0.160330951, -0.926400006, 0.340700865, 0.364636421, -0.265162021, -0.89259696, 0.917242765, 0.267342865, 0.295285523)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2359 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2360 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2361 | end | |
2362 | for i=0,1,0.08 do | |
2363 | swait() | |
2364 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2365 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08187918e-15, 1.53990352, 0.166146547, 1, -6.63869907e-16, 2.29938105e-16, -7.02563008e-16, 0.944925845, -0.327284664, 0, 0.327284664, 0.944925845)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2366 | RS.C0=clerp(RS.C0,CFrame.new(1.32545364, 1.29256904, -0.409047306, 0.118548028, 0.127795905, 0.98469013, 0.445469737, -0.893128037, 0.0622820929, 0.887413859, 0.431266218, -0.162807748)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2367 | LS.C0=clerp(LS.C0,CFrame.new(-0.0991366506, 0.968719363, -0.563359261, 0.160328016, -0.822585762, 0.54557097, 0.364644527, -0.464262813, -0.807152033, 0.917240143, 0.328348547, 0.22551702)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2368 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2369 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2370 | end | |
2371 | for i=0,1,0.07 do | |
2372 | swait() | |
2373 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2374 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08059784e-15, 1.53807974, -0.0334641188, 1, -6.94644361e-16, -1.05185445e-16, -7.02563008e-16, 0.988729, 0.14971675, 0, -0.14971675, 0.988729)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2375 | RS.C0=clerp(RS.C0,CFrame.new(1.0236448, 0.510529995, -1.07723355, -0.0622590072, 0.162809014, 0.984691381, 0.998046279, 0.00497597037, 0.0622806735, 0.00524005899, 0.986645103, -0.162800714)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2376 | LS.C0=clerp(LS.C0,CFrame.new(-0.226216763, 0.511607587, -0.778035164, 0.336760134, -0.938928425, 0.0707538649, 0.22414054, 0.00695441896, -0.974532068, 0.914523661, 0.344042391, 0.212793902)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2377 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2378 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2379 | end | |
2380 | for i=1,50 do | |
2381 | sounds(RArm,"433799645",.7,1.7) | |
2382 | Effect(e,col[2],RArm.CFrame*CFrame.new(0,-1.2,0),1,1,1,1,1,1,.1,"Brick",1,0,"") | |
2383 | coroutine.resume(coroutine.create(function() | |
2384 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,0) | |
2385 | meshs(refz,"Mesh",Vector3.new(1.4,1.4,12),Enum.MeshType.Sphere,"") | |
2386 | refz.Anchored=true | |
2387 | refz.CFrame=RArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(90),0,0) | |
2388 | game:GetService("Debris"):AddItem(refz,5) | |
2389 | local ha=refz.Position | |
2390 | local dec=CFrame.new(ha,mouse.Hit.p) | |
2391 | while refz.Parent~=nil do | |
2392 | swait() | |
2393 | local hit,pos=rayCast(ha,dec.LookVector,6,chr) | |
2394 | refz.CFrame=CFrame.new(ha,pos) | |
2395 | ha=ha+(dec.LookVector*6) | |
2396 | Effect(e,col[2],refz.CFrame,2,2,2,-.6,-.6,-.6,.1,"Brick",1,0,"") | |
2397 | if hit~=nil then | |
2398 | sounds(refz,"1489924400",.8,1.05) | |
2399 | Damage("None",refz,hit,math.random(8,10),0,"1489924400",1,.9) | |
2400 | Effect(e,col[2],refz.CFrame,1,1,1,.6,.6,.6,.08,"Brick",1,0,"") | |
2401 | Effect(e,col[2],refz.CFrame,1,1,1,.6,.6,.6,.08,"Sphere",1,0,"") | |
2402 | game:GetService("Debris"):AddItem(refz,.3) | |
2403 | end | |
2404 | end | |
2405 | end)) | |
2406 | for i=0,1,0.8 do | |
2407 | swait() | |
2408 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2409 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08059784e-15, 1.53807974, -0.0334641188, 1, -6.94644361e-16, -1.05185445e-16, -7.02563008e-16, 0.988729, 0.14971675, 0, -0.14971675, 0.988729)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2410 | RS.C0=clerp(RS.C0,CFrame.new(1.0236448, 0.510529995, -1.07723355, -0.0622590072, 0.162809014, 0.984691381, 0.998046279, 0.00497597037, 0.0622806735, 0.00524005899, 0.986645103, -0.162800714)*CFrame.new(0,.4,0)*CFrame.Angles(0,0,0),1) | |
2411 | LS.C0=clerp(LS.C0,CFrame.new(-0.202133954, 0.532215238, -0.691665828, 0.26177907, -0.962530732, 0.070755817, 0.223992229, -0.0107189612, -0.974532068, 0.93877548, 0.270960838, 0.21279338)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),1) | |
2412 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2413 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2414 | end | |
2415 | for i=0,1,0.8 do | |
2416 | swait() | |
2417 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2418 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08059784e-15, 1.53807974, -0.0334641188, 1, -6.94644361e-16, -1.05185445e-16, -7.02563008e-16, 0.988729, 0.14971675, 0, -0.14971675, 0.988729)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2419 | RS.C0=clerp(RS.C0,CFrame.new(1.0236448, 0.510529995, -1.07723355, -0.0622590072, 0.162809014, 0.984691381, 0.998046279, 0.00497597037, 0.0622806735, 0.00524005899, 0.986645103, -0.162800714)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),1) | |
2420 | LS.C0=clerp(LS.C0,CFrame.new(-0.226216763, 0.511607587, -0.778035164, 0.336760134, -0.938928425, 0.0707538649, 0.22414054, 0.00695441896, -0.974532068, 0.914523661, 0.344042391, 0.212793902)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),1) | |
2421 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2422 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2423 | end | |
2424 | end | |
2425 | for i=0,1,0.05 do | |
2426 | swait() | |
2427 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -1.40512602e-15, -1.61558713e-27, -1.40512602e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2428 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.08059784e-15, 1.53807974, -0.0334641188, 1, -6.94644361e-16, -1.05185445e-16, -7.02563008e-16, 0.988729, 0.14971675, 0, -0.14971675, 0.988729)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2429 | RS.C0=clerp(RS.C0,CFrame.new(1.0236448, 0.510529995, -1.07723355, -0.0622590072, 0.162809014, 0.984691381, 0.998046279, 0.00497597037, 0.0622806735, 0.00524005899, 0.986645103, -0.162800714)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2430 | LS.C0=clerp(LS.C0,CFrame.new(-0.226216763, 0.511607587, -0.778035164, 0.336760134, -0.938928425, 0.0707538649, 0.22414054, 0.00695441896, -0.974532068, 0.914523661, 0.344042391, 0.212793902)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2431 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452, 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2432 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272, -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2433 | end | |
2434 | elseif choice==2 then | |
2435 | ||
2436 | elseif choice==3 then | |
2437 | hum.WalkSpeed=0 | |
2438 | hum.JumpPower=0 | |
2439 | sounds(RLeg,"199145659",1,1.2) | |
2440 | local al1=0 | |
2441 | local al2=0 | |
2442 | for i=0,1,0.02 do | |
2443 | swait() | |
2444 | al1=al1+1 | |
2445 | if al1==6 then | |
2446 | al1=0 | |
2447 | Effect(e,col[1],RLeg.CFrame*CFrame.new(0,-1,0),5+al2,5+al2,5+al2,-.5-(al2/10),-.5-(al2/10),-.5-(al2/10),.06,"Brick",1,0,"") | |
2448 | al2=al2+5 | |
2449 | end | |
2450 | Effect(e,col[2],RLeg.CFrame*CFrame.new(0,-1,0),5,5,5,0,0,0,.09,"Brick",1,0,"") | |
2451 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.55317218e-07, -1.52712246e-10, -5.09040865e-06, 0.971732259, -4.68375339e-17, 0.236086056, -7.08258131e-06, 1, 2.91519664e-05, -0.236086056, -2.99999992e-05, 0.971732259)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2452 | Neck.C0=clerp(Neck.C0,CFrame.new(0.0297667086, 1.54122853, -0.105499953, 0.935388565, 0.0522515103, -0.349740297, 0.0168560054, 0.981310666, 0.19169046, 0.353219986, -0.185200274, 0.917026043)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2453 | RS.C0=clerp(RS.C0,CFrame.new(1.52175832, 0.0616866052, -0.0898473561, 0.975628555, -0.144372985, 0.165243968, 0.142345965, 0.989523411, 0.0241075698, -0.166993216, 1.78068876e-06, 0.985958219)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2454 | LS.C0=clerp(LS.C0,CFrame.new(-1.53033578, 0.127833262, -2.49310233e-06, 0.981172085, 0.193136021, 1.04308128e-06, -0.193135977, 0.981172085, -5.2395776e-06, -2.04145908e-06, 4.93973494e-06, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2455 | RH.C0=clerp(RH.C0,CFrame.new(0.635033607, -1.04185045, -0.707005084, 0.965305209, -0.0319203548, -0.259166181, 0, 0.992500365, -0.122241907, 0.261124492, 0.118000746, 0.958065808)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2456 | LH.C0=clerp(LH.C0,CFrame.new(-0.50003159, -2.00007176, -6.49914145e-05, 0.954113245, 0.0167173985, -0.298979491, 0, 0.998440504, 0.0558276698, 0.299446493, -0.0532659143, 0.952625275)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.08) | |
2457 | end | |
2458 | for i=0,1,0.15 do | |
2459 | swait() | |
2460 | Effect(e,col[2],RLeg.CFrame*CFrame.new(0,-1,0),5,5,5,0,0,0,.09,"Brick",1,0,"") | |
2461 | RJ.C0=clerp(RJ.C0,CFrame.new(-5.58793545e-08, -0.220266312, -0.0807041526, 0.97173214, -5.57477335e-07, 0.236086324, -0.0437949635, 0.982643068, 0.180262536, -0.231988713, -0.185506284, 0.954865754)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.5) | |
2462 | Neck.C0=clerp(Neck.C0,CFrame.new(0.0785898268, 1.4985497, -0.232750058, 0.935386658, 0.10093347, -0.338916272, 0.0168530438, 0.944588661, 0.32782346, 0.353224784, -0.312353492, 0.881854653)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.5) | |
2463 | RS.C0=clerp(RS.C0,CFrame.new(1.53710949, 0.0708739534, -0.0314454883, 0.956587195, -0.255687475, 0.139875218, 0.239431605, 0.9630844, 0.123048335, -0.166173548, -0.0842159092, 0.982493877)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2464 | LS.C0=clerp(LS.C0,CFrame.new(-1.63690233, 0.0944070071, 0.15719083, 0.947024107, 0.315835506, 0.0582532585, -0.32116276, 0.93131727, 0.171763495, -3.27825546e-06, -0.181372955, 0.983414412)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2465 | RH.C0=clerp(RH.C0,CFrame.new(0.667365074, -1.72679579, -0.826531053, 0.965305924, -0.06797833, -0.252118111, 1.85623139e-06, 0.965521038, -0.260325253, 0.26112178, 0.251293033, 0.932023227)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.5) | |
2466 | LH.C0=clerp(LH.C0,CFrame.new(-0.500373304, -1.94011807, 0.24771297, 0.985988975, 0.073568508, -0.149711668, -0.0354126729, 0.969350815, 0.243115172, 0.163008735, -0.234407157, 0.958374381)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2467 | end | |
2468 | ||
2469 | local hit=nil | |
2470 | while hit==nil do | |
2471 | swait() | |
2472 | Effect(e,col[2],RLeg.CFrame*CFrame.new(0,-1,0),5,5,5,0,0,0,.09,"Brick",1,0,"") | |
2473 | hit,pos=rayCast(RLeg.Position,(CFrame.new(RLeg.Position,RLeg.Position-Vector3.new(0,1,0))).lookVector,3,chr) | |
2474 | end | |
2475 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2476 | refz.CFrame=RLeg.CFrame*CFrame.new(0,-1,0) | |
2477 | refz.Anchored=true | |
2478 | game:GetService("Debris"):AddItem(refz,3) | |
2479 | sounds(refz,"151776391",1.4,1.5) | |
2480 | sounds(refz,"588705525",1.4,1) | |
2481 | ||
2482 | Effect(e,col[2],CFrame.new(refz.Position),5,5,5,15,15,15,.06,"Sphere",6,0,"") | |
2483 | CameraShake(100,Head,3,.04) | |
2484 | for i=0,50,1 do | |
2485 | swait() | |
2486 | Mdamage("None",refz,i*1.4,math.random(5,7),0,HitSound[math.random(1,#HitSound)],1,1) | |
2487 | Effect(e,col[2],CFrame.new(refz.Position),5+(i/5),1,5+(i/5),i/6,i/14,i/6,.09,"FileMesh",2,math.random(-20,20),"20329976") | |
2488 | Effect(e,col[2],CFrame.new(refz.Position+Vector3.new(0,.5,0)),5,8,5,i*1.2,-(i/8),i*1.2,.09,"Sphere",6,0,"") | |
2489 | Effect(e,col[2],CFrame.new(refz.Position+Vector3.new(math.random(-i,i),.5,math.random(-i,i))),10,10,10,1,1,1,.06,"Brick",7,2,"") | |
2490 | Effect(e,col[2],CFrame.new(refz.Position+Vector3.new(math.random(-i,i),.5,math.random(-i,i))),10,10,10,1,1,1,.06,"Brick",7,2,"") | |
2491 | ||
2492 | end | |
2493 | ||
2494 | elseif choice==4 then | |
2495 | ||
2496 | elseif choice==5 then | |
2497 | hum.Jump=true | |
2498 | for i=0,1,0.03 do | |
2499 | swait() | |
2500 | Root.Velocity=(Root.CFrame.lookVector*80)+(Root.CFrame.upVector*80) | |
2501 | Mdamage("Push",Root,15,math.random(4,6),0,"") | |
2502 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,6,6,6,.06,"Brick",1,0,"") | |
2503 | Effect(e,col[2],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,4,4,4,.04,"Brick",1,0,"") | |
2504 | Effect(e,col[2],Root.CFrame*CFrame.Angles(-math.rad(45),0,0),.03,.03,.03,.06,.06,.06,.05,"FileMesh",6,0,"729867285") | |
2505 | RJ.C0=clerp(RJ.C0,CFrame.new(1.45896052e-16, -0.119805336, 3.81469727e-06, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(-math.rad(45),math.rad(0-1080*i),0),.4) | |
2506 | Neck.C0=clerp(Neck.C0,CFrame.new(-8.87927751e-16, 1.4582777, 0.147966489, 1, -5.86010162e-16, 1.65338105e-16, -6.0888794e-16, 0.962426901, -0.271541089, 0, 0.271541059, 0.962426901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2507 | RS.C0=clerp(RS.C0,CFrame.new(1.97017455, 0.45969522, -1.18835087e-05, 0.0179200098, -0.999839485, -1.82666392e-20, 0.999839485, 0.0179200098, 2.99999992e-05, -2.99951844e-05, -5.37600272e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2508 | LS.C0=clerp(LS.C0,CFrame.new(-1.96395421, 0.519270778, -1.36707749e-05, -0.0073769982, 0.999972761, -1.82666392e-20, -0.999972761, -0.0073769982, 2.99999992e-05, 2.99991825e-05, 2.21309946e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2509 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.30729222, -0.295279056, 1, -5.95902554e-16, -1.25078563e-16, -6.0888794e-16, 0.978673637, 0.205421314, 0, -0.205421314, 0.978673637)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2510 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -1.93544233, 0.272091538, 1, -5.92406585e-16, -1.40708637e-16, -6.0888794e-16, 0.9729321, 0.231091186, 0, -0.231091186, 0.9729321)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2511 | end | |
2512 | ||
2513 | for i=0,1,0.03 do | |
2514 | swait() | |
2515 | Root.Velocity=(Root.CFrame.lookVector*0)+(Root.CFrame.upVector*0) | |
2516 | RJ.C0=clerp(RJ.C0,CFrame.new(1.45896052e-16, -0.119805336, 3.81469727e-06, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(-math.rad(0-810*i),0,0),.4) | |
2517 | Neck.C0=clerp(Neck.C0,CFrame.new(-8.87927751e-16, 1.4582777, 0.147966489, 1, -5.86010162e-16, 1.65338105e-16, -6.0888794e-16, 0.962426901, -0.271541089, 0, 0.271541059, 0.962426901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2518 | RS.C0=clerp(RS.C0,CFrame.new(1.97017455, 0.45969522, -1.18835087e-05, 0.0179200098, -0.999839485, -1.82666392e-20, 0.999839485, 0.0179200098, 2.99999992e-05, -2.99951844e-05, -5.37600272e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2519 | LS.C0=clerp(LS.C0,CFrame.new(-1.96395421, 0.519270778, -1.36707749e-05, -0.0073769982, 0.999972761, -1.82666392e-20, -0.999972761, -0.0073769982, 2.99999992e-05, 2.99991825e-05, 2.21309946e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2520 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.30729222, -0.295279056, 1, -5.95902554e-16, -1.25078563e-16, -6.0888794e-16, 0.978673637, 0.205421314, 0, -0.205421314, 0.978673637)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2521 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -1.93544233, 0.272091538, 1, -5.92406585e-16, -1.40708637e-16, -6.0888794e-16, 0.9729321, 0.231091186, 0, -0.231091186, 0.9729321)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2522 | end | |
2523 | local hit=nil | |
2524 | local spi=0 | |
2525 | while hit==nil do | |
2526 | swait() | |
2527 | spi=spi-18 | |
2528 | Root.Velocity=(Root.CFrame.lookVector*80)+(-Root.CFrame.upVector*80) | |
2529 | Mdamage("Push2",Root,15,math.random(4,6),0,"") | |
2530 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,6,6,6,.06,"Brick",1,0,"") | |
2531 | Effect(e,col[2],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,4,4,4,.04,"Brick",1,0,"") | |
2532 | Effect(e,col[2],Root.CFrame*CFrame.Angles(math.rad(45),0,0),.03,.03,.03,.06,.06,.06,.05,"FileMesh",6,0,"729867285") | |
2533 | RJ.C0=clerp(RJ.C0,CFrame.new(1.45896052e-16, -0.119805336, 3.81469727e-06, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(-math.rad(135),math.rad(spi),0),.4) | |
2534 | Neck.C0=clerp(Neck.C0,CFrame.new(-8.87927751e-16, 1.4582777, 0.147966489, 1, -5.86010162e-16, 1.65338105e-16, -6.0888794e-16, 0.962426901, -0.271541089, 0, 0.271541059, 0.962426901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2535 | RS.C0=clerp(RS.C0,CFrame.new(1.97017455, 0.45969522, -1.18835087e-05, 0.0179200098, -0.999839485, -1.82666392e-20, 0.999839485, 0.0179200098, 2.99999992e-05, -2.99951844e-05, -5.37600272e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2536 | LS.C0=clerp(LS.C0,CFrame.new(-1.96395421, 0.519270778, -1.36707749e-05, -0.0073769982, 0.999972761, -1.82666392e-20, -0.999972761, -0.0073769982, 2.99999992e-05, 2.99991825e-05, 2.21309946e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2537 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.30729222, -0.295279056, 1, -5.95902554e-16, -1.25078563e-16, -6.0888794e-16, 0.978673637, 0.205421314, 0, -0.205421314, 0.978673637)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2538 | LH.C0=clerp(LH.C0,CFrame.new(-0.500022888, -1.93544233, 0.272091538, 1, -5.92406585e-16, -1.40708637e-16, -6.0888794e-16, 0.9729321, 0.231091186, 0, -0.231091186, 0.9729321)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2539 | ||
2540 | hit,pos=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr) | |
2541 | end | |
2542 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,22,22,22,.05,"Brick",1,0,"") | |
2543 | Effect(e,col[2],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,15,15,15,.04,"Brick",1,0,"") | |
2544 | for i=1,15 do | |
2545 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),30,30,120,0,0,0,.02,"Sphere",3,2,"") | |
2546 | end | |
2547 | Mdamage("Push2",Root,35,math.random(30,45),0,"") | |
2548 | elseif choice==6 then | |
2549 | ||
2550 | elseif choice==7 then | |
2551 | ||
2552 | elseif choice==8 then | |
2553 | ||
2554 | elseif choice==9 then | |
2555 | ||
2556 | ||
2557 | end | |
2558 | ||
2559 | ||
2560 | ||
2561 | ||
2562 | ||
2563 | ||
2564 | ||
2565 | ||
2566 | end | |
2567 | attack=false | |
2568 | end | |
2569 | ||
2570 | function Skilltwo() | |
2571 | attack=true | |
2572 | if unleashed==false then | |
2573 | if choice==1 then | |
2574 | ||
2575 | elseif choice==2 then | |
2576 | ||
2577 | elseif choice==3 then | |
2578 | sounds(RArm,"588697034",1,2.4) | |
2579 | hum.WalkSpeed=0 | |
2580 | hum.JumpPower=0 | |
2581 | for i=0,1,0.04 do | |
2582 | swait() | |
2583 | Effect(e,"Crimson",RArm.CFrame*CFrame.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),2,2,2,0,0,0,.07,"Brick",1,0,"") | |
2584 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.83476639e-07, -0.848298967, -0.17933403, 0.81206733, -4.2352616e-07, -0.583563745, 0.209395453, 0.933406234, 0.291386873, 0.544701993, -0.358821332, 0.757988811)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2585 | Neck.C0=clerp(Neck.C0,CFrame.new(-4.19475145e-06, 1.50000477, 5.6207904e-05, 0.857747197, 1.48820327e-05, 0.514071822, -8.86915768e-06, 1.00000012, -1.41507153e-05, -0.514071703, 7.6048218e-06, 0.857747316)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2586 | RS.C0=clerp(RS.C0,CFrame.new(1.90325081, 0.721667767, 0.494217932, -0.213002503, -0.866364539, -0.451710671, 0.977051616, -0.188875973, -0.0984679163, -8.15838575e-06, -0.462318599, 0.886713862)*CFrame.new(math.random(-4,4)/10,math.random(-4,4)/10,math.random(-4,4)/10)*CFrame.Angles(0,0,0),.2) | |
2587 | LS.C0=clerp(LS.C0,CFrame.new(-1.54728591, 0.218326598, -0.744016886, 0.875272155, 0.259572864, -0.4080697, -0.454250783, 0.730840981, -0.509438813, 0.165997624, 0.631263494, 0.757595778)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2588 | RH.C0=clerp(RH.C0,CFrame.new(0.539964974, -1.83216858, 0.592804313, 0.993301868, -0.0220661163, 0.113421589, -0.0368196629, 0.869982004, 0.491706908, -0.109524786, -0.492589533, 0.863342285)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2589 | LH.C0=clerp(LH.C0,CFrame.new(-0.846890211, -0.947732627, -0.556767464, 0.848747969, 0.227113023, 0.477542281, -3.68223505e-06, 0.903074503, -0.429484099, -0.528797626, 0.36452204, 0.766483366)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2590 | end | |
2591 | for i=0,1,0.15 do | |
2592 | swait() | |
2593 | Effect(e,"Crimson",RArm.CFrame*CFrame.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),2,2,2,0,0,0,.07,"Brick",1,0,"") | |
2594 | RJ.C0=clerp(RJ.C0,CFrame.new(-0.0230394974, -1.53604734, 0.0319650769, 0.898617208, 0.369849443, 0.236005545, -0.431341499, 0.84309423, 0.321149111, -0.0801980793, -0.390389115, 0.917150319)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2595 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.184725463, 1.40377426, -0.0146014839, 0.885360479, -0.401227236, -0.234848291, 0.369641006, 0.913893223, -0.167824298, 0.281961888, 0.0617754273, 0.957434893)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2596 | RS.C0=clerp(RS.C0,CFrame.new(1.81247914, 0.145366088, 0.0184934288, 0.856979311, -0.509662151, -0.0763619393, 0.507078409, 0.860357463, -0.0515426174, 0.0919678658, 0.0054494366, 0.995747149)*CFrame.new(math.random(-4,4)/10,math.random(-4,4)/10,math.random(-4,4)/10)*CFrame.Angles(0,0,0),.3) | |
2597 | LS.C0=clerp(LS.C0,CFrame.new(-1.58540583, 0.0456062518, -0.604358971, 0.548828781, 0.747309804, -0.374586642, -0.80460465, 0.350723863, -0.479170382, -0.226712227, 0.564376533, 0.793776333)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2598 | RH.C0=clerp(RH.C0,CFrame.new(0.70504415, -1.26687849, 0.580287635, 0.888970912, -0.0167570971, -0.457657248, 0.355918884, 0.654141068, 0.667398989, 0.288188666, -0.756187141, 0.587476432)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2599 | LH.C0=clerp(LH.C0,CFrame.new(-0.121802345, -0.662044883, -1.15374923, 0.905758977, -0.411867797, -0.099829033, 0.320053995, 0.819196403, -0.47590223, 0.277788341, 0.399101943, 0.873814404)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2600 | end | |
2601 | local hit=nil | |
2602 | while hit==nil do | |
2603 | swait() | |
2604 | Effect(e,"Crimson",RArm.CFrame*CFrame.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10),2,2,2,0,0,0,.07,"Brick",1,0,"") | |
2605 | RS.C0=clerp(RS.C0,CFrame.new(1.81247914, 0.145366088, 0.0184934288, 0.856979311, -0.509662151, -0.0763619393, 0.507078409, 0.860357463, -0.0515426174, 0.0919678658, 0.0054494366, 0.995747149)*CFrame.new(math.random(-4,4)/10,math.random(-4,4)/10,math.random(-4,4)/10)*CFrame.Angles(0,0,0),.3) | |
2606 | hit,pos=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr) | |
2607 | end | |
2608 | for i=-20,20,20 do | |
2609 | local refy=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,1) | |
2610 | refy.Anchored=true | |
2611 | refy.CFrame=Root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(i),0) | |
2612 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),col[2],Enum.Material.Neon,0,.2) | |
2613 | meshs(refz,"Mesh",Vector3.new(8, 8, 7),Enum.MeshType.FileMesh,"74322089") | |
2614 | refz.Anchored=true | |
2615 | refz.CFrame=refy.CFrame | |
2616 | local soundz=create("Sound"){ | |
2617 | Parent=refz, | |
2618 | SoundId="rbxassetid://184878352", | |
2619 | Volume=1.5, | |
2620 | PlaybackSpeed=1, | |
2621 | Looped=true} | |
2622 | soundz:Play() | |
2623 | coroutine.resume(coroutine.create(function() | |
2624 | local anotheri=0 | |
2625 | for i=0,1,.005 do | |
2626 | swait() | |
2627 | anotheri=anotheri-1.2 | |
2628 | Mdamage("None",refz,6,math.random(12,16),0,HitSound[math.random(1,#HitSound)],1,1) | |
2629 | refz.CFrame=refy.CFrame*CFrame.new(0,0,anotheri)*CFrame.Angles(math.rad(0-1080*i),-math.rad(90),0) | |
2630 | Effect(e,"Crimson",refz.CFrame*CFrame.Angles(0,0,math.rad(0-1080*i)),50,1,6,0,0,0,.04,"Brick",6,0,"") | |
2631 | end | |
2632 | Effect(e,"Crimson",refz.CFrame,19,19,19,4,4,4,.03,"Brick",1,0,"") | |
2633 | Effect(e,"Crimson",refz.CFrame,19,19,19,4,4,4,.03,"Brick",1,0,"") | |
2634 | refy:Remove() | |
2635 | refz:Remove() | |
2636 | end)) | |
2637 | end | |
2638 | for i=0,1,0.07 do | |
2639 | swait() | |
2640 | RJ.C0=clerp(RJ.C0,CFrame.new(-1.08331442e-05, -0.612179875, 0.170055985, 0.505197227, 1.50560453e-07, 0.863003969, 0.271183521, 0.949346125, -0.158749342, -0.819289565, 0.314232141, 0.479607016)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2641 | Neck.C0=clerp(Neck.C0,CFrame.new(-7.62065029e-05, 1.50001574, 5.31748956e-05, 0.505197227, -2.67624855e-05, -0.863004029, 1.50560453e-07, 1, -3.0875206e-05, 0.863003969, 1.54823065e-05, 0.505197287)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2642 | RS.C0=clerp(RS.C0,CFrame.new(1.53594398, 1.00440562, -0.826371253, 0.620073497, -0.427852601, 0.657610238, -4.07165044e-06, -0.838208795, -0.54534936, 0.784543872, 0.338154018, -0.51975286)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2643 | LS.C0=clerp(LS.C0,CFrame.new(-1.8471477, 0.703520596, -0.110446513, -0.287520081, 0.918650389, -0.27094987, -0.929378927, -0.199224994, 0.310747713, 0.231488526, 0.341161281, 0.911055565)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2644 | RH.C0=clerp(RH.C0,CFrame.new(0.63793695, -1.76326358, -0.136713356, 0.685226619, 0.218354464, -0.694827974, -0.0995223671, 0.973124325, 0.207663894, 0.72149837, -0.0731459036, 0.688541889)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2645 | LH.C0=clerp(LH.C0,CFrame.new(-1.25449431, -1.31419885, 0.480950415, 0.610176206, 0.731393754, -0.304546088, 0.0296054445, 0.363081068, 0.93128711, 0.791712582, -0.577265382, 0.199890211)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2646 | end | |
2647 | elseif choice==4 then | |
2648 | if unleashed==false then | |
2649 | for i=0,1,0.1 do | |
2650 | swait() | |
2651 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.04827175e-06, -0.508343935, -1.53446181e-05, 0.599171042, 2.22569215e-05, 0.800621092, -2.40186328e-05, 1, -9.82443999e-06, -0.800621092, -1.33433023e-05, 0.599171042)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2652 | Neck.C0=clerp(Neck.C0,CFrame.new(5.71087003e-06, 1.50002325, -8.7916851e-07, 0.593539178, 0.0327652283, -0.804137945, 2.23732368e-05, 0.999170244, 0.0407284871, 0.80480516, -0.0241919421, 0.59304595)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2653 | RS.C0=clerp(RS.C0,CFrame.new(1.50407934, -0.0712998509, -0.614256918, 0.820520043, -0.353509516, -0.449197114, -0.0963713378, 0.689034581, -0.718292475, 0.563435495, 0.632663012, 0.531298459)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2654 | LS.C0=clerp(LS.C0,CFrame.new(-1.92895937, 0.45405072, 0.670836806, 0.0634042695, 0.84529078, 0.530531466, -0.997165382, 0.0320802629, 0.0680589303, 0.0405099988, -0.533342838, 0.844928741)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2655 | RH.C0=clerp(RH.C0,CFrame.new(0.878299356, -1.63409626, -0.427800894, 0.630167246, -0.0905206427, -0.771164954, -0.0311854482, 0.989429176, -0.141624436, 0.775833011, 0.113296203, 0.620682836)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2656 | LH.C0=clerp(LH.C0,CFrame.new(-1.00066185, -1.88597345, 0.632128179, 0.81848824, 0.479564905, -0.31637764, -0.055894088, 0.614533603, 0.78690809, 0.571798205, -0.626391292, 0.529793382)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2657 | end | |
2658 | local s=create("Model"){ | |
2659 | Parent=chr, | |
2660 | Name="asc"} | |
2661 | local ref=parts(s,"ref",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0) | |
2662 | local refWeld=welds(ref,"refWeld",LArm,ref,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 3.6)*CFrame.Angles(math.rad(90),math.rad(90),0)) | |
2663 | local Pp=parts(s,"Pp",Vector3.new(5.4000001, 0.400000006, 1.20000005),"Bright blue",Enum.Material.Neon,0,0) | |
2664 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, -2.51105166e-06, 3.57107501e-06, -1, 2.86569116e-06, 1, 3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06)) | |
2665 | local Pp=parts(s,"Pp",Vector3.new(5.4000001, 0.400000006, 1.20000005),"Bright blue",Enum.Material.Neon,0,0) | |
2666 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 1.27792742e-13, 0, 1.27792742e-13, 1, 0, 0, 0, 1)) | |
2667 | local Pp=parts(s,"Pp",Vector3.new(5.4000001, 0.389999986, 1.39999998),"Institutional white",Enum.Material.Neon,0,0) | |
2668 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, -2.51105166e-06, 3.57107501e-06, -1, 2.86569116e-06, 1, 3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06)) | |
2669 | local Pp=parts(s,"Pp",Vector3.new(5.4000001, 0.389999986, 1.39999998),"Institutional white",Enum.Material.Neon,0,0) | |
2670 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 1.27792742e-13, 0, 1.27792742e-13, 1, 0, 0, 0, 1)) | |
2671 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2672 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00497913361, -3.09499168, 0.349979401, -5.73139459e-06, -1, -6.08210576e-06, -1, 5.73135731e-06, 6.08216169e-06, -6.08212031e-06, 6.08213441e-06, -1)) | |
2673 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2674 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2675 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.09498978, 0.349994659, 2.86569116e-06, 1, 3.57106774e-06, -1, 2.86568206e-06, 2.51106189e-06, 2.51105166e-06, -3.57107501e-06, 1)) | |
2676 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2677 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2678 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.004986763, -3.1050148, 0.349994659, -2.86569116e-06, -1, -3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06, 2.51105166e-06, -3.57107501e-06, 1)) | |
2679 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2680 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2681 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.10501289, 0.349990845, 2.86569116e-06, 1, 3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06, -2.51105166e-06, 3.57107501e-06, -1)) | |
2682 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2683 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2684 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.09999847, 0.344978333, 2.86569116e-06, 1, 3.57106774e-06, 2.51105166e-06, -3.57107501e-06, 1, 1, -2.86568206e-06, -2.51106189e-06)) | |
2685 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2686 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2687 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.1000042, 0.355005264, 2.86569116e-06, 1, 3.57106774e-06, -2.51105166e-06, 3.57107501e-06, -1, -1, 2.86568206e-06, 2.51106189e-06)) | |
2688 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2689 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2690 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.004986763, -3.09999847, 0.35500145, -2.86569116e-06, -1, -3.57106774e-06, 2.51105166e-06, -3.57107501e-06, 1, -1, 2.86568206e-06, 2.51106189e-06)) | |
2691 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2692 | local Pp=parts(s,"Pp",Vector3.new(0.389999986, 0.800000012, 0.699999988),"Institutional white",Enum.Material.Neon,0,0) | |
2693 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.004986763, -3.1000061, 0.34498024, -2.86569116e-06, -1, -3.57106774e-06, -2.51105166e-06, 3.57107501e-06, -1, 1, -2.86568206e-06, -2.51106189e-06)) | |
2694 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2695 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2696 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00498008728, -2.9949913, 0.299976349, -5.73139459e-06, -1, -6.08210576e-06, -1, 5.73135731e-06, 6.08216169e-06, -6.08212031e-06, 6.08213441e-06, -1)) | |
2697 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2698 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2699 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -2.9949913, 0.299991608, 2.86569116e-06, 1, 3.57106774e-06, -1, 2.86568206e-06, 2.51106189e-06, 2.51105166e-06, -3.57107501e-06, 1)) | |
2700 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2701 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2702 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00498771667, -3.00501251, 0.299995422, -2.86569116e-06, -1, -3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06, 2.51105166e-06, -3.57107501e-06, 1)) | |
2703 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2704 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2705 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.0050087, 0.299976349, 2.86569116e-06, 1, 3.57106774e-06, 1, -2.86568206e-06, -2.51106189e-06, -2.51105166e-06, 3.57107501e-06, -1)) | |
2706 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2707 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2708 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00498771667, -2.99999619, 0.305002213, -2.86569116e-06, -1, -3.57106774e-06, 2.51105166e-06, -3.57107501e-06, 1, -1, 2.86568206e-06, 2.51106189e-06)) | |
2709 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2710 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2711 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3, 0.294979095, 2.86569116e-06, 1, 3.57106774e-06, 2.51105166e-06, -3.57107501e-06, 1, 1, -2.86568206e-06, -2.51106189e-06)) | |
2712 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2713 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2714 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00498771667, -3.00000381, 0.294981003, -2.86569116e-06, -1, -3.57106774e-06, -2.51105166e-06, 3.57107501e-06, -1, 1, -2.86568206e-06, -2.51106189e-06)) | |
2715 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2716 | local Pp=parts(s,"Pp",Vector3.new(0.400000006, 0.599999964, 0.599999964),"Bright blue",Enum.Material.Neon,0,0) | |
2717 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.004986763, -3.00000191, 0.304988861, 2.86569116e-06, 1, 3.57106774e-06, -2.51105166e-06, 3.57107501e-06, -1, -1, 2.86568206e-06, 2.51106189e-06)) | |
2718 | meshs(Pp,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"") | |
2719 | local Pp=parts(s,"Pp",Vector3.new(1.20000005, 0.409999996, 1.20000005),"Institutional white",Enum.Material.Neon,0,0) | |
2720 | local PpWeld=welds(Pp,"PpWeld",ref,Pp,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.707105041, 4.98788268e-07, -0.707108617, 2.86569116e-06, 1, 3.57106774e-06, 0.707108617, -4.55147483e-06, 0.707105041)) | |
2721 | LockEffect(e,"Bright blue",ref.CFrame,ref,35,11,35,0,0,4,.05,"Sphere",6,0,"") | |
2722 | LockEffect(e,"Bright blue",ref.CFrame,ref,35,11,35,4,0,0,.05,"Sphere",6,0,"") | |
2723 | sounds(ref,"161006033",1.2,1.1) | |
2724 | for i=1,10 do | |
2725 | Effect(e,"Cyan",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),18,18,18,-1,-1,-1,.05,"Sphere",3,1,"") | |
2726 | end | |
2727 | coroutine.resume(coroutine.create(function() | |
2728 | while ref.Parent~=nil do | |
2729 | swait() | |
2730 | Effect(e,"Bright blue",ref.CFrame*CFrame.new(math.random(-39,39)/10,math.random(-1,1)/10,math.random(-39,39)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0,0,0,.09,"Brick",6,0,"") | |
2731 | Effect(e,"Cyan",ref.CFrame*CFrame.new(math.random(-39,39)/10,math.random(-1,1)/10,math.random(-39,39)/10)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0,0,0,.09,"Brick",6,0,"") | |
2732 | end | |
2733 | end)) | |
2734 | ||
2735 | for i=0,1,0.03 do | |
2736 | swait() | |
2737 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.04827175e-06, -0.508343935, -1.53446181e-05, 0.599171042, 2.22569215e-05, 0.800621092, -2.40186328e-05, 1, -9.82443999e-06, -0.800621092, -1.33433023e-05, 0.599171042)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2738 | Neck.C0=clerp(Neck.C0,CFrame.new(5.71087003e-06, 1.50002325, -8.7916851e-07, 0.593539178, 0.0327652283, -0.804137945, 2.23732368e-05, 0.999170244, 0.0407284871, 0.80480516, -0.0241919421, 0.59304595)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
2739 | RS.C0=clerp(RS.C0,CFrame.new(1.50407934, -0.0712998509, -0.614256918, 0.820520043, -0.353509516, -0.449197114, -0.0963713378, 0.689034581, -0.718292475, 0.563435495, 0.632663012, 0.531298459)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2740 | LS.C0=clerp(LS.C0,CFrame.new(-1.92895937, 0.45405072, 0.670836806, 0.0634042695, 0.84529078, 0.530531466, -0.997165382, 0.0320802629, 0.0680589303, 0.0405099988, -0.533342838, 0.844928741)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2741 | RH.C0=clerp(RH.C0,CFrame.new(0.878299356, -1.63409626, -0.427800894, 0.630167246, -0.0905206427, -0.771164954, -0.0311854482, 0.989429176, -0.141624436, 0.775833011, 0.113296203, 0.620682836)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2742 | LH.C0=clerp(LH.C0,CFrame.new(-1.00066185, -1.88597345, 0.632128179, 0.81848824, 0.479564905, -0.31637764, -0.055894088, 0.614533603, 0.78690809, 0.571798205, -0.626391292, 0.529793382)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
2743 | end | |
2744 | ||
2745 | ||
2746 | for i=1,2 do | |
2747 | sounds(LArm,"200632211",2,math.random(13,16)/20) | |
2748 | for i=0,1,0.12 do | |
2749 | swait() | |
2750 | Mdamage("None",ref,6,math.random(10,15),0.02,HitSound[math.random(1,#HitSound)],1,1) | |
2751 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0-360*i),0),.4) | |
2752 | Neck.C0=clerp(Neck.C0,CFrame.new(8.85080226e-07, 1.5000236, 1.55519592e-06, 0.829984128, -4.68375339e-17, -0.557787061, 1.67336111e-05, 1, 2.48995239e-05, 0.557787061, -2.99999992e-05, 0.829984128)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2753 | RS.C0=clerp(RS.C0,CFrame.new(2.02016449, 0.434696972, -0.259254307, 0.0621120147, -0.964079857, 0.258248359, 0.998069227, 0.0600045472, -0.0160423759, -2.99420753e-05, 0.258746177, 0.965945363)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2754 | LS.C0=clerp(LS.C0,CFrame.new(-1.88846052, 0.604216933, 0.556626439, -0.0800480023, 0.811000824, 0.579542935, -0.996706426, -0.0575444214, -0.0571412034, -0.0129920989, -0.582208157, 0.812936008)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2755 | RH.C0=clerp(RH.C0,CFrame.new(0.575132549, -1.99559033, 6.7083779e-06, 0.998226345, -0.0595330223, 1.78599123e-06, 0.0595330223, 0.998226345, 5.31999831e-08, -1.78599066e-06, 5.3219992e-08, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2756 | LH.C0=clerp(LH.C0,CFrame.new(-0.573431015, -1.99483347, 1.45107697e-06, 0.997465014, 0.0711589977, -1.77897493e-06, -0.0711589977, 0.997465014, 5.06337528e-06, 2.13476983e-06, -4.92394975e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2757 | end | |
2758 | end | |
2759 | sounds(LArm,"200632211",2,math.random(13,16)/20) | |
2760 | coroutine.resume(coroutine.create(function() | |
2761 | local refz=parts(s,"ref",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,1) | |
2762 | refz.Anchored=true | |
2763 | s.PrimaryPart=refz | |
2764 | refz.CFrame=Root.CFrame*CFrame.new(0,0,-5) | |
2765 | local refx=parts(s,"ref",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,1) | |
2766 | local refxWeld=welds(refx,"refzWeld",refz,refx,CFrame.new(0,0,0),CFrame.new(0, 0, 0)) | |
2767 | refx.CFrame=refz.CFrame | |
2768 | refWeld.Part0=refx | |
2769 | refWeld.C1=CFrame.new(0,0,0) | |
2770 | local ka=0 | |
2771 | for i=0,1,.005 do | |
2772 | swait() | |
2773 | if i>=.3 then | |
2774 | ka=ka+1 | |
2775 | if ka>=9 then | |
2776 | ka=0 | |
2777 | local spik=parts(e,"ref",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Cyan",Enum.Material.Neon,0,0) | |
2778 | spik.Anchored=true | |
2779 | spik.CFrame=CFrame.new(ref.Position) | |
2780 | meshs(spik,"Mesh",Vector3.new(24,24,24),Enum.MeshType.Sphere,"") | |
2781 | game:GetService("Debris"):AddItem(spik,1) | |
2782 | local locc=nil | |
2783 | local ha=spik.Position | |
2784 | local lockon=FindNearestTorso(ref.Position,190) | |
2785 | if lockon~=nil then | |
2786 | locc=lockon | |
2787 | else | |
2788 | spik:Remove() | |
2789 | end | |
2790 | coroutine.resume(coroutine.create(function() | |
2791 | while spik.Parent~=nil do | |
2792 | swait() | |
2793 | if locc~=nil then | |
2794 | Effect(e,"Bright blue",spik.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,3,3,3,.1,"Brick",1,0,"") | |
2795 | Effect(e,"Bright blue",spik.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,0,0,0,.08,"Sphere",3,2,"") | |
2796 | local dec=CFrame.new(spik.Position,locc.Position) | |
2797 | local hit,pos=rayCast(ha,dec.LookVector,12,chr) | |
2798 | spik.CFrame=CFrame.new(pos) | |
2799 | ha=ha+(dec.LookVector*4) | |
2800 | if hit~=nil then | |
2801 | Mdamage("None",spik,14,math.random(6,10),0,HitSound[math.random(1,#HitSound)],1,1) | |
2802 | Effect(e,"Cyan",spik.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,8,8,8,.05,"Brick",1,0,"") | |
2803 | Effect(e,"Bright blue",spik.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,15,8,8,8,.05,"Sphere",1,0,"") | |
2804 | for i=1,5 do | |
2805 | Effect(e,"Cyan",spik.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),18,18,18,-.8,-.8,-.8,.06,"Sphere",3,2,"") | |
2806 | end | |
2807 | spik:Remove() | |
2808 | end | |
2809 | end | |
2810 | end | |
2811 | end)) | |
2812 | end | |
2813 | end | |
2814 | refWeld.C0=clerp(refWeld.C0,CFrame.new(0,0,-i*250)*CFrame.Angles(0,math.rad(0-2440*i),0),.3) | |
2815 | Mdamage("None",ref,9,math.random(10,15),0.04,HitSound[math.random(1,#HitSound)],1,1) | |
2816 | refz.CFrame=Root.CFrame | |
2817 | Effect(e,"Cyan",ref.CFrame,18,.1,18,-1,0,-1,.08,"Brick",6,0,"") | |
2818 | end | |
2819 | for i=1,10 do | |
2820 | Effect(e,"Cyan",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),18,18,18,-1,-1,-1,.05,"Sphere",3,1,"") | |
2821 | end | |
2822 | Effect(e,"Bright blue",ref.CFrame,35,11,35,0,0,4,.05,"Sphere",6,0,"") | |
2823 | Effect(e,"Bright blue",ref.CFrame,35,11,35,4,0,0,.05,"Sphere",6,0,"") | |
2824 | s:Remove() | |
2825 | end)) | |
2826 | for i=0,1,0.07 do | |
2827 | swait() | |
2828 | Torso.Velocity=Root.CFrame.lookVector*-20 | |
2829 | RJ.C0=clerp(RJ.C0,CFrame.new(-0.0944169313, -0.481276453, 0.0757273436, 0.574706972, -0.188751951, -0.796294332, -0.0158674549, 0.970284522, -0.241446167, 0.818205476, 0.151395977, 0.554634273)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2830 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.0866130888, 1.48897398, -0.0827516392, 0.691114604, -0.0662824586, 0.719699502, -9.1791153e-06, 0.995785117, 0.091718033, -0.72274524, -0.0633942485, 0.688200951)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2831 | RS.C0=clerp(RS.C0,CFrame.new(1.75824237, 0.154598236, -0.176927552, 0.935697317, -0.328760266, 0.128012657, 0.347230434, 0.922395527, -0.169167727, -0.0624626875, 0.202739716, 0.977238595)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2832 | LS.C0=clerp(LS.C0,CFrame.new(-0.873721302, 0.743684471, -1.16224122, 0.491874874, -0.475503743, -0.729352713, -0.860908628, -0.390682101, -0.325889647, -0.129983336, 0.788202882, -0.601531923)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2833 | RH.C0=clerp(RH.C0,CFrame.new(0.684098244, -1.85597205, -0.219180092, 0.987979412, -0.15458554, -7.42077827e-06, 0.151275665, 0.96683526, -0.205779791, 0.031817764, 0.203305021, 0.978598416)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2834 | LH.C0=clerp(LH.C0,CFrame.new(-0.735948324, -1.7054497, -0.060092181, 0.877434254, 0.0337487198, 0.478508532, -0.0680926591, 0.996183872, 0.0546007082, -0.474839717, -0.0804914311, 0.876383722)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2835 | end | |
2836 | ||
2837 | ||
2838 | else | |
2839 | ||
2840 | end | |
2841 | elseif choice==5 then | |
2842 | ||
2843 | elseif choice==6 then | |
2844 | ||
2845 | elseif choice==7 then | |
2846 | ||
2847 | elseif choice==8 then | |
2848 | ||
2849 | elseif choice==9 then | |
2850 | ||
2851 | end | |
2852 | else | |
2853 | if choice==1 then | |
2854 | ||
2855 | elseif choice==2 then | |
2856 | ||
2857 | elseif choice==3 then | |
2858 | ||
2859 | elseif choice==4 then | |
2860 | ||
2861 | elseif choice==5 then | |
2862 | ||
2863 | elseif choice==6 then | |
2864 | LASER() | |
2865 | elseif choice==7 then | |
2866 | ||
2867 | elseif choice==8 then | |
2868 | ||
2869 | elseif choice==9 then | |
2870 | end | |
2871 | end | |
2872 | attack=false | |
2873 | end | |
2874 | ||
2875 | function Skillthree() | |
2876 | attack=true | |
2877 | ||
2878 | attack=false | |
2879 | end | |
2880 | ||
2881 | function Skillfour() | |
2882 | attack=true | |
2883 | if unleashed==false then | |
2884 | if choice==1 then | |
2885 | ||
2886 | elseif choice==2 then | |
2887 | ||
2888 | elseif choice==3 then | |
2889 | ||
2890 | elseif choice==4 then | |
2891 | ||
2892 | elseif choice==5 then | |
2893 | ||
2894 | elseif choice==6 then | |
2895 | ||
2896 | elseif choice==7 then | |
2897 | sounds(chr,"737843799",5,1) | |
2898 | elseif choice==8 then | |
2899 | hum.WalkSpeed=20 | |
2900 | for i=0,1,0.04 do | |
2901 | swait() | |
2902 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 1-.15*math.cos(sin/25), 0, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2903 | Neck.C0=clerp(Neck.C0,CFrame.new(-9.35914761e-16, 1.53708863, 0.176942334, 1, -5.86166334e-16, 1.64783444e-16, -6.0888794e-16, 0.962683439, -0.270630181, 0, 0.270630211, 0.962683439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2904 | RS.C0=clerp(RS.C0,CFrame.new(1.53205395, 1.30058384, 0.00567160361, 0.995461226, -0.0951679349, 8.71450425e-07, -0.0951670334, -0.995451748, 0.00436084485, -0.000414145092, -0.00434113527, -0.999990582)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2905 | LS.C0=clerp(LS.C0,CFrame.new(-1.58096766, 1.27196574, -0.0607934147, 0.988777101, 0.149398282, -2.12001351e-06, 0.149227813, -0.987649679, -0.0477407426, -0.00713447761, 0.047204636, -0.998859763)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2906 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.31953299, -0.42188406, 1, -5.98481452e-16, -1.12091073e-16, -6.0888794e-16, 0.982909083, 0.184091449, 0, -0.184091434, 0.982909083)*CFrame.new(0,0-.1*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-4*math.cos(sin/25)),0,0),.1) | |
2907 | LH.C0=clerp(LH.C0,CFrame.new(-0.500225306, -2.03385782, 0.344429612, 0.999890864, 0.0147771491, 3.20716117e-06, -0.0141538708, 0.957654357, 0.287572116, 0.00424642442, -0.287540734, 0.957759023)*CFrame.new(0,0-.03*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.cos(sin/25)),0,0),.1) | |
2908 | end | |
2909 | local ref=parts(e,"ref",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Institutional white",Enum.Material.Neon,0,0) | |
2910 | meshs(ref,"Mesh",Vector3.new(1,1,1),Enum.MeshType.Sphere,"") | |
2911 | ref.Anchored=true | |
2912 | sounds(chr,"93724183",3,.7) | |
2913 | local aaaaa=1 | |
2914 | for i=0,1,.002 do | |
2915 | swait() | |
2916 | aaaaa=aaaaa+.2 | |
2917 | ref.Color=rain | |
2918 | REffect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(0,0,-aaaaa*8),aaaaa*2,aaaaa*2,aaaaa*12,0,0,0,.05,"Sphere",3,aaaaa/2,"") | |
2919 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*12,0,0,aaaaa/2,.05,"Sphere",6,0,"") | |
2920 | ref:findFirstChild("Mesh").Scale=Vector3.new(aaaaa*8,aaaaa*8,aaaaa*8) | |
2921 | ref.CFrame=clerp(ref.CFrame,Root.CFrame*CFrame.new(0,aaaaa,0),.2) | |
2922 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 1-.15*math.cos(sin/25), 0, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2923 | Neck.C0=clerp(Neck.C0,CFrame.new(-9.35914761e-16, 1.53708863, 0.176942334, 1, -5.86166334e-16, 1.64783444e-16, -6.0888794e-16, 0.962683439, -0.270630181, 0, 0.270630211, 0.962683439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2924 | RS.C0=clerp(RS.C0,CFrame.new(1.53205395, 1.30058384, 0.00567160361, 0.995461226, -0.0951679349, 8.71450425e-07, -0.0951670334, -0.995451748, 0.00436084485, -0.000414145092, -0.00434113527, -0.999990582)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2925 | LS.C0=clerp(LS.C0,CFrame.new(-1.58096766, 1.27196574, -0.0607934147, 0.988777101, 0.149398282, -2.12001351e-06, 0.149227813, -0.987649679, -0.0477407426, -0.00713447761, 0.047204636, -0.998859763)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
2926 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.31953299, -0.42188406, 1, -5.98481452e-16, -1.12091073e-16, -6.0888794e-16, 0.982909083, 0.184091449, 0, -0.184091434, 0.982909083)*CFrame.new(0,0-.1*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-4*math.cos(sin/25)),0,0),.1) | |
2927 | LH.C0=clerp(LH.C0,CFrame.new(-0.500225306, -2.03385782, 0.344429612, 0.999890864, 0.0147771491, 3.20716117e-06, -0.0141538708, 0.957654357, 0.287572116, 0.00424642442, -0.287540734, 0.957759023)*CFrame.new(0,0-.03*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.cos(sin/25)),0,0),.1) | |
2928 | end | |
2929 | for i=0,1,0.015 do | |
2930 | swait() | |
2931 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*12,0,0,aaaaa/2,.05,"Sphere",6,0,"") | |
2932 | ref:findFirstChild("Mesh").Scale=Vector3.new(aaaaa*8,aaaaa*8,aaaaa*8) | |
2933 | ref.CFrame=clerp(ref.CFrame,Torso.CFrame*CFrame.new(0,aaaaa,0),.2) | |
2934 | ref.Color=rain | |
2935 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.41679014e-19, 1-.15*math.cos(sin/25), 0.0995269939, 1, -5.85745253e-16, 1.66273944e-16, -6.0888794e-16, 0.961991906, -0.273078084, 0, 0.273078084, 0.961991906)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2936 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53708541, 0.176942974, 1, 0, 0, 0, 0.962682962, -0.270631969, 0, 0.270631969, 0.962682962)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2937 | RS.C0=clerp(RS.C0,CFrame.new(1.56088197, 1.3031466, 0.236597985, 0.988034904, -0.140925556, -0.0626670793, -0.0939476639, -0.872165442, 0.480105698, -0.122315206, -0.468473703, -0.874969482)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2938 | LS.C0=clerp(LS.C0,CFrame.new(-1.5838958, 1.21647108, 0.539354205, 0.980968356, 0.120767854, 0.152040675, 0.0145201571, -0.826471031, 0.562792182, 0.193624407, -0.54987365, -0.812495351)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2939 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.27497125, -0.314032406, 1, 0, 0, 0, 0.924230337, 0.381835699, 0, -0.381835699, 0.924230337)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2940 | LH.C0=clerp(LH.C0,CFrame.new(-0.500096023, -2.00751853, 0.401968837, 0.999890864, 0.0146357045, 0.00204183906, -0.0141577367, 0.909176409, 0.416170627, 0.00423455844, -0.416154087, 0.909284353)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2941 | end | |
2942 | print(ref:findFirstChild("Mesh").Scale) | |
2943 | for i=0,1,0.1 do | |
2944 | swait() | |
2945 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*12,0,0,aaaaa/2,.05,"Sphere",6,0,"") | |
2946 | ref:findFirstChild("Mesh").Scale=Vector3.new(aaaaa*8,aaaaa*8,aaaaa*8) | |
2947 | ref.CFrame=clerp(ref.CFrame,Torso.CFrame*CFrame.new(0,aaaaa,-35),.2) | |
2948 | ref.Color=rain | |
2949 | RJ.C0=clerp(RJ.C0,CFrame.new(4.85698433e-16, -0.797681153, 0.116355002, 1, -2.64240372e-16, -5.48563206e-16, -6.0888794e-16, 0.43397212, 0.900926292, 0, -0.900926292, 0.43397212)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2950 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53708065, 0.176940724, 1, 0, 0, 0, 0.962683439, -0.270630151, 0, 0.270630151, 0.962683439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2951 | RS.C0=clerp(RS.C0,CFrame.new(1.48815489, 1.24118304, -0.492708027, 0.990145981, -0.131911382, -0.0470143892, -0.133128077, -0.782485545, -0.608270764, 0.0434497595, 0.608535767, -0.792335987)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2952 | LS.C0=clerp(LS.C0,CFrame.new(-1.43675923, 1.26481295, -0.721690059, 0.995355666, 0.0937921703, 0.0216811057, 0.0824306235, -0.714081466, -0.695192754, -0.0497215651, 0.693751216, -0.718496382)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2953 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.27496862, -0.314035684, 1, 0, 0, 0, 0.924230576, 0.381835073, 0, -0.381835073, 0.924230576)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2954 | LH.C0=clerp(LH.C0,CFrame.new(-0.500095606, -2.00751519, 0.401962668, 0.999890864, 0.0146339871, 0.00204039784, -0.0141555741, 0.90917629, 0.416170686, 0.00423515495, -0.416154087, 0.909284353)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2955 | end | |
2956 | sounds(chr,"860448713",3,1) | |
2957 | local hit=nil | |
2958 | while hit==nil do | |
2959 | swait() | |
2960 | hit,pos=rayCast(ref.Position,(CFrame.new(ref.Position,ref.Position-Vector3.new(0,1,0))).lookVector,30,chr) | |
2961 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*12,0,0,aaaaa/2,.05,"Sphere",6,0,"") | |
2962 | ref:findFirstChild("Mesh").Scale=Vector3.new(aaaaa*8,aaaaa*8,aaaaa*8) | |
2963 | ref.CFrame=clerp(ref.CFrame,Torso.CFrame*CFrame.new(0,aaaaa,-35),.2) | |
2964 | ref.Color=rain | |
2965 | RJ.C0=clerp(RJ.C0,CFrame.new(4.85698433e-16, -0.797681153, 0.116355002, 1, -2.64240372e-16, -5.48563206e-16, -6.0888794e-16, 0.43397212, 0.900926292, 0, -0.900926292, 0.43397212)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2966 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.53708065, 0.176940724, 1, 0, 0, 0, 0.962683439, -0.270630151, 0, 0.270630151, 0.962683439)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2967 | RS.C0=clerp(RS.C0,CFrame.new(1.48815489, 1.24118304, -0.492708027, 0.990145981, -0.131911382, -0.0470143892, -0.133128077, -0.782485545, -0.608270764, 0.0434497595, 0.608535767, -0.792335987)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2968 | LS.C0=clerp(LS.C0,CFrame.new(-1.43675923, 1.26481295, -0.721690059, 0.995355666, 0.0937921703, 0.0216811057, 0.0824306235, -0.714081466, -0.695192754, -0.0497215651, 0.693751216, -0.718496382)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2969 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.27496862, -0.314035684, 1, 0, 0, 0, 0.924230576, 0.381835073, 0, -0.381835073, 0.924230576)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2970 | LH.C0=clerp(LH.C0,CFrame.new(-0.500095606, -2.00751519, 0.401962668, 0.999890864, 0.0146339871, 0.00204039784, -0.0141555741, 0.90917629, 0.416170686, 0.00423515495, -0.416154087, 0.909284353)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
2971 | end | |
2972 | sounds(chr,"1196176156",3,.5) | |
2973 | sounds(chr,"413503439",3,.5) | |
2974 | sounds(chr,"245520987",3,.5) | |
2975 | ||
2976 | Effect(e,"Bright blue",ref.CFrame,808,808,808,15,15,15,.004,"Sphere",6,0,"") | |
2977 | Effect(e,"Bright blue",ref.CFrame,808,808,808,25,25,25,.004,"Sphere",6,0,"") | |
2978 | for i=1,40 do | |
2979 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),40,40,180,0,0,0,.008,"Sphere",3,3,"") | |
2980 | ||
2981 | end | |
2982 | coroutine.resume(coroutine.create(function() | |
2983 | for i=0,1,.002 do | |
2984 | swait() | |
2985 | aaaaa=aaaaa-.2 | |
2986 | ref:findFirstChild("Mesh").Scale=Vector3.new(aaaaa*8,aaaaa*8,aaaaa*8) | |
2987 | ref.Color=rain | |
2988 | Mdamage("None",ref,aaaaa*2.2,math.random(20,25),.05,HitSound[math.random(1,#HitSound)],1,1) | |
2989 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*12,0,0,0,.05,"Sphere",3,aaaaa/2,"") | |
2990 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*2,aaaaa,aaaaa,aaaaa,.05,"Brick",1,0,"") | |
2991 | end | |
2992 | Effect(e,"Bright blue",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),aaaaa*2,aaaaa*2,aaaaa*2,aaaaa*20,aaaaa*20,aaaaa*20,.03,"Brick",1,0,"") | |
2993 | ref:Remove() | |
2994 | end)) | |
2995 | elseif choice==9 then | |
2996 | ||
2997 | end | |
2998 | else | |
2999 | if choice==1 then | |
3000 | ||
3001 | elseif choice==2 then | |
3002 | ||
3003 | elseif choice==3 then | |
3004 | ||
3005 | elseif choice==4 then | |
3006 | ||
3007 | elseif choice==5 then | |
3008 | ||
3009 | elseif choice==6 then | |
3010 | ||
3011 | elseif choice==7 then | |
3012 | ||
3013 | elseif choice==8 then | |
3014 | ||
3015 | elseif choice==9 then | |
3016 | ||
3017 | if plr.UserId==33104243 or plr.UserId==5719877 or plr.UserId==19081129 then | |
3018 | CameraShake(20,Head,3,.01) | |
3019 | Mdamage("None",Root,39999,0,0,"") | |
3020 | Effect(e,col[1],Root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,0),39999,1,39999,0,0,0,.01,"Sphere",6,0,"") | |
3021 | for i=1,50 do | |
3022 | Effect(e,col[1],Root.CFrame*CFrame.new(math.random(-300,300),0-3,math.random(-300,300))*CFrame.Angles(math.rad(90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),15,15,15,0,0,4,.006,"Sphere",3,-math.random(5,15)/10,"") | |
3023 | end | |
3024 | ||
3025 | end | |
3026 | end | |
3027 | end | |
3028 | attack=false | |
3029 | end | |
3030 | ||
3031 | ||
3032 | ||
3033 | local ok=false | |
3034 | function Chang() | |
3035 | ok=false | |
3036 | hum.WalkSpeed=0 | |
3037 | if choice==1 then | |
3038 | ||
3039 | sounds(Root,"190119264",1.2,2) | |
3040 | for i=0,1,0.03 do | |
3041 | swait() | |
3042 | CameraShake(300,Head,3,.2) | |
3043 | Effect(e,"Really black",Root.CFrame*CFrame.new(-0,-2.5,0),3,3,3,.6,.1,.6,.05,"FileMesh",2,math.random(-10,10),"20329976") | |
3044 | Effect(e,"Really black",LArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,.1,.1,.1,.1,"Brick",1,0,"") | |
3045 | Effect(e,"Institutional white",LArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,.1,.1,.1,.1,"Brick",1,0,"") | |
3046 | Effect(e,"Really black",RArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,.1,.1,.1,.1,"Brick",1,0,"") | |
3047 | Effect(e,"Institutional white",RArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,.1,.1,.1,.1,"Brick",1,0,"") | |
3048 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3049 | Neck.C0=clerp(Neck.C0,CFrame.new(-7.01741915e-17, 1.49824715, -0.0207450241, 1, -4.67299441e-17, -3.17281833e-18, -4.68375339e-17, 0.997702956, 0.0677409321, 0, -0.0677409321, 0.997702956)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3050 | RS.C0=clerp(RS.C0,CFrame.new(1.9800576, 0.596585155, -0.047003448, -0.038547013, -0.998755455, 0.0316511504, 0.998755395, -0.0375050604, 0.03287898, -0.0316509753, 0.0328791402, 0.998958111)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3051 | LS.C0=clerp(LS.C0,CFrame.new(-2.00713968, 0.494357556, 0.0302567445, -0.00578799937, 0.999472857, 0.0319442078, -0.0669459179, 0.0314857773, -0.997259676, -0.997739851, -0.00791067164, 0.0667283982)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3052 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -2.01160526, -0.161240906, 1, -4.6718175e-17, -3.34171351e-18, -4.68375339e-17, 0.997451603, 0.0713469163, 0, -0.0713469088, 0.997451603)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3053 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.99858701, 0.023087576, 1, -4.67410614e-17, -3.00467257e-18, -4.68375339e-17, 0.997940302, 0.0641509518, 0, -0.0641509518, 0.997940302)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3054 | end | |
3055 | CameraShake(120,Head,3,.1) | |
3056 | Effect(e,"Institutional white",LArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,3,3,3,.06,"Brick",1,0,"") | |
3057 | Effect(e,"Really black",LArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,4,4,4,.06,"Brick",1,0,"") | |
3058 | Effect(e,"Institutional white",RArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,3,3,3,.06,"Brick",1,0,"") | |
3059 | Effect(e,"Really black",RArm.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10),2,2,2,4,4,4,.06,"Brick",1,0,"") | |
3060 | ok=true | |
3061 | for i=0,1,0.05 do | |
3062 | swait() | |
3063 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3064 | Neck.C0=clerp(Neck.C0,CFrame.new(-7.01741915e-17, 1.49824715, -0.0207450241, 1, -4.67299441e-17, -3.17281833e-18, -4.68375339e-17, 0.997702956, 0.0677409321, 0, -0.0677409321, 0.997702956)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3065 | RS.C0=clerp(RS.C0,CFrame.new(1.9800576, 0.596585155, -0.047003448, -0.038547013, -0.998755455, 0.0316511504, 0.998755395, -0.0375050604, 0.03287898, -0.0316509753, 0.0328791402, 0.998958111)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3066 | LS.C0=clerp(LS.C0,CFrame.new(-2.00713968, 0.494357556, 0.0302567445, -0.00578799937, 0.999472857, 0.0319442078, -0.0669459179, 0.0314857773, -0.997259676, -0.997739851, -0.00791067164, 0.0667283982)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3067 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -2.01160526, -0.161240906, 1, -4.6718175e-17, -3.34171351e-18, -4.68375339e-17, 0.997451603, 0.0713469163, 0, -0.0713469088, 0.997451603)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3068 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.99858701, 0.023087576, 1, -4.67410614e-17, -3.00467257e-18, -4.68375339e-17, 0.997940302, 0.0641509518, 0, -0.0641509518, 0.997940302)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3069 | end | |
3070 | elseif choice==2 then | |
3071 | local spinny=0 | |
3072 | for i=0,1,0.03 do | |
3073 | swait() | |
3074 | spinny=spinny+(i*55) | |
3075 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,-math.rad(spinny),0),.4) | |
3076 | Neck.C0=clerp(Neck.C0,CFrame.new(-7.02573662e-17, 1.50002277, 9.68575478e-08, 1, -4.67803889e-17, -2.3129769e-18, -4.68375339e-17, 0.998779893, 0.0493829809, 0, -0.0493829809, 0.998779893)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3077 | RS.C0=clerp(RS.C0,CFrame.new(1.95646703, 0.467494905, 0.153293923, 0.0226759985, -0.988594234, -0.14888674, 0.999742866, 0.0224186573, 0.00340668927, -2.99922849e-05, -0.148925707, 0.988848388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3078 | LS.C0=clerp(LS.C0,CFrame.new(-1.97080266, 0.694796145, -0.243509561, -0.102600962, 0.980135679, -0.169726491, -0.994722664, -0.101091273, 0.0175360497, 2.98416799e-05, 0.170629993, 0.985335171)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3079 | RH.C0=clerp(RH.C0,CFrame.new(0.500017166, -1.0500344, -0.40401727, 1, -4.64760559e-17, -5.80784353e-18, -4.68375339e-17, 0.992282331, 0.123999767, 0, -0.123999767, 0.992282331)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3080 | LH.C0=clerp(LH.C0,CFrame.new(-0.355516136, -1.97269011, -9.00705345e-07, 0.982519865, -0.186158001, 5.02626472e-06, 0.186157987, 0.982519865, 3.47196874e-06, -5.58473948e-06, -2.4755991e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3081 | end | |
3082 | LockEffect(e,"Pastel green",Root.CFrame,Root,5,5,5,4,4,4,.05,"Brick",1,0,"") | |
3083 | LockEffect(e,"Pastel green",Root.CFrame,Root,5,5,5,6,6,6,.05,"Brick",1,0,"") | |
3084 | Effect(e,"Olivine",Root.CFrame,5,8,5,2,1,2,.04,"FileMesh",2,15,"1051557") | |
3085 | Effect(e,"Olivine",Root.CFrame,5,8,5,4,1,4,.04,"FileMesh",2,-20,"1051557") | |
3086 | sounds(Root,"588698460",1.4,1.5) | |
3087 | sounds(Root,"588694531",1.4,1.3) | |
3088 | ok=true | |
3089 | for i=0,1,0.05 do | |
3090 | swait() | |
3091 | RJ.C0=clerp(RJ.C0,CFrame.new(0.0124673173, -0.273998827, -0.103800446, 0.807817459, 0.024931239, -0.588905573, 0.102654397, 0.977885783, 0.182212412, 0.580424964, -0.207648218, 0.787393689)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3092 | Neck.C0=clerp(Neck.C0,CFrame.new(-4.90993261e-06, 1.50002277, 5.68702817e-05, 0.825252652, 0.045490019, 0.562928796, 1.23307109e-06, 0.996750712, -0.0805489123, -0.564763963, 0.0664737672, 0.822571039)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3093 | RS.C0=clerp(RS.C0,CFrame.new(1.96095514, 0.533156157, 0.344382346, -0.0368255898, -0.954795837, -0.294972658, 0.99932164, -0.0351852141, -0.0108683333, -1.77090988e-06, -0.295172632, 0.955444098)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3094 | LS.C0=clerp(LS.C0,CFrame.new(-1.8811208, 0.0834257901, -0.39527142, 0.316834748, 0.901120067, -0.295970559, -0.948480785, 0.301013947, -0.0988676623, -3.87430191e-07, 0.312046885, 0.950066805)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3095 | RH.C0=clerp(RH.C0,CFrame.new(0.790543377, -1.93150997, 0.00270047784, 0.846368968, -0.286426425, 0.449020505, 0.106314972, 0.916969299, 0.384531468, -0.521878183, -0.277717978, 0.806545734)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3096 | LH.C0=clerp(LH.C0,CFrame.new(-0.747359037, -1.5555644, -0.575195313, 0.898398876, 0.0411927029, 0.437244207, -0.0625885949, 0.997438431, 0.0346311592, -0.434697807, -0.0584792569, 0.89867574)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3097 | end | |
3098 | elseif choice==3 then | |
3099 | for i=0,1,0.05 do | |
3100 | swait() | |
3101 | RJ.C0=clerp(RJ.C0,CFrame.new(-7.11458045e-17, 0.0607596487, -0.362514317, 1, -1.09981352e-15, -4.01879441e-16, -1.17093835e-15, 0.939258218, 0.343211412, 0, -0.343211383, 0.939258218)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3102 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.56086135, -0.167261451, 1, 0, 0, 0, 0.957743049, 0.287625283, 0, -0.287625283, 0.957743049)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3103 | RS.C0=clerp(RS.C0,CFrame.new(0.644679248, 0.399064004, -0.877624035, 0.0331639908, 0.69217062, 0.720971584, 0.977304935, 0.128553107, -0.168372825, -0.209225863, 0.710192919, -0.672198415)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3104 | LS.C0=clerp(LS.C0,CFrame.new(-0.683388233, 0.30223158, -0.865742087, 0.693069041, -0.72087127, 6.17622163e-06, 0.195694149, 0.188138515, -0.962448835, 0.693800569, 0.667044759, 0.271463245)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3105 | RH.C0=clerp(RH.C0,CFrame.new(0.516345441, -2.05924225, -0.366508484, 0.998546124, -0.0539050102, 1.23981545e-06, 0.0506312773, 0.93789506, -0.343204796, 0.0184992962, 0.342705905, 0.939260662)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3106 | LH.C0=clerp(LH.C0,CFrame.new(-0.543680549, -2.08511305, -0.375961393, 0.99770534, 0.0677060112, -2.03118111e-06, -0.0635941327, 0.937102914, -0.343211323, -0.0232355706, 0.342423916, 0.939258277)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3107 | end | |
3108 | for i=0,1,0.06 do | |
3109 | swait() | |
3110 | RJ.C0=clerp(RJ.C0,CFrame.new(-1.95034795e-18, 0.0016656284, 0.0409713611, 1, -1.17056724e-15, 2.9477223e-17, -1.17093835e-15, 0.999683142, -0.025174018, 0, 0.025174018, 0.999683142)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3111 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.47295976, 0.0762125626, 1, 0, 0, 0, 0.991611481, -0.129255429, 0, 0.129255429, 0.991611481)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3112 | RS.C0=clerp(RS.C0,CFrame.new(0.746309519, 1.18215656, -0.69776839, 0.0886500105, 0.516807973, 0.851499081, 0.743473113, -0.603231192, 0.288721114, 0.662864208, 0.607471645, -0.437709302)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3113 | LS.C0=clerp(LS.C0,CFrame.new(-0.578242004, 1.34403408, -0.803679824, 0.747157156, -0.660108209, 0.077546373, -0.399777412, -0.539544642, -0.740992367, 0.530974805, 0.522636473, -0.667020977)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3114 | RH.C0=clerp(RH.C0,CFrame.new(0.516344607, -2.0012536, 0.00941089541, 0.998546124, -0.0539050102, 1.23981545e-06, 0.0538878851, 0.998229563, 0.0251810495, -0.00135862222, -0.0251443721, 0.999682963)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3115 | LH.C0=clerp(LH.C0,CFrame.new(-0.54368037, -2.02878881, 0.0101051517, 0.99770534, 0.0677060112, -2.03118111e-06, -0.0676845163, 0.997389197, 0.0251740869, 0.00170646305, -0.0251161829, 0.999683142)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.25) | |
3116 | end | |
3117 | swait() | |
3118 | sounds(Root,"1310128035",1.6,.7) | |
3119 | ok=true | |
3120 | CameraShake(80,Head,3,.05) | |
3121 | LockEffect(e,col[1],Root.CFrame,Root,40,40,40,3,3,3,.02,"Brick",1,0,"") | |
3122 | LockEffect(e,col[1],Root.CFrame,Root,40,40,40,2,2,2,.02,"Sphere",6,0,"") | |
3123 | for i=1,20 do | |
3124 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),80,80,80,-3,-3,-3,.04,"Sphere",3,math.random(20,30)/10,"") | |
3125 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,35,0,0,0,.03,"Sphere",4,.1,"",130,180,150) | |
3126 | end | |
3127 | for i=0,1,0.04 do | |
3128 | swait() | |
3129 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.29635865e-18, 0.00793923996, 0.167696625, 1, -1.15234089e-15, 2.07863222e-16, -1.17093835e-15, 0.984117448, -0.177518502, 0, 0.177518502, 0.984117448)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3130 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.37083244, 0.232683539, 1, 0, 0, 0, 0.871405363, -0.49056372, 0, 0.49056372, 0.871405363)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3131 | RS.C0=clerp(RS.C0,CFrame.new(1.74112046, 0.00480708852, 0.2067132, 0.511707902, -0.848705888, -0.133616433, 0.808253944, 0.422794729, 0.409841627, -0.291342676, -0.317715228, 0.902317286)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3132 | LS.C0=clerp(LS.C0,CFrame.new(-1.65785241, 0.0526258796, 0.438414007, 0.488762051, 0.806380987, 0.332958609, -0.872311711, 0.44577688, 0.200886413, 0.013565734, -0.388629287, 0.921294391)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3133 | RH.C0=clerp(RH.C0,CFrame.new(0.516344965, -2.00502086, 0.191270247, 0.998546124, -0.0539050102, 1.23981545e-06, 0.0530485697, 0.982685506, 0.177525416, -0.00957072712, -0.177267253, 0.984116197)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3134 | LH.C0=clerp(LH.C0,CFrame.new(-0.543680429, -2.03212714, 0.196160644, 0.99770534, 0.0677060112, -2.03118111e-06, -0.0666303188, 0.981859267, 0.177518561, 0.0120210694, -0.177111089, 0.984117448)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3135 | end | |
3136 | elseif choice==4 then | |
3137 | for i=0,1,0.06 do | |
3138 | swait() | |
3139 | RJ.C0=clerp(RJ.C0,CFrame.new(4.68375603e-17, -1.00000048, 2.81780958e-05, 1, -4.64817999e-17, -5.76165997e-18, -4.68375339e-17, 0.992404938, 0.123013727, 0, -0.123013727, 0.992404938)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3140 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.57122159, -0.163274109, 1, 0, 0, 0, 0.936353505, 0.351058424, 0, -0.351058424, 0.936353505)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3141 | RS.C0=clerp(RS.C0,CFrame.new(1.13374329, -0.158999205, -0.703515172, 0.968200624, 0.248347685, -0.0301816687, -0.204551756, 0.716394424, -0.667036474, -0.144034952, 0.651998878, 0.744413555)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3142 | LS.C0=clerp(LS.C0,CFrame.new(-0.912300527, -0.142237604, -0.778449237, 0.92667073, -0.373554796, 0.0416914336, 0.297392488, 0.660827219, -0.689104557, 0.229867458, 0.650971711, 0.723461628)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3143 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -1.00614512, -0.645060897, 1, 0, 0, 0, 0.998766065, 0.0496628582, 0, -0.0496628582, 0.998766065)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3144 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.61372328, 0.76758641, 1, 0, 0, 0, 0.565185726, 0.824963689, 0, -0.824963689, 0.565185726)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3145 | end | |
3146 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),"Bright blue",Enum.Material.Neon,.4,0) | |
3147 | meshs(refz,"Mesh",Vector3.new(9,12,9),Enum.MeshType.FileMesh,"1778999") | |
3148 | refz.Anchored=true | |
3149 | refz.CFrame=Root.CFrame*CFrame.new(0,-6,0) | |
3150 | sounds(refz,"199146035",1.1,1) | |
3151 | local la=-6 | |
3152 | for i=0,1,0.05 do | |
3153 | swait() | |
3154 | la=la+.5 | |
3155 | refz.CFrame=Root.CFrame*CFrame.new(0,la,0) | |
3156 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3157 | Neck.C0=clerp(Neck.C0,CFrame.new(-6.83385123e-17, 1.45905435, 0.133173555, 1, -4.4766803e-17, 1.37727342e-17, -4.68375339e-17, 0.95578903, -0.294053376, 0, 0.294053376, 0.95578903)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3158 | RS.C0=clerp(RS.C0,CFrame.new(1.3367523, 1.48646891, -0.395474702, 0.986297131, 0.149123609, 0.0705709159, 0.164316565, -0.849629581, -0.501128316, -0.0147709316, 0.505857348, -0.862490714)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3159 | LS.C0=clerp(LS.C0,CFrame.new(-1.33212662, 1.48460805, -0.228756428, 0.989708662, -0.143097535, 4.5536396e-07, -0.132842362, -0.918781698, -0.371743292, 0.0531959683, 0.367917448, -0.928335607)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3160 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -2.01160526, -0.161240906, 1, -4.6718175e-17, -3.34171351e-18, -4.68375339e-17, 0.997451603, 0.0713469163, 0, -0.0713469088, 0.997451603)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3161 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.99858701, 0.023087576, 1, -4.67410614e-17, -3.00467257e-18, -4.68375339e-17, 0.997940302, 0.0641509518, 0, -0.0641509518, 0.997940302)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3162 | end | |
3163 | ok=true | |
3164 | sounds(Root,"338594737",1.1,1) | |
3165 | Effect(e,col[1],refz.CFrame*CFrame.new(0,-3,0),10,10,10,5,5,5,.05,"Brick",1,0,"") | |
3166 | Effect(e,col[1],refz.CFrame*CFrame.new(0,-3,0),20,20,20,5,5,5,.05,"Brick",1,0,"") | |
3167 | for i=1,15 do | |
3168 | Effect(e,col[1],refz.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,35,0,0,0,.03,"Sphere",4,.1,"",130,180,150) | |
3169 | end | |
3170 | CameraShake(100,Head,3,.05) | |
3171 | refz:Remove() | |
3172 | for i=0,1,0.04 do | |
3173 | swait() | |
3174 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, -0, 1, -9.36750677e-17, 0, -9.36750677e-17, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3175 | Neck.C0=clerp(Neck.C0,CFrame.new(-6.9897e-17, 1.49232888, -0.107949734, 1, -4.54057702e-17, -1.14922088e-17, -4.68375339e-17, 0.969431281, 0.245363235, 0, -0.245363235, 0.969431281)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3176 | RS.C0=clerp(RS.C0,CFrame.new(1.9800576, 0.596585155, -0.047003448, -0.038547013, -0.998755455, 0.0316511504, 0.998755395, -0.0375050604, 0.03287898, -0.0316509753, 0.0328791402, 0.998958111)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3177 | LS.C0=clerp(LS.C0,CFrame.new(-2.00713968, 0.494357556, 0.0302567445, -0.00578799937, 0.999472857, 0.0319442078, -0.0669459179, 0.0314857773, -0.997259676, -0.997739851, -0.00791067164, 0.0667283982)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3178 | RH.C0=clerp(RH.C0,CFrame.new(0.500016212, -2.01160526, -0.161240906, 1, -4.6718175e-17, -3.34171351e-18, -4.68375339e-17, 0.997451603, 0.0713469163, 0, -0.0713469088, 0.997451603)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3179 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.99858701, 0.023087576, 1, -4.67410614e-17, -3.00467257e-18, -4.68375339e-17, 0.997940302, 0.0641509518, 0, -0.0641509518, 0.997940302)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3180 | end | |
3181 | elseif choice==5 then | |
3182 | Effect(e,"Alder",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),60,60,60,-1,-1,-1,.03,"Sphere",6,0,"") | |
3183 | Effect(e,"Royal purple",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),60,60,60,-1,-1,-1,.03,"Brick",1,0,"") | |
3184 | for i=0,1,0.02 do | |
3185 | swait() | |
3186 | Effect(e,"Royal purple",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(0,5,0),3,3,40,0,0,0,.04,"Sphere",3,2,"") | |
3187 | Effect(e,"Alder",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(0,5,0),3,3,40,0,0,0,.04,"Sphere",3,2,"") | |
3188 | RJ.C0=clerp(RJ.C0,CFrame.new(1.45896052e-16, -0.119805336, 3.81469727e-06, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3189 | Neck.C0=clerp(Neck.C0,CFrame.new(-9.33710888e-16, 1.5334692, -0.0932569802, 1, -5.99801129e-16, -1.04800965e-16, -6.0888794e-16, 0.985076308, 0.172118634, 0, -0.172118634, 0.985076308)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3190 | RS.C0=clerp(RS.C0,CFrame.new(1.98724985, 0.399357885, -0.465691119, 0.0390189849, -0.917319357, 0.396235764, 0.992645085, -0.00989453588, -0.120656557, 0.114601173, 0.398029387, 0.91018641)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3191 | LS.C0=clerp(LS.C0,CFrame.new(-2.00015116, 0.424853861, -0.568261087, 0.0191030074, 0.873589575, -0.486288488, -0.994627297, 0.066099517, 0.0796717927, 0.101743877, 0.482153773, 0.870158613)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3192 | RH.C0=clerp(RH.C0,CFrame.new(0.523034573, -1.87156796, 0.0132280812, 0.999930263, -0.0118108643, 3.88632202e-07, 0.0118069937, 0.99960345, 0.0255667791, -0.000302354281, -0.0255649947, 0.999673128)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3193 | LH.C0=clerp(LH.C0,CFrame.new(-0.574481487, -1.97308517, -6.85287932e-06, 0.998523653, 0.0543189794, -1.79252572e-06, -0.0543189794, 0.998523653, -2.95127029e-06, 1.6295694e-06, 3.04428067e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3194 | end | |
3195 | ok=true | |
3196 | Effect(e,"Alder",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,11,11,11,.03,"Sphere",6,0,"") | |
3197 | for i=1,3 do | |
3198 | Effect(e,"Alder",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),.5,.5,.5,.03,.03,.03,.02,"FileMesh",6,0,"729867285") | |
3199 | Effect(e,"Royal purple",Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),.5,.5,.5,.05,.05,.05,.02,"FileMesh",6,0,"729867285") | |
3200 | end | |
3201 | for i=0,1,0.04 do | |
3202 | swait() | |
3203 | RJ.C0=clerp(RJ.C0,CFrame.new(1.45896052e-16, -0.119805336, 3.81469727e-06, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3204 | Neck.C0=clerp(Neck.C0,CFrame.new(-9.3374371e-16, 1.53352296, 0.0105924327, 1, -6.08887887e-16, -3.21492792e-19, -6.0888794e-16, 0.999999881, 0.000527999946, 0, -0.000527999946, 0.999999881)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3205 | RS.C0=clerp(RS.C0,CFrame.new(1.98724985, 0.399357885, -0.465691119, 0.0390189849, -0.917319357, 0.396235764, 0.992645085, -0.00989453588, -0.120656557, 0.114601173, 0.398029387, 0.91018641)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3206 | LS.C0=clerp(LS.C0,CFrame.new(-2.00015116, 0.424853861, -0.568261087, 0.0191030074, 0.873589575, -0.486288488, -0.994627297, 0.066099517, 0.0796717927, 0.101743877, 0.482153773, 0.870158613)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3207 | RH.C0=clerp(RH.C0,CFrame.new(0.523034573, -1.87156796, 0.0132280812, 0.999930263, -0.0118108643, 3.88632202e-07, 0.0118069937, 0.99960345, 0.0255667791, -0.000302354281, -0.0255649947, 0.999673128)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3208 | LH.C0=clerp(LH.C0,CFrame.new(-0.574481487, -1.97308517, -6.85287932e-06, 0.998523653, 0.0543189794, -1.79252572e-06, -0.0543189794, 0.998523653, -2.95127029e-06, 1.6295694e-06, 3.04428067e-06, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3209 | end | |
3210 | ||
3211 | elseif choice==6 or choice==8 then | |
3212 | for i=0,1,0.03 do | |
3213 | swait() | |
3214 | Effect(e,"Daisy orange",LArm.CFrame*CFrame.new(0,-1.6,0),6,6,6,0,0,0,.06,"Brick",1,0,"") | |
3215 | Effect(e,"Daisy orange",RArm.CFrame*CFrame.new(0,-1.6,0),6,6,6,0,0,0,.06,"Brick",1,0,"") | |
3216 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -2.34187669e-15, -3.23117427e-27, -2.34187669e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,i,0)*CFrame.Angles(0,math.rad(0-360*i),0),.4) | |
3217 | Neck.C0=clerp(Neck.C0,CFrame.new(-3.51287094e-15, 1.50002384, 3.81469727e-06, 1, -2.34187669e-15, -3.23117427e-27, -2.34187669e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3218 | RS.C0=clerp(RS.C0,CFrame.new(1.98361444, 0.483877838, -0.0392653309, 0.0620889999, -0.998070717, -5.09350855e-07, 0.0189099368, 0.00117687916, -0.99982053, 0.997891426, 0.0620778538, 0.0189465266)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3219 | LS.C0=clerp(LS.C0,CFrame.new(-1.98959792, 0.551547468, -0.0873881727, -0.0445470214, 0.996441483, -0.0715537816, -0.998974741, -0.0450101048, -0.00487172697, -0.00807503425, 0.0712633878, 0.997424901)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2) | |
3220 | RH.C0=clerp(RH.C0,CFrame.new(0.500014305, -1.96264863, 0.206780493, 0.994729996, -0.102529213, -1.4021681e-06, 0.10089045, 0.978828549, 0.178089723, -0.0182580259, -0.177151352, 0.984014273)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
3221 | LH.C0=clerp(LH.C0,CFrame.new(-0.585356832, -1.99861932, 0.21234341, 0.994778454, 0.100590341, 0.017246183, -0.102058053, 0.980467319, 0.168131262, 3.06174161e-06, -0.169013485, 0.985613704)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) | |
3222 | end | |
3223 | swait() | |
3224 | ok=true | |
3225 | if choice==6 then | |
3226 | sounds(Root,"588717600",1.4,1.3) | |
3227 | ||
3228 | elseif choice==8 then | |
3229 | sounds(Root,"588717937",1.4,1.2) | |
3230 | end | |
3231 | LockEffect(e,col[1],Root.CFrame,Root,40,40,40,2,2,2,.02,"Sphere",6,0,"") | |
3232 | for i=1,10 do | |
3233 | Effect(e,col[1],Root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,35,0,0,0,.03,"Sphere",4,.1,"",130,180,150) | |
3234 | end | |
3235 | for i=0,1,0.02 do | |
3236 | swait() | |
3237 | RJ.C0=clerp(RJ.C0,CFrame.new(-1.2562136e-15, 0.536413193, -1.52587891e-05, 1, -2.34187669e-15, -3.23117427e-27, -2.34187669e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,1-(i/1.5),0)*CFrame.Angles(0,0,0),.4) | |
3238 | Neck.C0=clerp(Neck.C0,CFrame.new(-1.7425418e-15, 1.48815846, 0.0623606294, 1, -1.15030155e-15, 2.18867795e-16, -1.17093835e-15, 0.98237586, -0.186916575, 0, 0.186916575, 0.98237586)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3239 | RS.C0=clerp(RS.C0,CFrame.new(1.8548857, 0.741898894, 0.162331253, -0.207913041, -0.942457378, 0.261813521, -0.0543937124, -0.256108522, -0.965116501, 0.976633847, -0.214901283, 0.0019845427)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3240 | LS.C0=clerp(LS.C0,CFrame.new(-1.98075819, 0.912808001, 0.205357209, -0.394408047, 0.902914107, 0.170846298, -0.918823719, -0.390384436, -0.0579924099, 0.0143335657, -0.179850295, 0.98358953)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3241 | RH.C0=clerp(RH.C0,CFrame.new(0.500014305, -1.96264791, 0.206784248, 0.994729996, -0.102529213, -1.4021681e-06, 0.10089045, 0.978828549, 0.178089723, -0.0182580259, -0.177151352, 0.984014273)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3242 | LH.C0=clerp(LH.C0,CFrame.new(-0.585356832, -1.99861932, 0.21234341, 0.994778454, 0.100590341, 0.017246183, -0.102058053, 0.980467319, 0.168131262, 3.06174161e-06, -0.169013485, 0.985613704)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
3243 | end | |
3244 | elseif choice==7 then | |
3245 | for i=0,1,0.02 do | |
3246 | swait() | |
3247 | ||
3248 | end | |
3249 | ok=true | |
3250 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),col[1],Enum.Material.Neon,0,1) | |
3251 | local dir = game:GetService("Lighting"):GetSunDirection() | |
3252 | local pos = refz.Position+(dir*500) | |
3253 | refz.Position=pos | |
3254 | refz.CFrame=CFrame.new(pos,Root.Position) | |
3255 | Effect(e,col[1],CFrame.new(Root.Position,refz.Position)*CFrame.Angles(0,math.rad(90),0),39999,1,1,0,15,15,.04,"Cylinder",6,0,"") | |
3256 | game:GetService("Debris"):AddItem(refz,.1) | |
3257 | ||
3258 | ||
3259 | end | |
3260 | attack=false | |
3261 | end | |
3262 | ||
3263 | rainb=false | |
3264 | function modechange(choic) | |
3265 | attack=true | |
3266 | unleashed=false | |
3267 | local rotat=9 | |
3268 | if choic==1 then | |
3269 | choice=choice-1 | |
3270 | if choice<1 then | |
3271 | choice=8 | |
3272 | end | |
3273 | coroutine.resume(coroutine.create(function() | |
3274 | for i=1,9 do | |
3275 | swait() | |
3276 | Mode.Rotation=Mode.Rotation+rotat | |
3277 | rotat=rotat-1 | |
3278 | end | |
3279 | end)) | |
3280 | elseif choic==2 then | |
3281 | choice=choice+1 | |
3282 | if choice>8 then | |
3283 | choice=1 | |
3284 | end | |
3285 | coroutine.resume(coroutine.create(function() | |
3286 | for i=1,9 do | |
3287 | swait() | |
3288 | Mode.Rotation=Mode.Rotation-rotat | |
3289 | rotat=rotat-1 | |
3290 | end | |
3291 | end)) | |
3292 | end | |
3293 | Misfortune.Text="Misfortune" | |
3294 | Gale.Text="Gale" | |
3295 | Agony.Text="Agony" | |
3296 | Glace.Text="Glace" | |
3297 | Astral.Text="Astral" | |
3298 | Honor.Text="Honor" | |
3299 | Solar.Text="Solar" | |
3300 | Pastel.Text="Pastel" | |
3301 | Trauma.Text="Trauma" | |
3302 | Solar.BackgroundColor3=Color3.new(1, 0.439216, 0.160784) | |
3303 | Solar.BorderColor3=Color3.new(1, 0.666667, 0) | |
3304 | Solar.TextColor3=Color3.new(1, 0.666667, 0) | |
3305 | coroutine.resume(coroutine.create(function() | |
3306 | Chang() | |
3307 | end)) | |
3308 | --[[coroutine.resume(coroutine.create(function() | |
3309 | while ok==false do | |
3310 | swait() | |
3311 | end | |
3312 | ||
3313 | if choice==1 then | |
3314 | col={"Really black","Institutional white"} | |
3315 | elseif choice==2 then | |
3316 | col={"Olivine","Pastel green"} | |
3317 | elseif choice==3 then | |
3318 | col={"Crimson","Bright red"} | |
3319 | elseif choice==4 then | |
3320 | col={"Bright blue","Cyan"} | |
3321 | elseif choice==5 then | |
3322 | col={"Royal purple","Alder"} | |
3323 | elseif choice==6 then | |
3324 | col={"Daisy orange","Gold"} | |
3325 | elseif choice==7 then | |
3326 | col={"Bright orange","Deep orange"} | |
3327 | elseif choice==8 then | |
3328 | rainb=true | |
3329 | end | |
3330 | ||
3331 | end))]] | |
3332 | for i=1.5,-.01,-.044 do | |
3333 | swait() | |
3334 | if musicset~="None" and theme.Parent~=nil then | |
3335 | theme.Volume=i | |
3336 | end | |
3337 | end | |
3338 | theme.TimePosition=0 | |
3339 | theme:Play() | |
3340 | ||
3341 | rainb=false | |
3342 | print(choice) | |
3343 | if choice==1 then | |
3344 | col={"Really black","Institutional white"} | |
3345 | theme.SoundId="rbxassetid://1845818501" | |
3346 | elseif choice==2 then | |
3347 | col={"Olivine","Pastel green"} | |
3348 | theme.SoundId="rbxassetid://1845397575" | |
3349 | elseif choice==3 then | |
3350 | col={"Crimson","Bright red"} | |
3351 | theme.SoundId="rbxassetid://7029031068" | |
3352 | elseif choice==4 then | |
3353 | col={"Bright blue","Cyan"} | |
3354 | theme.SoundId="rbxassetid://9047050075" | |
3355 | elseif choice==5 then | |
3356 | col={"Royal purple","Alder"} | |
3357 | theme.SoundId="rbxassetid://1837267320" | |
3358 | elseif choice==6 then | |
3359 | col={"Daisy orange","Gold"} | |
3360 | theme.SoundId="rbxassetid://1838488971" | |
3361 | elseif choice==7 then | |
3362 | col={"Bright orange","Deep orange"} | |
3363 | theme.SoundId="rbxassetid://1838710599" | |
3364 | elseif choice==8 then | |
3365 | rainb=true | |
3366 | theme.SoundId=lol("ruinex2.mp3") | |
3367 | end | |
3368 | if rainb==false then | |
3369 | LockEffect(e,col[1],RArm.CFrame,RArm,10,10,10,.6,.6,.6,.04,"Sphere",6,0,"") | |
3370 | LockEffect(e,col[1],LArm.CFrame,LArm,10,10,10,.6,.6,.6,.04,"Sphere",6,0,"") | |
3371 | else | |
3372 | LockEffect(e,"Bright blue",RArm.CFrame,RArm,10,10,10,.6,.6,.6,.04,"Sphere",6,0,"") | |
3373 | LockEffect(e,"Bright orange",LArm.CFrame,LArm,10,10,10,.6,.6,.6,.04,"Sphere",6,0,"") | |
3374 | end | |
3375 | for i=0,1.51,.02 do | |
3376 | swait() | |
3377 | if musicset~="None" and theme.Parent~=nil then | |
3378 | theme.Volume=i | |
3379 | end | |
3380 | end | |
3381 | ||
3382 | ||
3383 | end | |
3384 | ||
3385 | function namechange() | |
3386 | unleashed=true | |
3387 | for i=1.5,-.01,-.044 do | |
3388 | swait() | |
3389 | if musicset~="None" and theme.Parent~=nil then | |
3390 | theme.Volume=i | |
3391 | end | |
3392 | end | |
3393 | if choice==1 then | |
3394 | Misfortune.Text="Sharpshooter" | |
3395 | col={"Really black","Dark stone grey"} | |
3396 | theme.SoundId="rbxassetid://1846584518" | |
3397 | elseif choice==2 then | |
3398 | Gale.Text="Zephyr" | |
3399 | theme.SoundId="rbxassetid://1839503808" | |
3400 | elseif choice==3 then | |
3401 | Agony.Text="Ruthless" | |
3402 | theme.SoundId="rbxassetid://9048378262" | |
3403 | elseif choice==4 then | |
3404 | Glace.Text="SubZero" | |
3405 | theme.SoundId="rbxassetid://1842819037" | |
3406 | elseif choice==5 then | |
3407 | Astral.Text="Cosmic" | |
3408 | theme.SoundId="rbxassetid://1846612949" | |
3409 | elseif choice==6 then | |
3410 | Honor.Text="Harmony" | |
3411 | theme.SoundId="rbxassetid://586943362" | |
3412 | elseif choice==7 then | |
3413 | Solar.BackgroundColor3=Color3.new(0,40/255,96/255) | |
3414 | Solar.BorderColor3=Color3.new(33/255,84/255,185/255) | |
3415 | Solar.TextColor3=Color3.new(33/255,84/255,185/255) | |
3416 | Solar.Text="Lunar" | |
3417 | col={"Navy blue","Deep blue"} | |
3418 | theme.SoundId="rbxassetid://9044545570" | |
3419 | ||
3420 | local refz=parts(e,"ref",Vector3.new(.2,.2,.2),col[1],Enum.Material.Neon,0,1) | |
3421 | local dir = game:GetService("Lighting"):GetMoonDirection() | |
3422 | local pos = refz.Position+(dir*500) | |
3423 | refz.Position=pos | |
3424 | refz.CFrame=CFrame.new(pos,Root.Position) | |
3425 | Effect(e,col[1],CFrame.new(Root.Position,refz.Position)*CFrame.Angles(0,math.rad(90),0),39999,1,1,0,15,15,.04,"Cylinder",6,0,"") | |
3426 | game:GetService("Debris"):AddItem(refz,.1) | |
3427 | ||
3428 | elseif choice==8 then | |
3429 | Pastel.Text="Variety" | |
3430 | theme.SoundId=lol("ruinex1.mp3") | |
3431 | elseif choice==9 then | |
3432 | Trauma.Text="Detest" | |
3433 | theme.SoundId=lol("ruinex3.mp3") | |
3434 | end | |
3435 | theme.TimePosition=0 | |
3436 | theme:Play() | |
3437 | for i=0,1.51,.02 do | |
3438 | swait() | |
3439 | if musicset~="None" and theme.Parent~=nil then | |
3440 | theme.Volume=i | |
3441 | end | |
3442 | end | |
3443 | ||
3444 | end | |
3445 | ||
3446 | mouse.Button1Down:connect(function() | |
3447 | if attack==false then | |
3448 | Attack() | |
3449 | end | |
3450 | if doing==true and attack2==false then | |
3451 | PERISH() | |
3452 | end | |
3453 | end) | |
3454 | ||
3455 | musicsetting=false | |
3456 | mouse.KeyDown:connect(function(k) | |
3457 | k=k:lower() | |
3458 | if attack==false then | |
3459 | --v Skill | |
3460 | if k=="z" then | |
3461 | Skillone() | |
3462 | elseif k=="x" then | |
3463 | Skilltwo() | |
3464 | elseif k=="c" then | |
3465 | Skillthree() | |
3466 | elseif k=="v" then | |
3467 | Skillfour() | |
3468 | --v Mode | |
3469 | elseif k=="q" and choice~=9 then | |
3470 | modechange(1) | |
3471 | elseif k=="e" and choice~=9 then | |
3472 | modechange(2) | |
3473 | ||
3474 | elseif k=="r" and unleashed==false then | |
3475 | namechange() | |
3476 | ||
3477 | ||
3478 | elseif k=="u" and choice~=9 and aaa==false then | |
3479 | choice=9 | |
3480 | unleashed=false | |
3481 | theme.Volume=1.15 | |
3482 | theme.SoundId="rbxassetid://1839703769" | |
3483 | theme.TimePosition=0 | |
3484 | theme:Play() | |
3485 | local raise=-10 | |
3486 | local rot=math.random(-30,-10)/5 | |
3487 | local si=1 | |
3488 | coroutine.resume(coroutine.create(function() | |
3489 | for i=1.1,0,-.003 do | |
3490 | swait() | |
3491 | raise=raise+.1 | |
3492 | si=si-.01 | |
3493 | Trauma.TextTransparency=si | |
3494 | Trauma.TextStrokeTransparency=si | |
3495 | Trauma.BackgroundTransparency=si | |
3496 | Mode.Rotation=Mode.Rotation+1 | |
3497 | Mode.Position=Mode.Position+UDim2.new(0,rot,0,raise) | |
3498 | end | |
3499 | print(Mode.Rotation) | |
3500 | aaa=true | |
3501 | end)) | |
3502 | elseif k=="u" and choice==9 and aaa==true then | |
3503 | choice=1 | |
3504 | unleashed=false | |
3505 | rainb=false | |
3506 | aaa=false | |
3507 | col={"Really black","Institutional white"} | |
3508 | Mode.Rotation=0 | |
3509 | Mode:TweenPosition(UDim2.new(1, 0, 0.899999976, 0), "Out", "Quart", 3,true) | |
3510 | theme.Volume=1.5 | |
3511 | theme.SoundId="rbxassetid://1524659810" | |
3512 | theme.TimePosition=0 | |
3513 | theme:Play() | |
3514 | Trauma.Text="Trauma" | |
3515 | Trauma.TextTransparency=1 | |
3516 | Trauma.TextStrokeTransparency=1 | |
3517 | Trauma.BackgroundTransparency=1 | |
3518 | elseif k=="z" then | |
3519 | ||
3520 | end | |
3521 | end | |
3522 | if k=="m" and musicsetting==false then | |
3523 | if musicset=="Character" then | |
3524 | musicset="None" | |
3525 | musicsetting=true | |
3526 | for i=1.5,-.01,-.04 do | |
3527 | swait() | |
3528 | theme.Volume=i | |
3529 | end | |
3530 | theme.PlaybackSpeed=0 | |
3531 | musicsetting=false | |
3532 | elseif musicset=="None" then | |
3533 | musicset="Character" | |
3534 | musicsetting=true | |
3535 | theme.PlaybackSpeed=1 | |
3536 | for i=0,1.51,.04 do | |
3537 | swait() | |
3538 | if choice==9 then | |
3539 | theme.Volume=i/1.5 | |
3540 | else | |
3541 | theme.Volume=i | |
3542 | end | |
3543 | end | |
3544 | musicsetting=false | |
3545 | end | |
3546 | end | |
3547 | end) | |
3548 | ||
3549 | warn'Currently have 18 modes' | |
3550 | warn'press q or e to switch mode' | |
3551 | ||
3552 | warn'press m to mute or unmute' | |
3553 | warn'press r to unleash' | |
3554 | warn'press u to abuse or go back' | |
3555 | warn'current moves:' | |
3556 | warn'Misfortune: z' | |
3557 | warn'Sharpshooter: z' | |
3558 | warn'Gale: z' | |
3559 | warn'Agony: z,x' | |
3560 | warn'Ruthless: z' | |
3561 | warn'Glace: z,x' | |
3562 | warn'Astral: z' | |
3563 | warn'Cosmic: z' | |
3564 | warn'Honor: z' | |
3565 | warn'Harmony: x' | |
3566 | warn'Solar: z' | |
3567 | warn'Pastel: v' | |
3568 | warn'Trauma: z' | |
3569 | warn'Detest: v(Warning: Abuse)' | |
3570 | ||
3571 | ||
3572 | function vissi() | |
3573 | for _,v in pairs(Ruin:children()) do | |
3574 | if v:IsA("Frame") then | |
3575 | for _,s in pairs(v:children()) do | |
3576 | if s.Name=="Vis" then | |
3577 | if choice==1 then | |
3578 | if s:IsA("Frame") then | |
3579 | s.BackgroundColor3=Color3.new(theme.PlaybackLoudness/255,theme.PlaybackLoudness/255,theme.PlaybackLoudness/255) | |
3580 | elseif s:IsA("ImageLabel") then | |
3581 | s.ImageColor3=Color3.new(theme.PlaybackLoudness/255,theme.PlaybackLoudness/255,theme.PlaybackLoudness/255) | |
3582 | end | |
3583 | elseif choice==2 then | |
3584 | if s:IsA("Frame") then | |
3585 | s.BackgroundColor3=Color3.new(102/255+theme.PlaybackLoudness/600,205,103/255+theme.PlaybackLoudness/600) | |
3586 | elseif s:IsA("ImageLabel") then | |
3587 | s.ImageColor3=Color3.new(102/255+theme.PlaybackLoudness/600,205,103/255+theme.PlaybackLoudness/600) | |
3588 | end | |
3589 | elseif choice==3 then | |
3590 | if s:IsA("Frame") then | |
3591 | s.BackgroundColor3=Color3.new(170/250+theme.PlaybackLoudness/600,0,0) | |
3592 | elseif s:IsA("ImageLabel") then | |
3593 | s.ImageColor3=Color3.new(170/250+theme.PlaybackLoudness/600,0,0) | |
3594 | end | |
3595 | elseif choice==4 then | |
3596 | if s:IsA("Frame") then | |
3597 | s.BackgroundColor3=Color3.new(84/255+theme.PlaybackLoudness/600, 190/255+theme.PlaybackLoudness/600, 1) | |
3598 | elseif s:IsA("ImageLabel") then | |
3599 | s.ImageColor3=Color3.new(84/255+theme.PlaybackLoudness/600, 190/255+theme.PlaybackLoudness/600, 1) | |
3600 | end | |
3601 | elseif choice==5 then | |
3602 | if s:IsA("Frame") then | |
3603 | s.BackgroundColor3=Color3.new(137/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600, 205/255+theme.PlaybackLoudness/600) | |
3604 | elseif s:IsA("ImageLabel") then | |
3605 | s.ImageColor3=Color3.new(137/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600, 205/255+theme.PlaybackLoudness/600) | |
3606 | end | |
3607 | elseif choice==6 then | |
3608 | if s:IsA("Frame") then | |
3609 | s.BackgroundColor3=Color3.new(1, 1, 96/255+theme.PlaybackLoudness/600) | |
3610 | elseif s:IsA("ImageLabel") then | |
3611 | s.ImageColor3=Color3.new(1, 1, 96/255+theme.PlaybackLoudness/600) | |
3612 | end | |
3613 | elseif choice==7 then | |
3614 | if unleashed==false then | |
3615 | if s:IsA("Frame") then | |
3616 | s.BackgroundColor3=Color3.new(1, 170/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600) | |
3617 | elseif s:IsA("ImageLabel") then | |
3618 | s.ImageColor3=Color3.new(1, 170/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600) | |
3619 | end | |
3620 | else | |
3621 | if s:IsA("Frame") then | |
3622 | s.BackgroundColor3=Color3.new(0, 12/255+theme.PlaybackLoudness/800, 96/255+theme.PlaybackLoudness/800) | |
3623 | elseif s:IsA("ImageLabel") then | |
3624 | s.ImageColor3=Color3.new(0, 12/255+theme.PlaybackLoudness/800, 96/255+theme.PlaybackLoudness/800) | |
3625 | end | |
3626 | end | |
3627 | elseif choice==8 then | |
3628 | if s:IsA("Frame") then | |
3629 | s.BackgroundColor3=rain--+Color3.new(theme.PlaybackLoudness/200,theme.PlaybackLoudness/200,theme.PlaybackLoudness/200) | |
3630 | elseif s:IsA("ImageLabel") then | |
3631 | s.ImageColor3=rain--+Color3.new(theme.PlaybackLoudness/200,theme.PlaybackLoudness/200,theme.PlaybackLoudness/200) | |
3632 | end | |
3633 | elseif choice==9 then | |
3634 | if s:IsA("Frame") then | |
3635 | s.BackgroundColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3636 | elseif s:IsA("ImageLabel") then | |
3637 | s.ImageColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3638 | end | |
3639 | end | |
3640 | end | |
3641 | end | |
3642 | end | |
3643 | end | |
3644 | end | |
3645 | ||
3646 | function vissi2() | |
3647 | for _,v in pairs(Screen:children()) do | |
3648 | if v:IsA("Frame") then | |
3649 | if v.Name=="Bar"..lal then | |
3650 | if unleashed==false and (choice==1 or choice==3) then | |
3651 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*3.5, 0, 10), "Out", "Quart", .7,true) | |
3652 | v.Rotation=0 | |
3653 | elseif choice==1 and unleashed==true then | |
3654 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*1.8, 0, 10), "Out", "Quart", .7,true) | |
3655 | v.Rotation=0 | |
3656 | elseif choice==3 and unleashed==true then | |
3657 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*2, 0, 10), "Out", "Quart", .7,true) | |
3658 | v.Rotation=0 | |
3659 | elseif choice==7 and unleashed==true then | |
3660 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*1.2, 0, 10), "Out", "Quart", .7,true) | |
3661 | v.Rotation=0 | |
3662 | elseif choice==9 then | |
3663 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*2, 0, 10), "Out", "Quart", math.random(3,12)/10,true) | |
3664 | v.Rotation=math.random(-20,20) | |
3665 | else | |
3666 | v:TweenSize(UDim2.new(0, -(theme.PlaybackLoudness)*2, 0, 10), "Out", "Quart", .7,true) | |
3667 | v.Rotation=0 | |
3668 | end | |
3669 | if choice==1 then | |
3670 | v.BackgroundColor3=Color3.new(theme.PlaybackLoudness/255,theme.PlaybackLoudness/255,theme.PlaybackLoudness/255) | |
3671 | elseif choice==2 then | |
3672 | v.BackgroundColor3=Color3.new(102/255+theme.PlaybackLoudness/600,205,103/255+theme.PlaybackLoudness/600) | |
3673 | elseif choice==3 then | |
3674 | v.BackgroundColor3=Color3.new(170/250+theme.PlaybackLoudness/600,0,0) | |
3675 | elseif choice==4 then | |
3676 | v.BackgroundColor3=Color3.new(84/255+theme.PlaybackLoudness/600, 190/255+theme.PlaybackLoudness/600, 1) | |
3677 | elseif choice==5 then | |
3678 | v.BackgroundColor3=Color3.new(137/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600, 205/255+theme.PlaybackLoudness/600) | |
3679 | elseif choice==6 then | |
3680 | v.BackgroundColor3=Color3.new(1, 1, 96/255+theme.PlaybackLoudness/600) | |
3681 | elseif choice==7 then | |
3682 | if unleashed==false then | |
3683 | v.BackgroundColor3=Color3.new(1, 170/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600) | |
3684 | else | |
3685 | v.BackgroundColor3=Color3.new(0, 12/255+theme.PlaybackLoudness/800, 96/255+theme.PlaybackLoudness/800) | |
3686 | end | |
3687 | elseif choice==8 then | |
3688 | v.BackgroundColor3=rain | |
3689 | elseif choice==9 then | |
3690 | v.BackgroundColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3691 | end | |
3692 | end | |
3693 | end | |
3694 | end | |
3695 | end | |
3696 | ||
3697 | function vissi3() | |
3698 | for _,v in pairs(Visss:children()) do | |
3699 | if v:IsA("Frame") then | |
3700 | if v.Name=="vais"..lal2 then | |
3701 | if unleashed==false and (choice==1 or choice==3) then | |
3702 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/320, 0), "Out", "Quart", .7,true) | |
3703 | v.Rotation=0 | |
3704 | elseif choice==1 and unleashed==true then | |
3705 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/550, 0), "Out", "Quart", .7,true) | |
3706 | v.Rotation=0 | |
3707 | elseif choice==3 and unleashed==true then | |
3708 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/450, 0), "Out", "Quart", .7,true) | |
3709 | v.Rotation=0 | |
3710 | elseif choice==7 and unleashed==true then | |
3711 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/600, 0), "Out", "Quart", .7,true) | |
3712 | v.Rotation=0 | |
3713 | elseif choice==9 then | |
3714 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/510, 0), "Out", "Quart", math.random(3,12)/10,true) | |
3715 | v.Rotation=math.random(-20,20) | |
3716 | else | |
3717 | v:TweenSize(UDim2.new(.15, 0, (theme.PlaybackLoudness)/510, 0), "Out", "Quart", .7,true) | |
3718 | v.Rotation=0 | |
3719 | end | |
3720 | if choice==1 then | |
3721 | v.BackgroundColor3=Color3.new(theme.PlaybackLoudness/255,theme.PlaybackLoudness/255,theme.PlaybackLoudness/255) | |
3722 | elseif choice==2 then | |
3723 | v.BackgroundColor3=Color3.new(142/255+theme.PlaybackLoudness/600,205,123/255+theme.PlaybackLoudness/600) | |
3724 | elseif choice==3 then | |
3725 | v.BackgroundColor3=Color3.new(170/250+theme.PlaybackLoudness/600,0,0) | |
3726 | elseif choice==4 then | |
3727 | v.BackgroundColor3=Color3.new(84/255+theme.PlaybackLoudness/600, 190/255+theme.PlaybackLoudness/600, 1) | |
3728 | elseif choice==5 then | |
3729 | v.BackgroundColor3=Color3.new(137/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600, 205/255+theme.PlaybackLoudness/600) | |
3730 | elseif choice==6 then | |
3731 | v.BackgroundColor3=Color3.new(1, 1, 96/255+theme.PlaybackLoudness/600) | |
3732 | elseif choice==7 then | |
3733 | if unleashed==false then | |
3734 | v.BackgroundColor3=Color3.new(1, 170/255+theme.PlaybackLoudness/600, 0+theme.PlaybackLoudness/600) | |
3735 | else | |
3736 | v.BackgroundColor3=Color3.new(0, 12/255+theme.PlaybackLoudness/800, 96/255+theme.PlaybackLoudness/800) | |
3737 | end | |
3738 | elseif choice==8 then | |
3739 | v.BackgroundColor3=rain | |
3740 | elseif choice==9 then | |
3741 | v.BackgroundColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3742 | end | |
3743 | end | |
3744 | end | |
3745 | end | |
3746 | end | |
3747 | ||
3748 | ||
3749 | doe=0 | |
3750 | while chr.Humanoid.Health>=0 do | |
3751 | swait() | |
3752 | script.Parent=Ruin | |
3753 | script.Archivable=false | |
3754 | sin=sin+cha | |
3755 | doe=doe+1 | |
3756 | timeposit.Value=theme.TimePosition | |
3757 | if theme.Parent==nil then | |
3758 | theme=create("Sound"){ | |
3759 | Parent=chr, | |
3760 | SoundId="rbxassetid://", | |
3761 | Volume=1.6, | |
3762 | PlaybackSpeed=1, | |
3763 | MaxDistance=66666666, | |
3764 | Name="Theme", | |
3765 | Looped=true} | |
3766 | if unleashed==false then | |
3767 | if choice==1 then | |
3768 | theme.SoundId="rbxassetid://1524659810" | |
3769 | elseif choice==2 then | |
3770 | theme.SoundId="rbxassetid://1845397575" | |
3771 | elseif choice==3 then | |
3772 | theme.SoundId="rbxassetid://7029031068" | |
3773 | elseif choice==4 then | |
3774 | theme.SoundId="rbxassetid://9047050075" | |
3775 | elseif choice==5 then | |
3776 | theme.SoundId="rbxassetid://1837267320" | |
3777 | elseif choice==6 then | |
3778 | theme.SoundId="rbxassetid://1838488971" | |
3779 | elseif choice==7 then | |
3780 | theme.SoundId="rbxassetid://1838710599" | |
3781 | elseif choice==8 then | |
3782 | theme.SoundId=lol("ruinex2.mp3") | |
3783 | elseif choice==9 then | |
3784 | theme.Volume=1.15 | |
3785 | theme.SoundId="rbxassetid://1839703769" | |
3786 | end | |
3787 | else | |
3788 | if choice==1 then | |
3789 | theme.SoundId="rbxassetid://1846584518" | |
3790 | elseif choice==2 then | |
3791 | theme.SoundId="rbxassetid://1839503808" | |
3792 | elseif choice==3 then | |
3793 | theme.SoundId="rbxassetid://1524507347" | |
3794 | elseif choice==4 then | |
3795 | theme.SoundId="rbxassetid://1842819037" | |
3796 | elseif choice==5 then | |
3797 | theme.SoundId="rbxassetid://1846612949" | |
3798 | elseif choice==6 then | |
3799 | theme.SoundId="rbxassetid://586943362" | |
3800 | elseif choice==7 then | |
3801 | theme.SoundId="rbxassetid://9044545570" | |
3802 | elseif choice==8 then | |
3803 | theme.SoundId=lol("ruinex2.mp3") | |
3804 | elseif choice==9 then | |
3805 | theme.Volume=1.3 | |
3806 | theme.SoundId="rbxassetid://1656314169" | |
3807 | end | |
3808 | end | |
3809 | theme:Play() | |
3810 | theme.TimePosition=timeposit.Value | |
3811 | if musicset=="Character" then | |
3812 | theme.Parent=chr | |
3813 | elseif musicset=="None" then | |
3814 | theme.Parent=chr | |
3815 | theme.Volume=0 | |
3816 | theme.PlaybackSpeed=0 | |
3817 | end | |
3818 | end | |
3819 | coroutine.resume(coroutine.create(function() | |
3820 | vissi() | |
3821 | end)) | |
3822 | vissi2() | |
3823 | vissi3() | |
3824 | rain=sincolor(tick()*1) | |
3825 | rain2=sincolor2(tick()*1) | |
3826 | Pastel.BackgroundColor3=rain | |
3827 | Pastel.BorderColor3=rain2 | |
3828 | for _,x in pairs(rainParts) do | |
3829 | x.Color=rain | |
3830 | end | |
3831 | lal=lal+1 | |
3832 | if lal>=9 then | |
3833 | lal=1 | |
3834 | end | |
3835 | lal2=lal2+1 | |
3836 | if lal2>=5 then | |
3837 | lal2=1 | |
3838 | end | |
3839 | for _,v in pairs(m:children()) do | |
3840 | if v:IsA("Part") then | |
3841 | if v.Name=="R1" then | |
3842 | if choice~=9 then | |
3843 | if choice~=8 and rainb==false then | |
3844 | v.BrickColor=BrickColor.new(col[1]) | |
3845 | elseif choice==8 and rainb==true then | |
3846 | v.Color=rain | |
3847 | end | |
3848 | else | |
3849 | v.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3850 | end | |
3851 | elseif v.Name=="R2" then | |
3852 | if choice~=9 then | |
3853 | if choice~=8 and rainb==false then | |
3854 | v.BrickColor=BrickColor.new(col[2]) | |
3855 | elseif choice==8 and rainb==true then | |
3856 | v.Color=rain2 | |
3857 | end | |
3858 | else | |
3859 | v.Color=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3860 | end | |
3861 | end | |
3862 | end | |
3863 | end | |
3864 | if attack==false then | |
3865 | if choice==2 then | |
3866 | if unleashed==false then | |
3867 | hum.WalkSpeed=100 | |
3868 | hum.JumpPower=50 | |
3869 | else | |
3870 | hum.WalkSpeed=200 | |
3871 | hum.JumpPower=50 | |
3872 | end | |
3873 | elseif choice==6 then | |
3874 | hum.WalkSpeed=60 | |
3875 | hum.JumpPower=100 | |
3876 | elseif choice==8 then | |
3877 | hum.WalkSpeed=100 | |
3878 | hum.JumpPower=150 | |
3879 | elseif choice==9 then | |
3880 | if unleashed==false then | |
3881 | hum.WalkSpeed=math.random(10,30) | |
3882 | hum.JumpPower=math.random(40,70) | |
3883 | else | |
3884 | hum.WalkSpeed=math.random(20,100) | |
3885 | hum.JumpPower=math.random(50,200) | |
3886 | end | |
3887 | else | |
3888 | hum.WalkSpeed=16 | |
3889 | hum.JumpPower=50 | |
3890 | end | |
3891 | end | |
3892 | if e.Parent==nil then | |
3893 | e=create("Model"){ | |
3894 | Parent=chr, | |
3895 | Name="Effect"} | |
3896 | end | |
3897 | anti.CFrame=Root.CFrame | |
3898 | if choice~=9 then | |
3899 | HandleWeld.C0=clerp(HandleWeld.C0,HandleWeld.C0*CFrame.Angles(-math.rad(1),0,0),.3) | |
3900 | Roll.Rotation=Roll.Rotation+.2 | |
3901 | else | |
3902 | Trauma.BorderColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3903 | Trauma.BackgroundColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3904 | Trauma.TextColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3905 | Trauma.TextStrokeColor3=Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255) | |
3906 | if unleashed==false then | |
3907 | HandleWeld.C0=clerp(HandleWeld.C0,HandleWeld.C0*CFrame.Angles(-math.rad(math.random(-60,60)),0,0),.3) | |
3908 | Roll.Rotation=Roll.Rotation+math.random(-10,10) | |
3909 | RJ.C0=clerp(RJ.C0,RJ.C0*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))) ,math.random(1,4)/10) | |
3910 | Neck.C0=clerp(Neck.C0,Neck.C0*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) ,math.random(1,4)/10) | |
3911 | RS.C0=clerp(RS.C0,RS.C0*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) ,math.random(1,4)/10) | |
3912 | LS.C0=clerp(LS.C0,LS.C0*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) ,math.random(1,4)/10) | |
3913 | RH.C0=clerp(RH.C0,RH.C0*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) ,math.random(1,4)/10) | |
3914 | LH.C0=clerp(LH.C0,LH.C0*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) ,math.random(1,4)/10) | |
3915 | else | |
3916 | HandleWeld.C0=clerp(HandleWeld.C0,HandleWeld.C0*CFrame.Angles(-math.rad(math.random(-120,120)),0,0),.3) | |
3917 | Roll.Rotation=Roll.Rotation+math.random(-60,60) | |
3918 | RJ.C0=clerp(RJ.C0,RJ.C0*CFrame.Angles(math.rad(math.random(-11,11)),math.rad(math.random(-11,11)),math.rad(math.random(-11,11))) ,math.random(2,7)/10) | |
3919 | Neck.C0=clerp(Neck.C0,Neck.C0*CFrame.Angles(math.rad(math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))) ,math.random(1,7)/10) | |
3920 | RS.C0=clerp(RS.C0,RS.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))) ,math.random(2,7)/10) | |
3921 | LS.C0=clerp(LS.C0,LS.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))) ,math.random(2,7)/10) | |
3922 | RH.C0=clerp(RH.C0,RH.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))) ,math.random(2,7)/10) | |
3923 | LH.C0=clerp(LH.C0,LH.C0*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))) ,math.random(2,7)/10) | |
3924 | end | |
3925 | end | |
3926 | ||
3927 | if choice==1 then | |
3928 | if unleashed==false then | |
3929 | Effect(e,"Really black",CFrame.new(Root.Position+Vector3.new(math.random(-50,50)/10,-3,math.random(-50,50)/10)),1,1,1,0,0,0,.08,"Brick",7,1,"") | |
3930 | Effect(e,"Institutional white",CFrame.new(Root.Position+Vector3.new(math.random(-50,50)/10,-3,math.random(-50,50)/10)),1,1,1,0,0,0,.08,"Brick",7,1,"") | |
3931 | else | |
3932 | Effect(e,"Dark stone grey",RArm.CFrame*CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,-.2,-.2,-.2,.1,"Brick",1,0,"") | |
3933 | if doe>=28 then | |
3934 | doe=0 | |
3935 | Effect(e,"Dark stone grey",RArm.CFrame*CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,1,1,1,.1,"Brick",1,0,"") | |
3936 | end | |
3937 | end | |
3938 | elseif choice==2 then | |
3939 | if unleashed==true then | |
3940 | if Pose=="Idle" then | |
3941 | Effect(e,"Olivine",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4)*CFrame.Angles(-math.rad(90),0,0),2,2,25,0,0,0,.09,"Sphere",3,math.random(1,4)/10,"") | |
3942 | Effect(e,"Olivine",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4)*CFrame.Angles(-math.rad(90),0,0),2,2,25,0,0,0,.09,"Sphere",3,math.random(1,4)/10,"") | |
3943 | elseif Pose=="Walk" then | |
3944 | Effect(e,"Olivine",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4),2,2,25,0,0,0,.09,"Sphere",3,math.random(10,20)/10,"") | |
3945 | Effect(e,"Olivine",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4),2,2,25,0,0,0,.09,"Sphere",3,math.random(10,20)/10,"") | |
3946 | end | |
3947 | end | |
3948 | elseif choice==5 then | |
3949 | Effect(e,"Royal purple",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0,0,0,.07,"Brick",6,0,"") | |
3950 | Effect(e,"Alder",Root.CFrame*CFrame.new(math.random(-32,32)/4,math.random(-32,32)/4,math.random(-32,32)/4)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0,0,0,.07,"Brick",6,0,"") | |
3951 | elseif choice==6 then | |
3952 | Effect(e,"Daisy orange",Root.CFrame*CFrame.Angles(0,math.random(-360,360),0)*CFrame.new(math.random(-82,82)/4,-2,math.random(-82,82)/4)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),2,5,2,0,8,0,.07,"Sphere",6,0,"") | |
3953 | Effect(e,"Daisy orange",Root.CFrame*CFrame.Angles(0,math.random(-360,360),0)*CFrame.new(math.random(-82,82)/4,-2,math.random(-82,82)/4)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),2,2,14,0,0,0,.07,"Sphere",4,math.random(-1,1),"",100,200,150) | |
3954 | elseif choice==8 then | |
3955 | Effect(e,"Really red",Root.CFrame*CFrame.Angles(0,math.random(-360,360),0)*CFrame.new(math.random(-82,82)/4,-2,math.random(-82,82)/4)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),5,5,5,0,10,0,.07,"Sphere",6,0,"") | |
3956 | --Effect(e,"Really red",Root.CFrame*CFrame.Angles(0,math.random(-360,360),0)*CFrame.new(math.random(-82,82)/4,-2,math.random(-82,82)/4)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),5,5,5,0,10,0,.07,"Sphere",6,0,"") | |
3957 | if unleashed==true then | |
3958 | Effect(e,"Really red",Root.CFrame*CFrame.Angles(0,math.random(-360,360),0)*CFrame.new(math.random(-82,82)/4,-math.random(-82,82)/4,math.random(-82,82)/4),25,25,25,-2,-2,-2,.08,"Sphere",6,0,"") | |
3959 | ||
3960 | end | |
3961 | end | |
3962 | ||
3963 | local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude | |
3964 | local velderp=Root.Velocity.y | |
3965 | hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr) | |
3966 | if Root.Velocity.y>1 and hitfloor==nil then | |
3967 | Pose="Jump" | |
3968 | if attack==false then | |
3969 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -3.09127723e-15, -6.46234854e-27, -3.09127723e-15, 1, 0, -6.46234854e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(15),0,0),.3) | |
3970 | Neck.C0=clerp(Neck.C0,CFrame.new(-4.63699251e-15, 1.5000248, 0, 1, -3.09127723e-15, -6.46234854e-27, -3.09127723e-15, 1, 0, -6.46234854e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3971 | RS.C0=clerp(RS.C0,CFrame.new(1.62379456, 0.113182411, 0.249294981, 0.946902871, -0.310401082, -0.0838228315, 0.321519971, 0.914122999, 0.246990189, -4.1645595e-05, -0.260826379, 0.965385854)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3972 | LS.C0=clerp(LS.C0,CFrame.new(-1.63303888, 0.169894293, 0.0842211396, 0.906096697, 0.419105798, 0.0577863716, -0.423070848, 0.897600591, 0.123791598, 1.2692125e-05, -0.136614874, 0.990624309)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3973 | RH.C0=clerp(RH.C0,CFrame.new(0.499628693, -1.99333799, 0.0851352066, 0.998365104, -0.0569815598, -0.00451312633, 0.0571600087, 0.995245874, 0.0788568333, -1.71480019e-06, -0.0789858773, 0.996875703)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3974 | LH.C0=clerp(LH.C0,CFrame.new(-0.499035686, -1.98713207, 0.13623783, 0.997105896, 0.0756825954, 0.00720724696, -0.0760249943, 0.992612422, 0.0945565104, 2.28074987e-06, -0.0948308036, 0.995493412)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3975 | end | |
3976 | elseif Root.Velocity.y<-1 and hitfloor==nil then | |
3977 | Pose="Fall" | |
3978 | if attack==false then | |
3979 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 0, 0, 1, -3.09127723e-15, -6.46234854e-27, -3.09127723e-15, 1, 0, -6.46234854e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(-math.rad(15),0,0),.3) | |
3980 | Neck.C0=clerp(Neck.C0,CFrame.new(-4.63699251e-15, 1.5000248, 0, 1, -3.09127723e-15, -6.46234854e-27, -3.09127723e-15, 1, 0, -6.46234854e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3981 | RS.C0=clerp(RS.C0,CFrame.new(1.62379456, 0.113182411, 0.249294981, 0.946902871, -0.310401082, -0.0838228315, 0.321519971, 0.914122999, 0.246990189, -4.1645595e-05, -0.260826379, 0.965385854)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3982 | LS.C0=clerp(LS.C0,CFrame.new(-1.63303888, 0.169894293, 0.0842211396, 0.906096697, 0.419105798, 0.0577863716, -0.423070848, 0.897600591, 0.123791598, 1.2692125e-05, -0.136614874, 0.990624309)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3983 | RH.C0=clerp(RH.C0,CFrame.new(0.499628693, -1.99333799, 0.0851352066, 0.998365104, -0.0569815598, -0.00451312633, 0.0571600087, 0.995245874, 0.0788568333, -1.71480019e-06, -0.0789858773, 0.996875703)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3984 | LH.C0=clerp(LH.C0,CFrame.new(-0.499035686, -1.98713207, 0.13623783, 0.997105896, 0.0756825954, 0.00720724696, -0.0760249943, 0.992612422, 0.0945565104, 2.28074987e-06, -0.0948308036, 0.995493412)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3985 | end | |
3986 | elseif torvel<1 and hitfloor~=nil then | |
3987 | Pose="Idle" | |
3988 | if attack==false then | |
3989 | if choice==1 and unleashed==true then | |
3990 | RJ.C0=clerp(RJ.C0,CFrame.new(-2.27821329e-06, -0.2775119364-.1*math.cos(sin/25), 3.49921102e-05, 0.659672916, -1.07726328e-15, -0.75155288, 2.25465865e-05, 1, 1.97901863e-05, 0.75155288, -2.99999992e-05, 0.659672916)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3991 | Neck.C0=clerp(Neck.C0,CFrame.new(-6.31299736e-06, 1.50002289, 4.82660034e-05, 0.643483758, 0, 0.765459776, 0, 1, 0, -0.765459776, 0, 0.643483758)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3992 | RS.C0=clerp(RS.C0,CFrame.new(1.31422901, 1.177441, -0.442079872, -0.990155756, 0.113052547, -0.0825285316, -0.139583051, -0.841381252, 0.522105515, -0.0104126334, 0.528485298, 0.848878622)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0),.3) | |
3993 | LS.C0=clerp(LS.C0,CFrame.new(0.0409910828, 0.865940571, -0.774881124, 0.325620383, -0.929611802, 0.17260763, -0.149697006, -0.230941966, -0.961382687, 0.933575034, 0.287206978, -0.214359537)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3994 | RH.C0=clerp(RH.C0,CFrame.new(0.496650368, -1.89283326+.1*math.cos(sin/25), 0.0260337293, 0.991793752, 0.00807351619, -0.127593964, 0, 0.998004138, 0.063148737, 0.127849191, -0.0626305193, 0.989814222)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3995 | LH.C0=clerp(LH.C0,CFrame.new(-0.738804758, -1.88187542+.1*math.cos(sin/25), -0.0590641797, 0.623072207, 0.0634666681, 0.779585302, 0, 0.996702611, -0.0811423585, -0.782164454, 0.0505575463, 0.621017635)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3996 | elseif choice==3 then | |
3997 | if unleashed==false then | |
3998 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.06690912e-06, -0.2775119364-.1*math.cos(sin/25), 1.27186131e-05, 0.919510245, -1.54563862e-15, -0.393066078, 1.17919817e-05, 1, 2.75853072e-05, 0.393066078, -2.99999992e-05, 0.919510245)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
3999 | Neck.C0=clerp(Neck.C0,CFrame.new(2.28192475e-05, 1.50002468, 2.92600089e-05, 0.901203454, -0.182558104, 0.393070996, 0.198549956, 0.980090737, -2.64624432e-05, -0.385240436, 0.0780680776, 0.919508159)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4000 | RS.C0=clerp(RS.C0,CFrame.new(1.52195001, 0.104041323, -0.404402345, 0.949402213, -0.13583073, 0.283170491, 0.220810995, 0.929856777, -0.294293761, -0.22333388, 0.3419303, 0.912801027)*CFrame.new(0-.02*math.sin(sin/25),0,0)*CFrame.Angles(0,0,math.rad(0-1*math.sin(sin/25))),.3) | |
4001 | LS.C0=clerp(LS.C0,CFrame.new(-1.20487344, -0.0877704173, 0.29601261, 0.975100696, -0.21827589, -0.0391697884, 0.216844127, 0.901489615, 0.374559939, -0.0464462638, -0.373727381, 0.926374972)*CFrame.new(0-.06*math.sin(sin/25),0,0+.06*math.sin(sin/25))*CFrame.Angles(math.rad(0-2*math.sin(sin/25)),0,math.rad(0-3*math.sin(sin/25))),.3) | |
4002 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.88592043+.1*math.cos(sin/25), 0.116069727, 1, 0, 0, 0, 0.992655337, 0.120977424, 0, -0.120977439, 0.992655218)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4003 | LH.C0=clerp(LH.C0,CFrame.new(-0.614154279, -1.88463154+.1*math.cos(sin/25), -0.25248158, 0.911190808, 0.0417874642, 0.409860015, 0, 0.994842768, -0.101429626, -0.411984771, 0.0924217477, 0.906491518)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4004 | else | |
4005 | RJ.C0=clerp(RJ.C0,CFrame.new(1.19805439e-16, -0.1775119364-.15*math.cos(sin/35), -0.283175617, 1, -1.49079842e-15, -4.08067175e-16, -1.54563862e-15, 0.964519441, 0.264012009, 0, -0.264012039, 0.964519441)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4006 | Neck.C0=clerp(Neck.C0,CFrame.new(-0.157584727, 1.49352062, -0.221821427, 0.972843468, -0.203232408, -0.110780075, 0.223253459, 0.950229347, 0.217307165, 0.0611026064, -0.236137897, 0.969796598)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4))),.4) | |
4007 | RS.C0=clerp(RS.C0,CFrame.new(1.5793426, -0.0891602114, -0.235512465, 0.992907524, -0.118888937, 3.56666646e-06, 0.114671633, 0.957678556, -0.26401183, 0.0313846655, 0.262139708, 0.964519501)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4))),.4) | |
4008 | LS.C0=clerp(LS.C0,CFrame.new(-1.53685725, 0.0265939608, -0.191111997, 0.980939448, 0.194314077, -9.32708099e-06, -0.187421262, 0.946130276, -0.264028519, -0.0512956306, 0.258997679, 0.964514911)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-10,4))),.4) | |
4009 | RH.C0=clerp(RH.C0,CFrame.new(0.500015259, -1.82560542+.15*math.cos(sin/35), -0.253282726, 1, 0, 0, 0, 0.98312813, -0.182918787, 0, 0.182918757, 0.98312813)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4010 | LH.C0=clerp(LH.C0,CFrame.new(-0.499891281, -1.79360225+.15*math.cos(sin/35), -0.358776152, 0.995861232, 0.0908814445, -0.00100748253, -0.0876630247, 0.957550228, -0.274614424, -0.0239926353, 0.273566157, 0.961553991)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4011 | end | |
4012 | elseif choice==6 or choice==8 then | |
4013 | Effect(e,"Daisy orange",Root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(90+math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-360,360))),.01,.01,.01,.03,.03,.03,.08,"FileMesh",6,0,"1544059001") | |
4014 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 1-.15*math.cos(sin/25), 0, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4015 | Neck.C0=clerp(Neck.C0,CFrame.new(-9.13347263e-16, 1.50002527, 3.7252903e-09, 1, -6.08639124e-16, -1.74044508e-17, -6.0888794e-16, 0.99959141, 0.0285839979, 0, -0.028583996, 0.99959141)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0-2*math.sin(sin/25)),0,0),.3) | |
4016 | RS.C0=clerp(RS.C0,CFrame.new(1.57726872, 0.129899502, -1.80763891e-06, 0.958973765, -0.283494979, 8.22135189e-06, 0.283494949, 0.958973765, 2.18976675e-06, -8.50484867e-06, 2.30780643e-07, 1)*CFrame.new(0-.04*math.sin(sin/25),0-.04*math.cos(sin/25),0-.05*math.cos(sin/25))*CFrame.Angles(math.rad(0+2*math.cos(sin/25)),0,math.rad(0-4*math.sin(sin/25))),.3) | |
4017 | LS.C0=clerp(LS.C0,CFrame.new(-1.56889772, 0.217496723, -6.52490144e-06, 0.942298114, 0.334775031, -3.51281537e-20, -0.334775031, 0.942298114, 2.99999992e-05, 1.00432508e-05, -2.82689434e-05, 1)*CFrame.new(0+.04*math.sin(sin/25),0-.04*math.cos(sin/25),0-.05*math.cos(sin/25))*CFrame.Angles(math.rad(0+2*math.cos(sin/25)),0,math.rad(0+4*math.sin(sin/25))),.3) | |
4018 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.31953299, -0.42188406, 1, -5.98481452e-16, -1.12091073e-16, -6.0888794e-16, 0.982909083, 0.184091449, 0, -0.184091434, 0.982909083)*CFrame.new(0,0-.1*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-4*math.cos(sin/25)),0,0),.3) | |
4019 | LH.C0=clerp(LH.C0,CFrame.new(-0.500225306, -2.03385782, 0.344429612, 0.999890864, 0.0147771491, 3.20716117e-06, -0.0141538708, 0.957654357, 0.287572116, 0.00424642442, -0.287540734, 0.957759023)*CFrame.new(0,0-.03*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.cos(sin/25)),0,0),.3) | |
4020 | elseif choice==9 then | |
4021 | if unleashed==false then | |
4022 | RJ.C0=clerp(RJ.C0,CFrame.new(-9.53674316e-07, -0.908379614-.1*math.cos(sin/25), 0.12968111, 1, -1.05624934e-15, -2.11739814e-16, -1.07726328e-15, 0.980493188, 0.196553454, 0, -0.196553439, 0.980493188)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4023 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.59104264, -0.252605438, 1, 0, 0, 0, 0.89282769, 0.450398505, 0, -0.450398505, 0.89282769)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4024 | RS.C0=clerp(RS.C0,CFrame.new(0.825959325, 1.14770687, -0.512684822, 0.881203234, 0.472715795, 0.00455911923, 0.323056549, -0.595122218, -0.735842526, -0.345131129, 0.649899602, -0.677137494)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4025 | LS.C0=clerp(LS.C0,CFrame.new(-1.62408352, -0.018696066, -0.13600111, 0.977956653, 0.208807945, -6.26423525e-06, -0.204735979, 0.958879709, -0.196552783, -0.0410357788, 0.192221403, 0.980493307)*CFrame.new(0,0,0+.1*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.sin(sin/25)),0,0),.3) | |
4026 | RH.C0=clerp(RH.C0,CFrame.new(0.526393056, -1.51758659+.1*math.cos(sin/25), 0.74114871, 0.997387469, -0.0715409145, 0.0100121293, 0.0336826816, 0.583176792, 0.811646819, -0.0639047921, -0.809189081, 0.584062874)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4027 | LH.C0=clerp(LH.C0,CFrame.new(-0.500021935, -1.02817178+.1*math.cos(sin/25), -0.744173288, 1, 0, 0, 0, 0.946455777, -0.322833836, 0, 0.322833836, 0.946455777)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4028 | else | |
4029 | local ka=math.random(5,35) | |
4030 | RJ.C0=clerp(RJ.C0,CFrame.new(1.80370076e-15, -1.16696155-.1*math.cos(sin/ka), 3.46302986e-05, 1, -1.21955634e-15, -9.49568932e-16, -1.54563862e-15, 0.789030731, 0.614353776, 0, -0.614353776, 0.789030731)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4031 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.57959735, -0.0832701623, 1, 0, 0, 0, 0.950454414, 0.31086424, 0, -0.31086424, 0.950454414)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4032 | RS.C0=clerp(RS.C0,CFrame.new(1.04528499, 1.41031313, 0.0316486657, 0.188843042, 0.324740976, -0.926758707, -0.0242216289, -0.941911697, -0.334986269, -0.981708527, 0.0857074559, -0.170007735)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(90),0),.4) | |
4033 | LS.C0=clerp(LS.C0,CFrame.new(-1.0159564, 1.37193727, 0.0995550305, -0.931215107, -0.296901822, 0.211395115, 0.307137102, -0.951521039, 0.0165674686, 0.196228027, 0.0803551376, 0.977260351)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0),.4) | |
4034 | RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -2.01591682+.1*math.cos(sin/ka), 0.447649598, 1, 0, 0, 0, 0.895831347, 0.44439438, 0, -0.44439438, 0.895831347)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4035 | LH.C0=clerp(LH.C0,CFrame.new(-0.500026703, -0.660362482+.1*math.cos(sin/ka), -0.916437149, 1, 0, 0, 0, 0.990659475, -0.136358738, 0, 0.136358738, 0.990659475)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4) | |
4036 | end | |
4037 | else | |
4038 | RJ.C0=clerp(RJ.C0,CFrame.new(0, -.2-.1*math.cos(sin/25), 0, 1, -2.34187669e-15, -3.23117427e-27, -2.34187669e-15, 1, 0, -3.23117427e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4039 | Neck.C0=clerp(Neck.C0,CFrame.new(-2.38418579e-07, 1.48811007, -0.0519605279, 1, -1.16573809e-15, -1.10234284e-16, -1.17093835e-15, 0.995558858, 0.0941418335, 0, -0.0941418335, 0.995558858)*CFrame.new(0,0,0-.02*math.sin(sin/25))*CFrame.Angles(math.rad(0-4*math.sin(sin/25)),0,0),.3) | |
4040 | RS.C0=clerp(RS.C0,CFrame.new(0.485295445, 0.585757077, -0.802916288, 0.175218061, 0.861367524, 0.476806641, 0.984396815, -0.161235869, -0.0704703405, 0.0161774736, 0.481714576, -0.876178801)*CFrame.new(0-.1*math.sin(sin/25),0,0)*CFrame.Angles(0,0,math.rad(0-3*math.sin(sin/25))),.3) | |
4041 | LS.C0=clerp(LS.C0,CFrame.new(-0.438956469, 0.256388187, -0.885131776, 0.309412003, -0.925967872, -0.216443405, 0.144776195, 0.270830035, -0.951677918, 0.939842641, 0.263124675, 0.217856154)*CFrame.new(0,0,0+.1*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.sin(sin/25)),0,0),.3) | |
4042 | RH.C0=clerp(RH.C0,CFrame.new(0.513582528, -1.79938452+.1*math.cos(sin/25), 0.00132172182, 0.994032621, -0.0501478165, -0.0968735367, 0.0503848828, 0.998730004, 9.88113243e-07, 0.0967504531, -0.00488194451, 0.995296717)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4043 | LH.C0=clerp(LH.C0,CFrame.new(-0.515292525, -1.80007272+.1*math.cos(sin/25), -0.0472557023, 0.9858675, 0.032826975, 0.164279073, -0.0332799107, 0.999446154, 4.85404598e-06, -0.164187923, -0.00547197927, 0.986413896)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3) | |
4044 | end | |
4045 | end | |
4046 | elseif torvel>2 and hitfloor~=nil then | |
4047 | Pose="Walk" | |
4048 | if attack==false then | |
4049 | if choice==6 or choice==8 then | |
4050 | Effect(e,"Daisy orange",Root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(90+math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-360,360))),.01,.01,.01,.03,.03,.03,.08,"FileMesh",6,0,"1544059001") | |
4051 | RJ.C0=clerp(RJ.C0,CFrame.new(0, 1-.15*math.cos(sin/25), 0, 1, -1.21777588e-15, -1.61558713e-27, -1.21777588e-15, 1, 0, -1.61558713e-27, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(-math.rad(70),0,0),.3) | |
4052 | Neck.C0=clerp(Neck.C0,CFrame.new(-8.14352087e-16, 1.33744168, 0.249104202, 1, -5.09894882e-16, 3.32793898e-16, -6.0888794e-16, 0.837419868, -0.546560228, 0, 0.546560228, 0.837419868)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0-2*math.sin(sin/25)),0,0),.3) | |
4053 | RS.C0=clerp(RS.C0,CFrame.new(1.61950016, 0.284695148, 0.422294438, 0.920537889, -0.365736693, -0.137283012, 0.385950357, 0.797084987, 0.464433193, -0.060434036, -0.480512857, 0.874903083)*CFrame.new(0-.04*math.sin(sin/25),0-.04*math.cos(sin/25),0-.05*math.cos(sin/25))*CFrame.Angles(math.rad(0+2*math.cos(sin/25)),0,math.rad(0-4*math.sin(sin/25))),.3) | |
4054 | LS.C0=clerp(LS.C0,CFrame.new(-1.77115273, 0.242024779, 0.355535537, 0.908536434, 0.391400844, 0.146174386, -0.415631235, 0.811040759, 0.411659896, 0.0425706208, -0.434762657, 0.899538457)*CFrame.new(0+.04*math.sin(sin/25),0-.04*math.cos(sin/25),0-.05*math.cos(sin/25))*CFrame.Angles(math.rad(0+2*math.cos(sin/25)),0,math.rad(0+4*math.sin(sin/25))),.3) | |
4055 | RH.C0=clerp(RH.C0,CFrame.new(0.500007629, -1.31953299, -0.42188406, 1, -5.98481452e-16, -1.12091073e-16, -6.0888794e-16, 0.982909083, 0.184091449, 0, -0.184091434, 0.982909083)*CFrame.new(0,0-.1*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-4*math.cos(sin/25)),0,0),.3) | |
4056 | LH.C0=clerp(LH.C0,CFrame.new(-0.500225306, -2.03385782, 0.344429612, 0.999890864, 0.0147771491, 3.20716117e-06, -0.0141538708, 0.957654357, 0.287572116, 0.00424642442, -0.287540734, 0.957759023)*CFrame.new(0,0-.03*math.sin(sin/25),0+.04*math.sin(sin/25))*CFrame.Angles(math.rad(0-3*math.cos(sin/25)),0,0),.3) | |
4057 | elseif choice==2 then | |
4058 | ||
4059 | RJ.C0=clerp(RJ.C0,CFrame.new(-1.91203708e-06, -0.264509153-.1*math.sin(sin/2.5), -0.266138256, 1, -1.65417475e-08, 1.9495598e-08, 3.6266381e-09, 0.846569121, 0.532278895, -2.53091912e-08, -0.532278895, 0.846569121)*CFrame.new(0,0,0)*CFrame.Angles(0,0+Root.RotVelocity.Y/15,0),.3) | |
4060 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.46416557, 0.140323952, 1, 0, 0, 0, 0.96886307, -0.247597575, 0, 0.247597605, 0.968862951)*CFrame.new(0,0,0)*CFrame.Angles(0,0+Head.RotVelocity.Y/20,0),.3) | |
4061 | RS.C0=clerp(RS.C0,CFrame.new(1.51737642, 0.238751292, 0.633444786, 0.963849127, -0.20280613, -0.172813848, 0.249956518, 0.463580012, 0.850067914, -0.0922859237, -0.862533152, 0.49751392)*CFrame.new(0,0,0-.1*math.cos(sin/2.5))*CFrame.Angles(math.rad(0+12*math.cos(sin/2.5)+-math.sin(sin/2.5)/15),0+RArm.RotVelocity.Y/20,0),.3) | |
4062 | LS.C0=clerp(LS.C0,CFrame.new(-1.69293177, 0.343249738, 0.59140259, 0.924847662, 0.338680565, 0.173067346, -0.334475517, 0.507624805, 0.794004679, 0.181060612, -0.792220056, 0.582756042)*CFrame.new(0,0,0-.1*math.cos(sin/2.5))*CFrame.Angles(math.rad(0+12*math.cos(sin/2.5)+-math.sin(sin/2.5)/15),0+LArm.RotVelocity.Y/20,0),.3) | |
4063 | RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -1.60007749, 1.90734886e-06-.4*math.cos(sin/5), 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012)*CFrame.new(0,0+.1*math.sin(sin/2.5),0-.5*math.cos(sin/5))*CFrame.Angles(math.rad(0+75*math.cos(sin/5)+-math.sin(sin/5)/15),0,0),.3) | |
4064 | LH.C0=clerp(LH.C0,CFrame.new(-0.500023842, -1.60007463, 4.76837215e-07+.4*math.cos(sin/5), 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012)*CFrame.new(0,0+.1*math.sin(sin/2.5),0+.5*math.cos(sin/5))*CFrame.Angles(math.rad(0-75*math.cos(sin/5)+-math.sin(sin/5)/15),0,0),.3) | |
4065 | else | |
4066 | RJ.C0=clerp(RJ.C0,CFrame.new(-3.99348421e-09, -0.0268486161, -0.161635131, 1, -1.16135119e-08, 2.27779307e-08, 3.6266381e-09, 0.946308315, 0.323265731, -2.53091912e-08, -0.323265731, 0.946308315)*CFrame.new(0,-.3-.08*math.sin(sin/3.5),0)*CFrame.Angles(0,math.rad(0+7*math.cos(sin/7)+-math.sin(sin/7)/15)+Root.RotVelocity.Y/15,0),.3) | |
4067 | Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49165225, 0.0629501939, 1, 0, 0, 0, 0.991282046, -0.131758034, 0, 0.131758034, 0.991282046)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0-2*math.cos(sin/3.5)+-math.sin(sin/3.5)/15),0+Head.RotVelocity.Y/20,0),.3) | |
4068 | RS.C0=clerp(RS.C0,CFrame.new(1.46631267, 0.0749171525, -2.33450191e-05+.3*math.cos(sin/7), 0.982963741, -0.183800012, -2.96562575e-06, 0.183800027, 0.982963681, 4.44054604e-06, 2.09733844e-06, -4.91738319e-06, 1.00000012)*CFrame.new(0+.02*math.cos(sin/3.5),0,0+.7*math.cos(sin/7))*CFrame.Angles(math.rad(0-80*math.cos(sin/7)+-math.sin(sin/7)/15),0,0),.3) | |
4069 | LS.C0=clerp(LS.C0,CFrame.new(-1.48350062, 0.0571329743, -1.65494157e-07-.3*math.cos(sin/7), 0.982625127, 0.185601696, 1.50684855e-06, -0.185601696, 0.982625186, -5.27501106e-06, -2.46241689e-06, 4.88758087e-06, 1.00000012)*CFrame.new(0-.02*math.cos(sin/3.5),0,0-.7*math.cos(sin/7))*CFrame.Angles(math.rad(0+80*math.cos(sin/7)+-math.sin(sin/7)/15),0,0),.3) | |
4070 | RH.C0=clerp(RH.C0,CFrame.new(0.500011444, -2.00007749, 1.90734886e-06-.4*math.cos(sin/7), 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012)*CFrame.new(0,.3+.08*math.sin(sin/3.5),0-.5*math.cos(sin/7))*CFrame.Angles(math.rad(0+75*math.cos(sin/7)+-math.sin(sin/7)/15),0,0),.3) | |
4071 | LH.C0=clerp(LH.C0,CFrame.new(-0.500023842, -2.00007463, 4.76837215e-07+.4*math.cos(sin/7), 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012)*CFrame.new(0,.3+.08*math.sin(sin/3.5),0+.5*math.cos(sin/7))*CFrame.Angles(math.rad(0-75*math.cos(sin/7)+-math.sin(sin/7)/15),0,0),.3) | |
4072 | end | |
4073 | end | |
4074 | end | |
4075 | end |