SHOW:
|
|
- or go back to the newest paste.
1 | - | p = game.Players.LocalPlayer |
1 | + | --fixed by Scenius |
2 | - | char = p.Character |
2 | + | plr = game.Players.LocalPlayer |
3 | - | des = true |
3 | + | repeat |
4 | - | fling = true |
4 | + | wait(0.1) |
5 | - | dot = false |
5 | + | until plr.Character |
6 | - | falling = false |
6 | + | chr = plr.Character |
7 | - | jump = true |
7 | + | human = chr:FindFirstChild("Humanoid") |
8 | - | --char.Shirt:Remove() |
8 | + | mouse = plr:GetMouse() |
9 | - | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end |
9 | + | selected = false |
10 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end |
10 | + | equipd = false |
11 | - | wait()--shirt = Instance.new("Shirt", char) |
11 | + | tors = chr.Torso |
12 | - | --shirt.Name = "Shirt" |
12 | + | rarm = chr["Right Arm"] |
13 | - | --pants = Instance.new("Pants", char) |
13 | + | larm = chr["Left Arm"] |
14 | - | --pants.Name = "Pants" |
14 | + | rleg = chr["Right Leg"] |
15 | - | |
15 | + | lleg = chr["Left Leg"] |
16 | - | --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425" |
16 | + | hrp = chr.HumanoidRootPart |
17 | - | --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" |
17 | + | head = chr.Head |
18 | - | tp = true |
18 | + | anim = human.Animator |
19 | - | shoot = true |
19 | + | activu = false |
20 | - | hum = char.Humanoid |
20 | + | Heartbeat = Instance.new("BindableEvent") |
21 | - | punch = true |
21 | + | Heartbeat.Name = "Heartbeat" |
22 | - | neckp = char.Torso.Neck.C0 |
22 | + | Heartbeat.Parent = script |
23 | - | neck = char.Torso.Neck |
23 | + | frame = 0.03333333333333333 |
24 | - | hum.MaxHealth = 9e999 |
24 | + | tf = 0 |
25 | - | wait() |
25 | + | game:GetService("RunService").Heartbeat:connect(function(s, p) |
26 | - | hum.Health =hum.MaxHealth |
26 | + | tf = tf + s |
27 | - | des = false |
27 | + | if tf >= frame then |
28 | - | root=char.HumanoidRootPart |
28 | + | for i = 1, math.floor(tf / frame) do |
29 | - | torso = char.Torso |
29 | + | Heartbeat:Fire() |
30 | - | char.Head.face.Texture = "rbxassetid://332768867" |
30 | + | end |
31 | - | local ChatService = game:GetService("Chat") |
31 | + | tf = tf - frame * math.floor(tf / frame) |
32 | - | local player = game.Players.LocalPlayer |
32 | + | end |
33 | - | lig = Instance.new("PointLight",player.Character.Torso) |
33 | + | end) |
34 | - | lig.Color=Color3.new(255,0,0) |
34 | + | function swait(num) |
35 | - | m=player:GetMouse() |
35 | + | if num == 0 or num == nil then |
36 | - | bb = Instance.new("BillboardGui",player.Character.Head) |
36 | + | Heartbeat.Event:wait() |
37 | - | bb.Enabled = true |
37 | + | else |
38 | - | function newRay(start,face,range,wat) |
38 | + | for i = 1, num do |
39 | - | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
39 | + | Heartbeat.Event:wait() |
40 | - | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) |
40 | + | end |
41 | - | return rey,hit,pos |
41 | + | end |
42 | - | end |
42 | + | end |
43 | - | aa1={} |
43 | + | tool = Instance.new("Tool") |
44 | - | torso=game.Players.LocalPlayer.Character.Torso |
44 | + | tool.CanBeDropped = false |
45 | - | |
45 | + | tool.RequiresHandle = false |
46 | - | local WorldUp = Vector3.new(0,1,0) |
46 | + | tool.Name = "fir" |
47 | - | function look2(Vec1,Vec2) |
47 | + | tool.Parent = plr.Backpack |
48 | - | local Orig = Vec1 |
48 | + | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
49 | - | Vec1 = Vec1+Vector3.new(0,1,0) |
49 | + | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
50 | - | Vec2 = Vec2+Vector3.new(0,1,0) |
50 | + | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
51 | - | local Forward = (Vec2-Vec1).unit |
51 | + | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
52 | - | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit |
52 | + | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
53 | - | local Right = Up:Cross(Forward).unit |
53 | + | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
54 | - | Forward = -Forward |
54 | + | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
55 | - | Right = -Right |
55 | + | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
56 | - | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) |
56 | + | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
57 | - | end |
57 | + | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
58 | - | |
58 | + | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
59 | - | function look(CFr,Vec2) |
59 | + | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
60 | - | local A = Vector3.new(0,0,0) |
60 | + | RS = tors:FindFirstChild("Right Shoulder") |
61 | - | local B = CFr:inverse()*Vec2 |
61 | + | LS = tors:FindFirstChild("Left Shoulder") |
62 | - | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) |
62 | + | RH = tors:FindFirstChild("Right Hip") |
63 | - | if B.Z > 0 then |
63 | + | LH = tors:FindFirstChild("Left Hip") |
64 | - | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) |
64 | + | RJ = hrp:FindFirstChild("RootJoint") |
65 | - | elseif B.Z == 0 then |
65 | + | N = tors:FindFirstChild("Neck") |
66 | - | if B.Y > 0 then |
66 | + | cf = CFrame.new |
67 | - | CF = CFr*CFrame.Angles(math.pi/2,0,0) |
67 | + | ang = CFrame.Angles |
68 | - | elseif B.Y < 0 then |
68 | + | rd = math.rad |
69 | - | CF = CFr*CFrame.Angles(-math.pi/2,0,0) |
69 | + | rd2 = math.random |
70 | - | else |
70 | + | function nooutline(p) |
71 | - | CF = CFr |
71 | + | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 |
72 | - | end |
72 | + | end |
73 | - | end |
73 | + | function makepart(color, name, reflec, mater, parnt, cfram) |
74 | - | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() |
74 | + | local port = Instance.new("Part") |
75 | - | local Up = Vector3.new(X,Y,Z) |
75 | + | port.BrickColor = BrickColor.new(color) |
76 | - | local Forward = (Vec2-CFr.p).unit |
76 | + | port.Name = name |
77 | - | local Right = Up:Cross(Forward) |
77 | + | nooutline(port) |
78 | - | Forward = -Forward |
78 | + | port.Reflectance = reflec |
79 | - | Right = -Right |
79 | + | port.Material = mater |
80 | - | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) |
80 | + | port.Anchored = false |
81 | - | end |
81 | + | port.CanCollide = false |
82 | - | |
82 | + | port.Locked = true |
83 | - | function simulate(j,d,m,r,t) |
83 | + | port.Size = Vector3.new(0.2, 0.2, 0.2) |
84 | - | local joint = j |
84 | + | port.Parent = parnt |
85 | - | for i,v in ipairs(t) do |
85 | + | return port |
86 | - | if v[1]:FindFirstChild("Weld") then |
86 | + | end |
87 | - | local stiff = m.CFrame.lookVector*0.03 |
87 | + | function makemesh(meshtype, scale, meshid, parent) |
88 | - | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end |
88 | + | local mes = Instance.new("SpecialMesh") |
89 | - | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit |
89 | + | mes.MeshType = meshtype |
90 | - | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude |
90 | + | mes.Scale = scale |
91 | - | local pos = joint.p+(dir*(d*0.5)) |
91 | + | if meshtype == "FileMesh" then |
92 | - | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end |
92 | + | mes.MeshId = meshid |
93 | - | local inv = v[1].Weld.Part0.CFrame |
93 | + | end |
94 | - | local rel1 = inv:inverse()*pos |
94 | + | mes.Parent = parent |
95 | - | local rel2 = inv:inverse()*(pos-(dir*dis)) |
95 | + | return mes |
96 | - | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) |
96 | + | end |
97 | - | v[1].Weld.C0 = cf |
97 | + | function makeweld(parent, p0, p1, c0, c1) |
98 | - | v[2] = inv*cf |
98 | + | local wel = Instance.new("Weld") |
99 | - | --v[1].CFrame = cf |
99 | + | wel.Part0 = p0 |
100 | - | end |
100 | + | wel.Part1 = p1 |
101 | - | end |
101 | + | wel.C0 = c0 |
102 | - | end |
102 | + | if c1 ~= nil then |
103 | - | for i=1,8 do |
103 | + | wel.C1 = c1 |
104 | - | local p = Instance.new("Part",char) |
104 | + | end |
105 | - | p.Anchored = false |
105 | + | wel.Parent = parent |
106 | - | p.BrickColor = BrickColor.new("Institutional white") |
106 | + | return wel |
107 | - | p.CanCollide = false |
107 | + | end |
108 | - | p.FormFactor="Custom" |
108 | + | function smokz(prnt) |
109 | - | p.Material = "SmoothPlastic" |
109 | + | s = Instance.new("Smoke") |
110 | - | p.TopSurface = "SmoothNoOutlines" |
110 | + | s.Color = Color3.new(1, 1, 1) |
111 | - | p.BottomSurface = "SmoothNoOutlines" |
111 | + | s.Enabled = false |
112 | - | p.RightSurface = "SmoothNoOutlines" |
112 | + | s.Name = "smok" |
113 | - | p.LeftSurface = "SmoothNoOutlines" |
113 | + | s.Opacity = 0.5 |
114 | - | p.FrontSurface = "SmoothNoOutlines" |
114 | + | s.RiseVelocity = 0.2 |
115 | - | p.BackSurface = "SmoothNoOutlines" |
115 | + | s.Size = 0.1 |
116 | - | |
116 | + | s.Parent = prnt |
117 | - | p.Size=Vector3.new(2,.2,0.2) |
117 | + | end |
118 | - | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them |
118 | + | function glow(tz, paz, smokinz, length) |
119 | - | mesh = Instance.new("BlockMesh",p) |
119 | + | if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then |
120 | - | mesh.Scale = Vector3.new(1,1,4) |
120 | + | do |
121 | - | local w = Instance.new("Motor6D",p) |
121 | + | local s = Instance.new("Sound") |
122 | - | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso |
122 | + | s.SoundId = "rbxassetid://184211520" |
123 | - | w.Part1 = p |
123 | + | s.Volume = 0.25 |
124 | - | w.Name = "Weld" |
124 | + | s.Pitch = math.random(9, 11) / 10 |
125 | - | --table.insert(aa1,p) |
125 | + | s.Parent = paz |
126 | - | aa1[i] = {p,p.CFrame} |
126 | + | s:Play() |
127 | - | |
127 | + | paz.Transparency = 0.7 |
128 | - | end |
128 | + | if smokinz == true then |
129 | - | game:service"RunService".Stepped:connect(function() |
129 | + | paz.smok.Enabled = true |
130 | - | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) |
130 | + | end |
131 | - | end) |
131 | + | delay(length, function() |
132 | - | bb.AlwaysOnTop = true |
132 | + | paz.Transparency = 1 |
133 | - | bb.Size = UDim2.new(0,200,0,50) |
133 | + | paz.smok.Enabled = false |
134 | - | bb.StudsOffset = Vector3.new(0,1,0) |
134 | + | s:Destroy() |
135 | - | gui=Instance.new("TextBox",bb) |
135 | + | end) |
136 | - | gui.Text = "OVERPOWERED SAITAMA. " |
136 | + | end |
137 | - | gui.Size = UDim2.new(0,133,0,45) |
137 | + | end |
138 | - | gui.Position=UDim2.new(0,57,0,-40) |
138 | + | end |
139 | - | gui.TextColor3 = Color3.new(255,255,0) |
139 | + | function makeglow() |
140 | - | gui.BackgroundColor3=Color3.new(0,0,0) |
140 | + | for _, p in pairs(chr:GetChildren()) do |
141 | - | gui.TextWrapped = true |
141 | + | if p.ClassName == "Accessory" then |
142 | - | gui.TextScaled = true |
142 | + | do |
143 | - | gui.TextXAlignment = "Left" |
143 | + | local h = p:FindFirstChildOfClass("Part") |
144 | - | gui.TextYAlignment = "Top" |
144 | + | local nh = h:Clone() |
145 | - | gui.Visible = true |
145 | + | nh.Parent = nil |
146 | - | gui.BorderColor3 = Color3.new(0,0,0) |
146 | + | nh.CFrame = h.CFrame |
147 | - | punch2 = true |
147 | + | nh.Transparency = 0.8 |
148 | - | gui1=Instance.new("TextButton",bb) |
148 | + | nh.Name = "Glow" |
149 | - | gui1.Position=UDim2.new(0,5,0,-43) |
149 | + | nh.Material = "Neon" |
150 | - | gui1.Size = UDim2.new(0,190,0,51) |
150 | + | nh.BrickColor = BrickColor.new("Bright red") |
151 | - | |
151 | + | nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) |
152 | - | gui1.TextColor3 = Color3.new(255,255,255) |
152 | + | nh.Parent = h |
153 | - | gui1.BackgroundColor3=Color3.new(255,255,255) |
153 | + | makeweld(nh, nh, h, cf(0, 0, 0)) |
154 | - | jump2 = true |
154 | + | local m = nh:FindFirstChildOfClass("SpecialMesh") |
155 | - | gui1.Visible = false |
155 | + | m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06) |
156 | - | img = Instance.new("ImageLabel",bb) |
156 | + | m.TextureId = "" |
157 | - | img.Size = UDim2.new(0,46,0,47) |
157 | + | smokz(nh) |
158 | - | img.Position = UDim2.new(0,10,0,-41) |
158 | + | nh.Touched:connect(function(po) |
159 | - | img.Image = "rbxassetid://447301252" |
159 | + | glow(po, nh, true, 0.8) |
160 | - | img.BorderColor3 = Color3.new(0,0,0) |
160 | + | end) |
161 | - | img.Visible = true |
161 | + | end |
162 | - | soka = Instance.new("Sound",char) |
162 | + | elseif p.ClassName == "Part" and p ~= hrp then |
163 | - | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" |
163 | + | do |
164 | - | soka.Volume = 10 |
164 | + | local n = p:Clone() |
165 | - | boom = Instance.new("Sound",char) |
165 | + | n.Parent = nil |
166 | - | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" |
166 | + | n.Transparency = 0.8 |
167 | - | boom.Volume = 10 |
167 | + | n.Material = "Plastic" |
168 | - | boom2 = Instance.new("Sound",char) |
168 | + | n.Name = "Glow" |
169 | - | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" |
169 | + | n.BrickColor = BrickColor.new("Bright red") |
170 | - | boom2.Volume = 10 |
170 | + | n.CFrame = p.CFrame |
171 | - | boom3 = Instance.new("Sound",char) |
171 | + | n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) |
172 | - | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" |
172 | + | n.Parent = p |
173 | - | boom3.Volume = 10 |
173 | + | makeweld(n, n, p, cf(0, 0, 0)) |
174 | - | tps = Instance.new("Sound",char) |
174 | + | smokz(n) |
175 | - | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" |
175 | + | n.Touched:connect(function(po) |
176 | - | tps.Volume = 10 |
176 | + | glow(po, n, true, 0.8) |
177 | - | asd = Instance.new("Sound",char) |
177 | + | end) |
178 | - | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" |
178 | + | if n:FindFirstChildOfClass("Decal") then |
179 | - | asd.Volume =10 |
179 | + | n:FindFirstChildOfClass("Decal"):Destroy() |
180 | - | asd1 = Instance.new("Sound",char) |
180 | + | end |
181 | - | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" |
181 | + | if p:FindFirstChildOfClass("SpecialMesh") then |
182 | - | |
182 | + | local c = p:FindFirstChildOfClass("SpecialMesh"):Clone() |
183 | - | asd2 = Instance.new("Sound",char) |
183 | + | c.Parent = nil |
184 | - | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" |
184 | + | c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05) |
185 | - | asd2.Looped = true |
185 | + | c.Parent = n |
186 | - | asd2.Volume = 50 |
186 | + | else |
187 | - | asd3 = Instance.new("Sound",char) |
187 | + | local m = Instance.new("BlockMesh") |
188 | - | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" |
188 | + | m.Scale = Vector3.new(1.05, 1.025, 1.05) |
189 | - | asd3.Looped = true |
189 | + | if p == tors then |
190 | - | asd4 = Instance.new("Sound",char) |
190 | + | m.Scale = Vector3.new(1.05, 1.05, 1.05) |
191 | - | asd4.SoundId = "http://www.roblox.com/asset/?id = 722438978" |
191 | + | end |
192 | - | asd4.Looped = true |
192 | + | m.Parent = n |
193 | - | asd5 = Instance.new("Sound",char) |
193 | + | end |
194 | - | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" |
194 | + | end |
195 | - | asd5.Looped = true |
195 | + | end |
196 | - | gas = Instance.new("Sound",char) |
196 | + | end |
197 | - | gas.SoundId = "http://www.roblox.com/asset/?id = 345052019" |
197 | + | end |
198 | - | asd6 = Instance.new("Sound",char) |
198 | + | makeglow() |
199 | - | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" |
199 | + | function fglow(glopart, duration) |
200 | - | asd6.Looped = true |
200 | + | for _ = 1, 4 do |
201 | - | function play(play) |
201 | + | swait() |
202 | - | asd:Play() |
202 | + | glopart.Transparency = glopart.Transparency - 0.075 |
203 | - | wait(0.01) |
203 | + | end |
204 | - | --asd1:Play() |
204 | + | delay(duration, function() |
205 | - | end |
205 | + | for _ = 1, 4 do |
206 | - | ------------------------- |
206 | + | swait() |
207 | - | z = Instance.new("Sound", char) |
207 | + | glopart.Transparency = glopart.Transparency + 0.075 |
208 | - | z.SoundId = "rbxassetid://"--303570180 |
208 | + | end |
209 | - | z.Looped = true |
209 | + | end) |
210 | - | z.Pitch = 1 |
210 | + | end |
211 | - | z.Volume = 1 |
211 | + | function lerpz(joint, prop, cfrmz, alp) |
212 | - | wait(.1) |
212 | + | joint[prop] = joint[prop]:lerp(cfrmz, alp) |
213 | - | z:Play() |
213 | + | end |
214 | - | -------------------------- |
214 | + | function resetlerp() |
215 | - | |
215 | + | RJ.C0 = RJC0 |
216 | - | function stream(origin,dir,length,size) |
216 | + | RJ.C1 = RJC1 |
217 | - | local parts = {} |
217 | + | N.C0 = NC0 |
218 | - | for i = 1,length do |
218 | + | N.C1 = NC1 |
219 | - | local p = Instance.new("Part",char) |
219 | + | RS.C0 = RSC0 |
220 | - | p.Anchored = true |
220 | + | RS.C1 = RSC1 |
221 | - | p.Transparency = 0.5 |
221 | + | LS.C0 = LSC0 |
222 | - | p.TopSurface = 0 |
222 | + | LS.C1 = LSC1 |
223 | - | p.BottomSurface = 0 |
223 | + | RH.C0 = RHC0 |
224 | - | p.CanCollide = false |
224 | + | RH.C1 = RHC1 |
225 | - | p.BrickColor = BrickColor.new("Institutional white") |
225 | + | LH.C0 = LHC0 |
226 | - | p.Size = Vector3.new(10,30,10) -- for now |
226 | + | end |
227 | - | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) |
227 | + | function rsmash() |
228 | - | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} |
228 | + | if activu == true or selected == false then |
229 | - | game:GetService("Debris"):AddItem(p,3) |
229 | + | return |
230 | - | end |
230 | + | end |
231 | - | Spawn(function() |
231 | + | coroutine.resume(coroutine.create(function() |
232 | - | while parts do |
232 | + | fglow(rarm.Glow, 3) |
233 | - | for i,v in pairs(parts) do |
233 | + | end)) |
234 | - | if v[1].Parent == char then |
234 | + | activu = true |
235 | - | v[1].CFrame = v[1].CFrame*v[2] |
235 | + | human.WalkSpeed = human.WalkSpeed - 40 |
236 | - | else |
236 | + | animo(false) |
237 | - | parts = nil |
237 | + | local pe = Instance.new("ParticleEmitter") |
238 | - | break |
238 | + | pe.Color = ColorSequence.new(Color3.new(125, 125, 125)) |
239 | - | end |
239 | + | pe.LightEmission = 0.9 |
240 | - | end |
240 | + | pe.Size = NumberSequence.new(0.5) |
241 | - | wait(0.02) |
241 | + | pe.Texture = "rbxassetid://242223505" |
242 | - | end |
242 | + | pe.Transparency = NumberSequence.new(0) |
243 | - | end) |
243 | + | pe.Lifetime = NumberRange.new(0.5) |
244 | - | end |
244 | + | pe.Rate = 100 |
245 | - | |
245 | + | pe.RotSpeed = NumberRange.new(360) |
246 | - | --[[-- listen for their chatting |
246 | + | pe.Speed = NumberRange.new(1) |
247 | - | player.Chatted:connect(function(message) |
247 | + | pe.VelocitySpread = 360 |
248 | - | a = string.len(message) |
248 | + | pe.Parent = rarm.Glow |
249 | - | gui.Text = "" |
249 | + | local pe2 = Instance.new("ParticleEmitter") |
250 | - | gui.Visible = true |
250 | + | pe2.Color = ColorSequence.new(Color3.new(125, 125, 125)) |
251 | - | gui1.Visible = true |
251 | + | pe2.LightEmission = 0.9 |
252 | - | des = false |
252 | + | pe2.Size = NumberSequence.new(20) |
253 | - | img.Visible = true |
253 | + | pe2.Texture = "rbxassetid://516107903" |
254 | - | print(a) |
254 | + | pe2.Transparency = NumberSequence.new(0.4) |
255 | - | if dot == false then |
255 | + | pe2.ZOffset = 2 |
256 | - | gui.Text = "" |
256 | + | pe2.Enabled = false |
257 | - | for i = 1,string.len(message) do |
257 | + | pe2.LockedToPart = true |
258 | - | gui.Text =gui.Text..message:sub(i,i) |
258 | + | pe2.Lifetime = NumberRange.new(0.07) |
259 | - | play() |
259 | + | pe2.Rate = 100 |
260 | - | |
260 | + | pe2.Rotation = NumberRange.new(0, 360) |
261 | - | end |
261 | + | pe2.RotSpeed = NumberRange.new(0) |
262 | - | end |
262 | + | pe2.Speed = NumberRange.new(0) |
263 | - | |
263 | + | pe2.VelocitySpread = 180 |
264 | - | |
264 | + | pe2.Parent = rarm.Glow |
265 | - | des = true |
265 | + | for _ = 1, 45 do |
266 | - | end)]]-- |
266 | + | swait() |
267 | - | m.KeyDown:connect(function(k) |
267 | + | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2) |
268 | - | if k == "g" then |
268 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2) |
269 | - | asd2:Play() |
269 | + | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2) |
270 | - | |
270 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
271 | - | |
271 | + | lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2) |
272 | - | end |
272 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2) |
273 | - | end) |
273 | + | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2) |
274 | - | |
274 | + | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
275 | - | m.KeyDown:connect(function(k) |
275 | + | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) |
276 | - | if k == "r" then |
276 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
277 | - | |
277 | + | pe.Rate = pe.Rate + 25 |
278 | - | asd4:Play() |
278 | + | end |
279 | - | end |
279 | + | pe2.Enabled = true |
280 | - | end) |
280 | + | pe.Speed = NumberRange.new(10) |
281 | - | m.KeyDown:connect(function(k) |
281 | + | for _ = 1, 30 do |
282 | - | if k == "q" then |
282 | + | swait() |
283 | - | |
283 | + | lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2) |
284 | - | asd3:Play() |
284 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2) |
285 | - | end |
285 | + | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2) |
286 | - | end) |
286 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2) |
287 | - | m.KeyDown:connect(function(k) |
287 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2) |
288 | - | if k == "z" then |
288 | + | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2) |
289 | - | img.Image = "rbxassetid://332766052" |
289 | + | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) |
290 | - | |
290 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2) |
291 | - | end |
291 | + | end |
292 | - | end) |
292 | + | for l = 1, 3 do |
293 | - | m.KeyDown:connect(function(k) |
293 | + | swait() |
294 | - | if k == "c" then |
294 | + | lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4) |
295 | - | img.Image = "rbxassetid://447301252" |
295 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4) |
296 | - | |
296 | + | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4) |
297 | - | end |
297 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4) |
298 | - | end) |
298 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4) |
299 | - | m.KeyDown:connect(function(k) |
299 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4) |
300 | - | if k == "b" then |
300 | + | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4) |
301 | - | |
301 | + | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4) |
302 | - | asd6:Play() |
302 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4) |
303 | - | end |
303 | + | end |
304 | - | end) |
304 | + | pe:Destroy() |
305 | - | mouse = p:GetMouse() |
305 | + | pe2:Destroy() |
306 | - | m.KeyDown:connect(function(k) |
306 | + | KABOOMZ() |
307 | - | if k:byte() == 48 then |
307 | + | rarm.Glow.smok.Enabled = true |
308 | - | |
308 | + | for _ = 1, 8 do |
309 | - | hum.WalkSpeed = 100 |
309 | + | swait() |
310 | - | end |
310 | + | lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8) |
311 | - | end) |
311 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8) |
312 | - | m.KeyDown:connect(function(k) |
312 | + | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8) |
313 | - | if k:byte() == 50 then |
313 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8) |
314 | - | |
314 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8) |
315 | - | soka:Play() |
315 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8) |
316 | - | end |
316 | + | lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8) |
317 | - | end) |
317 | + | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8) |
318 | - | m.KeyDown:connect(function(k) |
318 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8) |
319 | - | if k:byte() == 52 then |
319 | + | end |
320 | - | |
320 | + | wait(0.6) |
321 | - | char.Head.face.Texture = "rbxassetid://444037452" |
321 | + | animo(true) |
322 | - | end |
322 | + | human.WalkSpeed = human.WalkSpeed + 13 |
323 | - | end) |
323 | + | for _ = 1, 24 do |
324 | - | m.KeyDown:connect(function(k) |
324 | + | swait() |
325 | - | if k:byte() == 51 then |
325 | + | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
326 | - | |
326 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
327 | - | char.Head.face.Texture = "rbxassetid://332768867" |
327 | + | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
328 | - | end |
328 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
329 | - | end) |
329 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
330 | - | m.KeyUp:connect(function(k) |
330 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
331 | - | if k:byte() == 48 then |
331 | + | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
332 | - | |
332 | + | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
333 | - | hum.WalkSpeed = 16 |
333 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) |
334 | - | end |
334 | + | end |
335 | - | end) |
335 | + | resetlerp() |
336 | - | p.Chatted:connect(function(m) |
336 | + | rarm.Glow.smok.Enabled = false |
337 | - | if m == "Ok." then |
337 | + | activu = false |
338 | - | soka:Play() |
338 | + | end |
339 | - | end |
339 | + | function jum() |
340 | - | end) |
340 | + | if activu == true or selected == false then |
341 | - | m.KeyDown:connect(function(k) |
341 | + | return |
342 | - | if k == "x" then |
342 | + | end |
343 | - | if des == true then |
343 | + | coroutine.resume(coroutine.create(function() |
344 | - | gui.Visible = true |
344 | + | fglow(rleg.Glow, 1) |
345 | - | gui.Text = "* " |
345 | + | fglow(lleg.Glow, 1) |
346 | - | gui1.Visible = true |
346 | + | end)) |
347 | - | img.Visible = true |
347 | + | activu = true |
348 | - | end |
348 | + | human.WalkSpeed = human.WalkSpeed - 13 |
349 | - | end |
349 | + | local pe = Instance.new("ParticleEmitter") |
350 | - | end) |
350 | + | pe.Color = ColorSequence.new(Color3.new(1, 0, 0)) |
351 | - | m.KeyDown:connect(function(key) |
351 | + | pe.LightEmission = 0.9 |
352 | - | if key == "j" then |
352 | + | pe.Size = NumberSequence.new(0.5) |
353 | - | if tp == true then |
353 | + | pe.Texture = "rbxassetid://272050333" |
354 | - | tp = false |
354 | + | pe.Transparency = NumberSequence.new(0.1) |
355 | - | tps:Play() |
355 | + | pe.Lifetime = NumberRange.new(0.1) |
356 | - | char.Head.face.Parent = game.Lighting |
356 | + | pe.Rate = 250 |
357 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 |
357 | + | pe.RotSpeed = NumberRange.new(360) |
358 | - | end |
358 | + | pe.Speed = NumberRange.new(3) |
359 | - | |
359 | + | pe.VelocitySpread = 360 |
360 | - | end |
360 | + | pe.Parent = rleg.Glow |
361 | - | wait(0.1) |
361 | + | local pea = pe:Clone() |
362 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 |
362 | + | pea.Parent = lleg.Glow |
363 | - | end |
363 | + | local pe2 = Instance.new("ParticleEmitter") |
364 | - | |
364 | + | pe2.Color = ColorSequence.new(Color3.new(1, 0, 0)) |
365 | - | end |
365 | + | pe2.LightEmission = 0.9 |
366 | - | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) |
366 | + | pe2.Size = NumberSequence.new(5) |
367 | - | char.HumanoidRootPart.Transparency = 1 |
367 | + | pe2.Texture = "rbxassetid://516107903" |
368 | - | game.Lighting.face.Parent = char.Head |
368 | + | pe2.Transparency = NumberSequence.new(0.4) |
369 | - | wait(0.1) |
369 | + | pe2.ZOffset = 2 |
370 | - | |
370 | + | pe2.Enabled = true |
371 | - | tp = true |
371 | + | pe2.LockedToPart = true |
372 | - | |
372 | + | pe2.Lifetime = NumberRange.new(0.07) |
373 | - | |
373 | + | pe2.Rate = 8 |
374 | - | end |
374 | + | pe2.Rotation = NumberRange.new(0, 360) |
375 | - | end |
375 | + | pe2.RotSpeed = NumberRange.new(0) |
376 | - | end) |
376 | + | pe2.Speed = NumberRange.new(0) |
377 | - | |
377 | + | pe2.VelocitySpread = 180 |
378 | - | |
378 | + | pe2.Parent = lleg.Glow |
379 | - | m.KeyDown:connect(function(key) |
379 | + | local pea2 = pe2:Clone() |
380 | - | if key == "y" then |
380 | + | pea2.Parent = rleg.Glow |
381 | - | if punch2 == true then |
381 | + | for l = 1, 30 do |
382 | - | punch2 = false |
382 | + | swait() |
383 | - | punch = true |
383 | + | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) |
384 | - | |
384 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) |
385 | - | local ChatService = game:GetService("Chat") |
385 | + | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) |
386 | - | |
386 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) |
387 | - | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) |
387 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) |
388 | - | ChatService:Chat(char.Head, "Could you just...") |
388 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) |
389 | - | wait(0.2) |
389 | + | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) |
390 | - | local ChatService = game:GetService("Chat") |
390 | + | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) |
391 | - | |
391 | + | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) |
392 | - | |
392 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) |
393 | - | ChatService:Chat(char.Head ,"Get out of my way?") |
393 | + | end |
394 | - | wait(0.2) |
394 | + | pe:Destroy() |
395 | - | local ChatService = game:GetService("Chat") |
395 | + | pe2:Destroy() |
396 | - | |
396 | + | pea:Destroy() |
397 | - | |
397 | + | pea2:Destroy() |
398 | - | ChatService:Chat(char.Head, "You're annoying.") |
398 | + | local bfor = Instance.new("BodyPosition") |
399 | - | neck.C0 = neckp |
399 | + | bfor.MaxForce = Vector3.new(math.huge, math.huge, math.huge) |
400 | - | wait(0.6) |
400 | + | bfor.P = 2500 |
401 | - | org = char.Torso["Left Shoulder"].C0 |
401 | + | bfor.Position = hrp.Position + Vector3.new(0, 500, 0) |
402 | - | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) |
402 | + | bfor.Parent = hrp |
403 | - | wait() |
403 | + | KABOOMZ2() |
404 | - | killbrick2 = Instance.new("Part",char) |
404 | + | human.WalkSpeed = human.WalkSpeed + 13 |
405 | - | killbrick2.Size = Vector3.new(200,200,900000) |
405 | + | coroutine.resume(coroutine.create(function() |
406 | - | killbrick2.Transparency = 1 |
406 | + | swait(1) |
407 | - | |
407 | + | bfor:Destroy() |
408 | - | killbrick2.CanCollide = true |
408 | + | end)) |
409 | - | wait(0.1) |
409 | + | for _ = 1, 18 do |
410 | - | killbrick2.CanCollide = false |
410 | + | swait() |
411 | - | |
411 | + | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6) |
412 | - | killbrick2.Anchored = true |
412 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6) |
413 | - | |
413 | + | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6) |
414 | - | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) |
414 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) |
415 | - | |
415 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6) |
416 | - | killbrick2.Touched:connect(function(h) |
416 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) |
417 | - | local x = h.Parent:FindFirstChild("Humanoid") |
417 | + | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6) |
418 | - | if x then |
418 | + | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) |
419 | - | if x.Parent.Name == game.Players.LocalPlayer.Name then |
419 | + | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6) |
420 | - | safe = true |
420 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) |
421 | - | else safe = false |
421 | + | end |
422 | - | end |
422 | + | for _ = 1, 18 do |
423 | - | if x then |
423 | + | swait() |
424 | - | if safe == false then |
424 | + | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
425 | - | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 |
425 | + | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
426 | - | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) |
426 | + | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
427 | - | boom:Play() |
427 | + | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
428 | - | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) |
428 | + | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
429 | - | |
429 | + | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
430 | - | |
430 | + | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
431 | - | wait(0.2) |
431 | + | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
432 | - | x.Parent:BreakJoints() |
432 | + | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
433 | - | wait() |
433 | + | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) |
434 | - | safe = true |
434 | + | end |
435 | - | end |
435 | + | resetlerp() |
436 | - | end |
436 | + | activu = false |
437 | - | end |
437 | + | end |
438 | - | end) |
438 | + | function KABOOMZ() |
439 | - | |
439 | + | local effspwn = Instance.new("Part") |
440 | - | |
440 | + | coroutine.resume(coroutine.create(function() |
441 | - | |
441 | + | local sound1 = Instance.new("Sound") |
442 | - | |
442 | + | sound1.SoundId = "rbxassetid://447041606" |
443 | - | |
443 | + | sound1.MaxDistance = 300 |
444 | - | |
444 | + | sound1.EmitterSize = 20 |
445 | - | |
445 | + | sound1.Volume = 5 |
446 | - | |
446 | + | sound1.Pitch = 0.95 |
447 | - | local rng = Instance.new("Part", char) |
447 | + | sound1.Parent = effspwn |
448 | - | rng.Anchored = true |
448 | + | local sound2 = Instance.new("Sound") |
449 | - | rng.BrickColor = BrickColor.new("Institutional white") |
449 | + | sound2.SoundId = "rbxassetid://450719019" |
450 | - | rng.CanCollide = false |
450 | + | sound2.MaxDistance = 300 |
451 | - | rng.FormFactor = 3 |
451 | + | sound2.EmitterSize = 20 |
452 | - | rng.Name = "Ring" |
452 | + | sound2.Volume = 2 |
453 | - | rng.Size = Vector3.new(1, 1, 1) |
453 | + | sound2.Pitch = 0.9 |
454 | - | rng.Transparency = 0.8 |
454 | + | sound2.Parent = effspwn |
455 | - | rng.TopSurface = 0 |
455 | + | local sound3 = Instance.new("Sound") |
456 | - | rng.BottomSurface = 0 |
456 | + | sound3.SoundId = "rbxassetid://138250406" |
457 | - | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) |
457 | + | sound2.MaxDistance = 400 |
458 | - | --rng.Rotation = Vector3.new(math.pi/2,0,0) |
458 | + | sound2.EmitterSize = 30 |
459 | - | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
459 | + | sound2.Volume = 1.5 |
460 | - | local rngm = Instance.new("SpecialMesh", rng) |
460 | + | sound2.Pitch = 0.6 |
461 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
461 | + | sound2.Parent = effspwn |
462 | - | rngm.Scale = Vector3.new(1, 3, 2) |
462 | + | sound2:Play() |
463 | - | local rng1 = Instance.new("Part", char) |
463 | + | wait() |
464 | - | rng1.Anchored = true |
464 | + | sound1:Play() |
465 | - | rng1.BrickColor = BrickColor.new("Institutional white") |
465 | + | sound3:Play() |
466 | - | rng1.CanCollide = false |
466 | + | end)) |
467 | - | rng1.FormFactor = 3 |
467 | + | local model = Instance.new("Model") |
468 | - | rng1.Name = "Ring" |
468 | + | game.Debris:AddItem(model, 20) |
469 | - | rng1.Size = Vector3.new(1, 1, 1) |
469 | + | model.Name = "smasheffects" |
470 | - | rng1.Transparency = 0.8 |
470 | + | model.Parent = workspace |
471 | - | rng1.TopSurface = 0 |
471 | + | effspwn.Name = "spwnr" |
472 | - | rng1.BottomSurface = 0 |
472 | + | effspwn.Size = Vector3.new(1, 1, 1) |
473 | - | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) |
473 | + | effspwn.Anchored = true |
474 | - | --rng1.Rotation = Vector3.new(math.pi/2,0,0) |
474 | + | effspwn.CanCollide = false |
475 | - | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
475 | + | effspwn.Transparency = 1 |
476 | - | local rngm1 = Instance.new("SpecialMesh", rng1) |
476 | + | effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0) |
477 | - | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" |
477 | + | effspwn.Parent = model |
478 | - | rngm1.Scale = Vector3.new(1, 3, 2) |
478 | + | coroutine.resume(coroutine.create(function() |
479 | - | |
479 | + | local shok = Instance.new("Part") |
480 | - | local p = (torso.CFrame*CFrame.new(-20,0,3)) |
480 | + | shok.Name = "whoosh" |
481 | - | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one |
481 | + | shok.BrickColor = BrickColor.new("Institutional white") |
482 | - | local p = (torso.CFrame*CFrame.new(20,0,3)) |
482 | + | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) |
483 | - | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here |
483 | + | shok.Size = Vector3.new(1, 1, 1) |
484 | - | |
484 | + | shok.Anchored = true |
485 | - | local rng2 = Instance.new("Part", char) |
485 | + | shok.Material = "Neon" |
486 | - | rng2.Anchored = true |
486 | + | shok.Transparency = 0.1 |
487 | - | rng2.BrickColor = BrickColor.new("Institutional white") |
487 | + | shok.CanCollide = false |
488 | - | rng2.CanCollide = false |
488 | + | shok.Parent = model |
489 | - | rng2.FormFactor = 3 |
489 | + | game.Debris:AddItem(shok, 12) |
490 | - | rng2.Name = "Ring" |
490 | + | local mesh = Instance.new("SpecialMesh") |
491 | - | rng2.Size = Vector3.new(1, 1, 1) |
491 | + | mesh.MeshType = "FileMesh" |
492 | - | rng2.Transparency = 0.8 |
492 | + | mesh.MeshId = "rbxassetid://437347603" |
493 | - | rng2.TopSurface = 0 |
493 | + | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) |
494 | - | rng2.BottomSurface = 0 |
494 | + | mesh.Parent = shok |
495 | - | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) |
495 | + | for e = 1, 8 do |
496 | - | --rng1.Rotation = Vector3.new(math.pi/2,0,0) |
496 | + | wait() |
497 | - | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
497 | + | mesh.Scale = mesh.Scale + Vector3.new(1, 1, 2.4) |
498 | - | local rngm2 = Instance.new("SpecialMesh", rng2) |
498 | + | shok.Transparency = shok.Transparency + 0.035 |
499 | - | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" |
499 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4) |
500 | - | rngm2.Scale = Vector3.new(1, 10, 2) |
500 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) |
501 | - | wait(0.1) |
501 | + | hito(shok, 100, 50, 3) |
502 | - | |
502 | + | end |
503 | - | boom3:Play() |
503 | + | for e = 1, 16 do |
504 | - | coroutine.wrap(function() |
504 | + | wait() |
505 | - | for i = 1, 35, 0.5 do |
505 | + | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) |
506 | - | |
506 | + | shok.Transparency = shok.Transparency + 0.11 |
507 | - | |
507 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4) |
508 | - | |
508 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) |
509 | - | |
509 | + | hito(shok, 290, 50, 3) |
510 | - | |
510 | + | end |
511 | - | rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4) |
511 | + | end)) |
512 | - | rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4) |
512 | + | coroutine.resume(coroutine.create(function() |
513 | - | rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4) |
513 | + | local shok = Instance.new("Part") |
514 | - | |
514 | + | shok.Name = "wring1" |
515 | - | wait() |
515 | + | shok.BrickColor = BrickColor.new("Institutional white") |
516 | - | end |
516 | + | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) |
517 | - | wait() |
517 | + | shok.Size = Vector3.new(1, 1, 1) |
518 | - | rng:Destroy() |
518 | + | shok.Anchored = true |
519 | - | rng1:Destroy() |
519 | + | shok.Material = "Neon" |
520 | - | rng2:Destroy() |
520 | + | shok.Transparency = 0.25 |
521 | - | killbrick2:Remove() |
521 | + | shok.CanCollide = false |
522 | - | wait(0.5) |
522 | + | shok.Parent = model |
523 | - | char.Torso["Left Shoulder"].C0 = org |
523 | + | game.Debris:AddItem(shok, 12) |
524 | - | wait(1) |
524 | + | local mesh = Instance.new("SpecialMesh") |
525 | - | punch2 = true |
525 | + | mesh.MeshType = "FileMesh" |
526 | - | punch = true |
526 | + | mesh.MeshId = "rbxassetid://3270017" |
527 | - | wait() |
527 | + | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) |
528 | - | |
528 | + | mesh.Parent = shok |
529 | - | |
529 | + | for e = 1, 30 do |
530 | - | end)() |
530 | + | wait() |
531 | - | |
531 | + | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) |
532 | - | |
532 | + | shok.Transparency = shok.Transparency + 0.002 |
533 | - | |
533 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) |
534 | - | end |
534 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) |
535 | - | |
535 | + | end |
536 | - | |
536 | + | for e = 1, 38 do |
537 | - | wait(.1) |
537 | + | wait() |
538 | - | |
538 | + | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) |
539 | - | |
539 | + | shok.Transparency = shok.Transparency + 0.002 |
540 | - | end |
540 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
541 | - | end) |
541 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) |
542 | - | |
542 | + | end |
543 | - | |
543 | + | for e = 1, 24 do |
544 | - | |
544 | + | wait() |
545 | - | |
545 | + | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) |
546 | - | |
546 | + | shok.Transparency = shok.Transparency + 0.03 |
547 | - | m.KeyDown:connect(function(key) |
547 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
548 | - | if key == "k" then |
548 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) |
549 | - | if punch == true then |
549 | + | end |
550 | - | punch = true |
550 | + | end)) |
551 | - | org = char.Torso["Left Shoulder"].C0 |
551 | + | coroutine.resume(coroutine.create(function() |
552 | - | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) |
552 | + | local shok = Instance.new("Part") |
553 | - | killbrick = Instance.new("Part",char) |
553 | + | shok.Name = "wring2" |
554 | - | killbrick.Size = Vector3.new(5,1,5) |
554 | + | shok.BrickColor = BrickColor.new("Institutional white") |
555 | - | killbrick.Transparency = 1 |
555 | + | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) |
556 | - | killbrick:BreakJoints() |
556 | + | shok.Size = Vector3.new(1, 1, 1) |
557 | - | killbrick.CanCollide = false |
557 | + | shok.Anchored = true |
558 | - | local wel = Instance.new("Weld",killbrick) |
558 | + | shok.Material = "Neon" |
559 | - | wel.Part0 = killbrick |
559 | + | shok.Transparency = 0.25 |
560 | - | wel.Part1 = char["Left Arm"] |
560 | + | shok.CanCollide = false |
561 | - | wel.C0 = CFrame.new(0,1,0) |
561 | + | shok.Parent = model |
562 | - | force = 90 |
562 | + | game.Debris:AddItem(shok, 12) |
563 | - | |
563 | + | local mesh = Instance.new("SpecialMesh") |
564 | - | killbrick.Touched:connect(function(h) |
564 | + | mesh.MeshType = "FileMesh" |
565 | - | local x = h.Parent.Humanoid |
565 | + | mesh.MeshId = "rbxassetid://3270017" |
566 | - | if x.Health >= 6000 then |
566 | + | mesh.Scale = Vector3.new(12, 12, 0.05) |
567 | - | fling = false |
567 | + | mesh.Parent = shok |
568 | - | end |
568 | + | for e = 1, 30 do |
569 | - | if x.Health < 1 then |
569 | + | wait() |
570 | - | fling = true |
570 | + | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) |
571 | - | end |
571 | + | shok.Transparency = shok.Transparency + 0.002 |
572 | - | local stop = h.Parent.Torso.Velocity |
572 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) |
573 | - | if x.Parent.Name == game.Players.LocalPlayer.Name then |
573 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) |
574 | - | safe = true |
574 | + | end |
575 | - | else safe = false |
575 | + | for e = 1, 38 do |
576 | - | end |
576 | + | wait() |
577 | - | if x then |
577 | + | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) |
578 | - | if safe == false then |
578 | + | shok.Transparency = shok.Transparency + 0.002 |
579 | - | if fling == true then |
579 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
580 | - | force = 900 |
580 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) |
581 | - | |
581 | + | end |
582 | - | end |
582 | + | for e = 1, 24 do |
583 | - | if fling == false then |
583 | + | wait() |
584 | - | force = 20000 |
584 | + | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) |
585 | - | end |
585 | + | shok.Transparency = shok.Transparency + 0.03 |
586 | - | |
586 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
587 | - | |
587 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) |
588 | - | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force |
588 | + | end |
589 | - | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) |
589 | + | end)) |
590 | - | boom:Play() |
590 | + | coroutine.resume(coroutine.create(function() |
591 | - | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) |
591 | + | local shok = Instance.new("Part") |
592 | - | |
592 | + | shok.Name = "coil1" |
593 | - | |
593 | + | shok.BrickColor = BrickColor.new("Institutional white") |
594 | - | wait(0) |
594 | + | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
595 | - | x:TakeDamage(9e999) |
595 | + | shok.Size = Vector3.new(1, 1, 1) |
596 | - | wait() |
596 | + | shok.Anchored = true |
597 | - | safe = true |
597 | + | shok.Material = "Neon" |
598 | - | bodyforc:Remove() |
598 | + | shok.Transparency = 0.25 |
599 | - | h.Parent.Torso.Velocity = stop |
599 | + | shok.CanCollide = false |
600 | - | |
600 | + | shok.Parent = model |
601 | - | end |
601 | + | game.Debris:AddItem(shok, 12) |
602 | - | end |
602 | + | local mesh = Instance.new("SpecialMesh") |
603 | - | end) |
603 | + | mesh.MeshType = "FileMesh" |
604 | - | |
604 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" |
605 | - | |
605 | + | mesh.Scale = Vector3.new(20, 20, 20) |
606 | - | |
606 | + | mesh.Parent = shok |
607 | - | |
607 | + | for e = 1, 15 do |
608 | - | |
608 | + | wait() |
609 | - | |
609 | + | mesh.Scale = mesh.Scale + Vector3.new(3, 3.8, 1.5) |
610 | - | |
610 | + | shok.Transparency = shok.Transparency + 0.004 |
611 | - | |
611 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) |
612 | - | |
612 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
613 | - | |
613 | + | end |
614 | - | local rng = Instance.new("Part", char) |
614 | + | for e = 1, 16 do |
615 | - | rng.Anchored = true |
615 | + | wait() |
616 | - | rng.BrickColor = BrickColor.new("Institutional white") |
616 | + | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) |
617 | - | rng.CanCollide = false |
617 | + | shok.Transparency = shok.Transparency + 0.004 |
618 | - | rng.FormFactor = 3 |
618 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
619 | - | rng.Name = "Ring" |
619 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
620 | - | rng.Size = Vector3.new(3, 3, 3) |
620 | + | end |
621 | - | rng.Transparency = 0.8 |
621 | + | for e = 1, 12 do |
622 | - | rng.TopSurface = 0 |
622 | + | wait() |
623 | - | rng.BottomSurface = 0 |
623 | + | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) |
624 | - | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) |
624 | + | shok.Transparency = shok.Transparency + 0.06 |
625 | - | --rng.Rotation = Vector3.new(math.pi/2,0,0) |
625 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
626 | - | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
626 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
627 | - | local rngm = Instance.new("SpecialMesh", rng) |
627 | + | end |
628 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
628 | + | end)) |
629 | - | rngm.Scale = Vector3.new(1, 1.3, 2) |
629 | + | coroutine.resume(coroutine.create(function() |
630 | - | wait(0.5) |
630 | + | local shok = Instance.new("Part") |
631 | - | |
631 | + | shok.Name = "coil2" |
632 | - | boom2:Play() |
632 | + | shok.BrickColor = BrickColor.new("Institutional white") |
633 | - | coroutine.wrap(function() |
633 | + | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
634 | - | for i = 1, 10, .4 do |
634 | + | shok.Size = Vector3.new(1, 1, 1) |
635 | - | rngm.Scale = Vector3.new(5 + i*2, 10 + i*2, 1) |
635 | + | shok.Anchored = true |
636 | - | |
636 | + | shok.Material = "Neon" |
637 | - | wait() |
637 | + | shok.Transparency = 0.25 |
638 | - | end |
638 | + | shok.CanCollide = false |
639 | - | wait() |
639 | + | shok.Parent = model |
640 | - | rng:Destroy() |
640 | + | game.Debris:AddItem(shok, 12) |
641 | - | killbrick:Remove() |
641 | + | local mesh = Instance.new("SpecialMesh") |
642 | - | wait(0.1) |
642 | + | mesh.MeshType = "FileMesh" |
643 | - | char.Torso["Left Shoulder"].C0 = org |
643 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" |
644 | - | wait(0) |
644 | + | mesh.Scale = Vector3.new(6, 12, 6) |
645 | - | |
645 | + | mesh.Parent = shok |
646 | - | punch = true |
646 | + | for e = 1, 15 do |
647 | - | punch2 = true |
647 | + | wait() |
648 | - | wait() |
648 | + | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) |
649 | - | end)() |
649 | + | shok.Transparency = shok.Transparency + 0.005 |
650 | - | |
650 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) |
651 | - | |
651 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) |
652 | - | |
652 | + | end |
653 | - | end |
653 | + | for e = 1, 16 do |
654 | - | |
654 | + | wait() |
655 | - | |
655 | + | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) |
656 | - | wait(.1) |
656 | + | shok.Transparency = shok.Transparency + 0.005 |
657 | - | |
657 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
658 | - | |
658 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) |
659 | - | end |
659 | + | end |
660 | - | end) |
660 | + | for e = 1, 12 do |
661 | - | |
661 | + | wait() |
662 | - | |
662 | + | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) |
663 | - | |
663 | + | shok.Transparency = shok.Transparency + 0.09 |
664 | - | |
664 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) |
665 | - | |
665 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) |
666 | - | |
666 | + | end |
667 | - | |
667 | + | end)) |
668 | - | |
668 | + | coroutine.resume(coroutine.create(function() |
669 | - | |
669 | + | local shok = Instance.new("Part") |
670 | - | |
670 | + | shok.Name = "shokwve" |
671 | - | |
671 | + | shok.BrickColor = BrickColor.new("Grey") |
672 | - | |
672 | + | shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0) |
673 | - | |
673 | + | shok.Size = Vector3.new(1, 1, 1) |
674 | - | |
674 | + | shok.Anchored = true |
675 | - | m.KeyDown:connect(function(key) |
675 | + | shok.Material = "Neon" |
676 | - | if key == "m" then |
676 | + | shok.Transparency = 0.6 |
677 | - | if jump == true then |
677 | + | shok.CanCollide = false |
678 | - | jump = true |
678 | + | shok.Parent = model |
679 | - | |
679 | + | game.Debris:AddItem(shok, 12) |
680 | - | |
680 | + | local mesh = Instance.new("SpecialMesh") |
681 | - | local rng = Instance.new("Part", char) |
681 | + | mesh.MeshType = "FileMesh" |
682 | - | rng.Anchored = true |
682 | + | mesh.MeshId = "rbxassetid://489415447" |
683 | - | rng.BrickColor = BrickColor.new("Institutional white") |
683 | + | mesh.Scale = Vector3.new(1, 1, 1) |
684 | - | rng.CanCollide = false |
684 | + | mesh.Parent = shok |
685 | - | rng.FormFactor = 3 |
685 | + | for e = 1, 12 do |
686 | - | rng.Name = "Ring" |
686 | + | wait() |
687 | - | rng.Size = Vector3.new(1, 1, 1) |
687 | + | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) |
688 | - | rng.Transparency = 0.35 |
688 | + | shok.Transparency = shok.Transparency + 0.002 |
689 | - | rng.TopSurface = 0 |
689 | + | end |
690 | - | rng.BottomSurface = 0 |
690 | + | for e = 1, 32 do |
691 | - | rng.Position = torso.Position - Vector3.new(0,2,0) |
691 | + | wait() |
692 | - | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
692 | + | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) |
693 | - | local rngm = Instance.new("SpecialMesh", rng) |
693 | + | shok.Transparency = shok.Transparency + 0.002 |
694 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
694 | + | end |
695 | - | rngm.Scale = Vector3.new(5, 1.3, 2) |
695 | + | for e = 1, 24 do |
696 | - | wait(0.1) |
696 | + | wait() |
697 | - | BV = Instance.new("BodyVelocity", torso) |
697 | + | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) |
698 | - | BV.maxForce = Vector3.new(0,20000,0) |
698 | + | shok.Transparency = shok.Transparency + 0.03 |
699 | - | BV.P = 1000 |
699 | + | end |
700 | - | BV.velocity = Vector3.new(0,100,0) |
700 | + | end)) |
701 | - | boom:Play() |
701 | + | coroutine.resume(coroutine.create(function() |
702 | - | coroutine.wrap(function() |
702 | + | local shok = Instance.new("Part") |
703 | - | for i = 1, 60, 2 do |
703 | + | shok.Name = "shock2" |
704 | - | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) |
704 | + | shok.BrickColor = BrickColor.new("Institutional white") |
705 | - | rng.Transparency = i/60 |
705 | + | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
706 | - | wait() |
706 | + | shok.Size = Vector3.new(1, 1, 1) |
707 | - | end |
707 | + | shok.Anchored = true |
708 | - | wait() |
708 | + | shok.Material = "Neon" |
709 | - | rng:Destroy() |
709 | + | shok.Transparency = 0.35 |
710 | - | |
710 | + | shok.CanCollide = false |
711 | - | hum.WalkSpeed = 150 |
711 | + | shok.Parent = model |
712 | - | wait(0) |
712 | + | game.Debris:AddItem(shok, 12) |
713 | - | |
713 | + | local mesh = Instance.new("SpecialMesh") |
714 | - | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then |
714 | + | mesh.MeshType = "FileMesh" |
715 | - | v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false |
715 | + | mesh.MeshId = "rbxassetid://489415447" |
716 | - | end end |
716 | + | mesh.Scale = Vector3.new(12, 12, 12) |
717 | - | wait() |
717 | + | mesh.Parent = shok |
718 | - | end)() |
718 | + | for e = 1, 15 do |
719 | - | |
719 | + | wait() |
720 | - | |
720 | + | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) |
721 | - | |
721 | + | shok.Transparency = shok.Transparency + 0.004 |
722 | - | end |
722 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
723 | - | |
723 | + | end |
724 | - | |
724 | + | for e = 1, 16 do |
725 | - | wait(.1) |
725 | + | wait() |
726 | - | |
726 | + | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) |
727 | - | |
727 | + | shok.Transparency = shok.Transparency + 0.004 |
728 | - | end |
728 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
729 | - | end) |
729 | + | end |
730 | - | |
730 | + | for e = 1, 12 do |
731 | - | |
731 | + | wait() |
732 | - | |
732 | + | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) |
733 | - | |
733 | + | shok.Transparency = shok.Transparency + 0.06 |
734 | - | |
734 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) |
735 | - | |
735 | + | end |
736 | - | m.KeyDown:connect(function(key) |
736 | + | end)) |
737 | - | if key == "n" then |
737 | + | coroutine.resume(coroutine.create(function() |
738 | - | |
738 | + | local shok = Instance.new("Part") |
739 | - | if falling == true then |
739 | + | shok.Name = "shock3" |
740 | - | falling = true |
740 | + | shok.BrickColor = BrickColor.new("Institutional white") |
741 | - | if jumping2 == true then |
741 | + | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
742 | - | jumping2 = true |
742 | + | shok.Size = Vector3.new(1, 1, 1) |
743 | - | jump = true |
743 | + | shok.Anchored = true |
744 | - | BV = Instance.new("BodyVelocity", torso) |
744 | + | shok.Material = "Neon" |
745 | - | BV.maxForce = Vector3.new(0,-20000,0) |
745 | + | shok.Transparency = 0.35 |
746 | - | BV.P = -1000 |
746 | + | shok.CanCollide = false |
747 | - | BV.velocity = Vector3.new(0,-70,0) |
747 | + | shok.Parent = model |
748 | - | wait(0.2) |
748 | + | game.Debris:AddItem(shok, 12) |
749 | - | local rng = Instance.new("Part", char) |
749 | + | local mesh = Instance.new("SpecialMesh") |
750 | - | rng.Anchored = true |
750 | + | mesh.MeshType = "FileMesh" |
751 | - | rng.BrickColor = BrickColor.new("Institutional white") |
751 | + | mesh.MeshId = "rbxassetid://489415447" |
752 | - | rng.CanCollide = false |
752 | + | mesh.Scale = Vector3.new(12, 12, 12) |
753 | - | rng.FormFactor = 3 |
753 | + | mesh.Parent = shok |
754 | - | rng.Name = "Ring" |
754 | + | for e = 1, 15 do |
755 | - | rng.Size = Vector3.new(3, 1, 1) |
755 | + | wait() |
756 | - | rng.Transparency = 0 |
756 | + | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) |
757 | - | rng.TopSurface = 0 |
757 | + | shok.Transparency = shok.Transparency + 0.004 |
758 | - | rng.BottomSurface = 0 |
758 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) |
759 | - | rng.Position = torso.Position - Vector3.new(0,2,0) |
759 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) |
760 | - | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
760 | + | end |
761 | - | local rngm = Instance.new("SpecialMesh", rng) |
761 | + | for e = 1, 16 do |
762 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
762 | + | wait() |
763 | - | rngm.Scale = Vector3.new(3, 1.3, 2) |
763 | + | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) |
764 | - | |
764 | + | shok.Transparency = shok.Transparency + 0.004 |
765 | - | |
765 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) |
766 | - | boom:Play() |
766 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) |
767 | - | coroutine.wrap(function() |
767 | + | end |
768 | - | for i = 1, 60, 2 do |
768 | + | for e = 1, 12 do |
769 | - | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) |
769 | + | wait() |
770 | - | rng.Transparency = i/60 |
770 | + | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) |
771 | - | wait() |
771 | + | shok.Transparency = shok.Transparency + 0.06 |
772 | - | end |
772 | + | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) |
773 | - | wait() |
773 | + | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) |
774 | - | rng:Destroy() |
774 | + | end |
775 | - | |
775 | + | end)) |
776 | - | |
776 | + | end |
777 | - | |
777 | + | function KABOOMZ2() |
778 | - | |
778 | + | local effspwn = Instance.new("Part") |
779 | - | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then |
779 | + | coroutine.resume(coroutine.create(function() |
780 | - | v:Destroy() wait(0.1) jumping2 = true hum.WalkSpeed = 160 |
780 | + | local sound1 = Instance.new("Sound") |
781 | - | end end |
781 | + | sound1.SoundId = "rbxassetid://138137702" |
782 | - | wait() |
782 | + | sound1.MaxDistance = 300 |
783 | - | end)() |
783 | + | sound1.EmitterSize = 20 |
784 | - | |
784 | + | sound1.Volume = 2.5 |
785 | - | |
785 | + | sound1.Pitch = 0.65 |
786 | - | |
786 | + | sound1.Parent = effspwn |
787 | - | end |
787 | + | local sound2 = Instance.new("Sound") |
788 | - | |
788 | + | sound2.SoundId = "rbxassetid://157878578" |
789 | - | |
789 | + | sound2.MaxDistance = 300 |
790 | - | wait(.1) |
790 | + | sound2.EmitterSize = 20 |
791 | - | |
791 | + | sound2.Volume = 1 |
792 | - | end |
792 | + | sound2.Pitch = 0.7 |
793 | - | end |
793 | + | sound2.Parent = effspwn |
794 | - | end) |
794 | + | local sound3 = Instance.new("Sound") |
795 | - | m.KeyDown:connect(function(k) |
795 | + | sound3.SoundId = "rbxassetid://138250406" |
796 | - | if k == "f" then |
796 | + | sound2.MaxDistance = 400 |
797 | - | asd3:Stop() |
797 | + | sound2.EmitterSize = 30 |
798 | - | asd2:Stop() |
798 | + | sound2.Volume = 0.5 |
799 | - | asd4:Stop() |
799 | + | sound2.Pitch = 0.5 |
800 | - | asd6:Stop() |
800 | + | sound2.Parent = effspwn |
801 | - | asd5:Stop() |
801 | + | sound2:Play() |
802 | - | end |
802 | + | wait() |
803 | - | end) |
803 | + | sound1:Play() |
804 | sound3:Play() | |
805 | end)) | |
806 | local model = Instance.new("Model") | |
807 | game.Debris:AddItem(model, 20) | |
808 | model.Name = "smasheffects" | |
809 | model.Parent = workspace | |
810 | effspwn.Name = "spwnr" | |
811 | effspwn.Size = Vector3.new(1, 1, 1) | |
812 | effspwn.Anchored = true | |
813 | effspwn.CanCollide = false | |
814 | effspwn.Transparency = 1 | |
815 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
816 | effspwn.Parent = model | |
817 | coroutine.resume(coroutine.create(function() | |
818 | local shok = Instance.new("Part") | |
819 | shok.Name = "whoosh" | |
820 | shok.BrickColor = BrickColor.new("Institutional white") | |
821 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
822 | shok.Size = Vector3.new(1, 1, 1) | |
823 | shok.Anchored = true | |
824 | shok.Material = "Neon" | |
825 | shok.Transparency = 0.1 | |
826 | shok.CanCollide = false | |
827 | shok.Parent = model | |
828 | game.Debris:AddItem(shok, 12) | |
829 | local mesh = Instance.new("SpecialMesh") | |
830 | mesh.MeshType = "FileMesh" | |
831 | mesh.MeshId = "rbxassetid://437347603" | |
832 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
833 | mesh.Parent = shok | |
834 | for e = 1, 8 do | |
835 | wait() | |
836 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
837 | shok.Transparency = shok.Transparency + 0.035 | |
838 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
839 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
840 | end | |
841 | for e = 1, 16 do | |
842 | wait() | |
843 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
844 | shok.Transparency = shok.Transparency + 0.11 | |
845 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
846 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
847 | end | |
848 | end)) | |
849 | coroutine.resume(coroutine.create(function() | |
850 | local shok = Instance.new("Part") | |
851 | shok.Name = "wring1" | |
852 | shok.BrickColor = BrickColor.new("Institutional white") | |
853 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
854 | shok.Size = Vector3.new(1, 1, 1) | |
855 | shok.Anchored = true | |
856 | shok.Material = "Neon" | |
857 | shok.Transparency = 0.25 | |
858 | shok.CanCollide = false | |
859 | shok.Parent = model | |
860 | game.Debris:AddItem(shok, 12) | |
861 | local mesh = Instance.new("SpecialMesh") | |
862 | mesh.MeshType = "FileMesh" | |
863 | mesh.MeshId = "rbxassetid://3270017" | |
864 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
865 | mesh.Parent = shok | |
866 | for e = 1, 30 do | |
867 | wait() | |
868 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
869 | shok.Transparency = shok.Transparency + 0.002 | |
870 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
871 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
872 | end | |
873 | for e = 1, 38 do | |
874 | wait() | |
875 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
876 | shok.Transparency = shok.Transparency + 0.002 | |
877 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
878 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
879 | end | |
880 | for e = 1, 24 do | |
881 | wait() | |
882 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
883 | shok.Transparency = shok.Transparency + 0.03 | |
884 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
885 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
886 | end | |
887 | end)) | |
888 | coroutine.resume(coroutine.create(function() | |
889 | local shok = Instance.new("Part") | |
890 | shok.Name = "wring2" | |
891 | shok.BrickColor = BrickColor.new("Institutional white") | |
892 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
893 | shok.Size = Vector3.new(1, 1, 1) | |
894 | shok.Anchored = true | |
895 | shok.Material = "Neon" | |
896 | shok.Transparency = 0.25 | |
897 | shok.CanCollide = false | |
898 | shok.Parent = model | |
899 | game.Debris:AddItem(shok, 12) | |
900 | local mesh = Instance.new("SpecialMesh") | |
901 | mesh.MeshType = "FileMesh" | |
902 | mesh.MeshId = "rbxassetid://3270017" | |
903 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
904 | mesh.Parent = shok | |
905 | for e = 1, 30 do | |
906 | wait() | |
907 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
908 | shok.Transparency = shok.Transparency + 0.002 | |
909 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
910 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
911 | end | |
912 | for e = 1, 38 do | |
913 | wait() | |
914 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
915 | shok.Transparency = shok.Transparency + 0.002 | |
916 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
917 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
918 | end | |
919 | for e = 1, 24 do | |
920 | wait() | |
921 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
922 | shok.Transparency = shok.Transparency + 0.03 | |
923 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
924 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
925 | end | |
926 | end)) | |
927 | coroutine.resume(coroutine.create(function() | |
928 | local shok = Instance.new("Part") | |
929 | shok.Name = "coil1" | |
930 | shok.BrickColor = BrickColor.new("Grey") | |
931 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
932 | shok.Size = Vector3.new(1, 1, 1) | |
933 | shok.Anchored = true | |
934 | shok.Material = "Neon" | |
935 | shok.Transparency = 0.25 | |
936 | shok.CanCollide = false | |
937 | shok.Parent = model | |
938 | game.Debris:AddItem(shok, 12) | |
939 | local mesh = Instance.new("SpecialMesh") | |
940 | mesh.MeshType = "FileMesh" | |
941 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
942 | mesh.Scale = Vector3.new(12, 12, 12) | |
943 | mesh.Parent = shok | |
944 | for e = 1, 15 do | |
945 | wait() | |
946 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
947 | shok.Transparency = shok.Transparency + 0.004 | |
948 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
949 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
950 | end | |
951 | for e = 1, 16 do | |
952 | wait() | |
953 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
954 | shok.Transparency = shok.Transparency + 0.004 | |
955 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
956 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
957 | end | |
958 | for e = 1, 12 do | |
959 | wait() | |
960 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
961 | shok.Transparency = shok.Transparency + 0.06 | |
962 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
963 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
964 | end | |
965 | end)) | |
966 | coroutine.resume(coroutine.create(function() | |
967 | local shok = Instance.new("Part") | |
968 | shok.Name = "coil2" | |
969 | shok.BrickColor = BrickColor.new("Institutional white") | |
970 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
971 | shok.Size = Vector3.new(1, 1, 1) | |
972 | shok.Anchored = true | |
973 | shok.Material = "Neon" | |
974 | shok.Transparency = 0.25 | |
975 | shok.CanCollide = false | |
976 | shok.Parent = model | |
977 | game.Debris:AddItem(shok, 12) | |
978 | local mesh = Instance.new("SpecialMesh") | |
979 | mesh.MeshType = "FileMesh" | |
980 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
981 | mesh.Scale = Vector3.new(6, 20, 6) | |
982 | mesh.Parent = shok | |
983 | for e = 1, 15 do | |
984 | wait() | |
985 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
986 | shok.Transparency = shok.Transparency + 0.005 | |
987 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
988 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
989 | end | |
990 | for e = 1, 16 do | |
991 | wait() | |
992 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
993 | shok.Transparency = shok.Transparency + 0.005 | |
994 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
995 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
996 | end | |
997 | for e = 1, 12 do | |
998 | wait() | |
999 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1000 | shok.Transparency = shok.Transparency + 0.09 | |
1001 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1002 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1003 | end | |
1004 | end)) | |
1005 | coroutine.resume(coroutine.create(function() | |
1006 | local shok = Instance.new("Part") | |
1007 | shok.Name = "shokwve" | |
1008 | shok.BrickColor = BrickColor.new("Institutional white") | |
1009 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
1010 | shok.Size = Vector3.new(1, 1, 1) | |
1011 | shok.Anchored = true | |
1012 | shok.Material = "Neon" | |
1013 | shok.Transparency = 0.6 | |
1014 | shok.CanCollide = false | |
1015 | shok.Parent = model | |
1016 | game.Debris:AddItem(shok, 12) | |
1017 | local mesh = Instance.new("SpecialMesh") | |
1018 | mesh.MeshType = "FileMesh" | |
1019 | mesh.MeshId = "rbxassetid://489415447" | |
1020 | mesh.Scale = Vector3.new(1, 1, 1) | |
1021 | mesh.Parent = shok | |
1022 | for e = 1, 12 do | |
1023 | wait() | |
1024 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
1025 | shok.Transparency = shok.Transparency + 0.002 | |
1026 | end | |
1027 | for e = 1, 32 do | |
1028 | wait() | |
1029 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1030 | shok.Transparency = shok.Transparency + 0.002 | |
1031 | end | |
1032 | for e = 1, 24 do | |
1033 | wait() | |
1034 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1035 | shok.Transparency = shok.Transparency + 0.03 | |
1036 | end | |
1037 | end)) | |
1038 | coroutine.resume(coroutine.create(function() | |
1039 | local shok = Instance.new("Part") | |
1040 | shok.Name = "shock2" | |
1041 | shok.BrickColor = BrickColor.new("Institutional white") | |
1042 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1043 | shok.Size = Vector3.new(1, 1, 1) | |
1044 | shok.Anchored = true | |
1045 | shok.Material = "Neon" | |
1046 | shok.Transparency = 0.35 | |
1047 | shok.CanCollide = false | |
1048 | shok.Parent = model | |
1049 | game.Debris:AddItem(shok, 12) | |
1050 | local mesh = Instance.new("SpecialMesh") | |
1051 | mesh.MeshType = "FileMesh" | |
1052 | mesh.MeshId = "rbxassetid://489415447" | |
1053 | mesh.Scale = Vector3.new(12, 12, 12) | |
1054 | mesh.Parent = shok | |
1055 | for e = 1, 15 do | |
1056 | wait() | |
1057 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 4.8, 1.5) | |
1058 | shok.Transparency = shok.Transparency + 0.004 | |
1059 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1060 | end | |
1061 | for e = 1, 16 do | |
1062 | wait() | |
1063 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 4.8, 1.5) | |
1064 | shok.Transparency = shok.Transparency + 0.004 | |
1065 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1066 | end | |
1067 | for e = 1, 12 do | |
1068 | wait() | |
1069 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 4.8, 1.5) | |
1070 | shok.Transparency = shok.Transparency + 0.06 | |
1071 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1072 | end | |
1073 | end)) | |
1074 | coroutine.resume(coroutine.create(function() | |
1075 | local shok = Instance.new("Part") | |
1076 | shok.Name = "shock3" | |
1077 | shok.BrickColor = BrickColor.new("Institutional white") | |
1078 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1079 | shok.Size = Vector3.new(1, 1, 1) | |
1080 | shok.Anchored = true | |
1081 | shok.Material = "Neon" | |
1082 | shok.Transparency = 0.35 | |
1083 | shok.CanCollide = false | |
1084 | shok.Parent = model | |
1085 | game.Debris:AddItem(shok, 12) | |
1086 | local mesh = Instance.new("SpecialMesh") | |
1087 | mesh.MeshType = "FileMesh" | |
1088 | mesh.MeshId = "rbxassetid://489415447" | |
1089 | mesh.Scale = Vector3.new(12, 12, 12) | |
1090 | mesh.Parent = shok | |
1091 | for e = 1, 15 do | |
1092 | wait() | |
1093 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1094 | shok.Transparency = shok.Transparency + 0.004 | |
1095 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1096 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1097 | end | |
1098 | for e = 1, 16 do | |
1099 | wait() | |
1100 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1101 | shok.Transparency = shok.Transparency + 0.004 | |
1102 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1103 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1104 | end | |
1105 | for e = 1, 12 do | |
1106 | wait() | |
1107 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1108 | shok.Transparency = shok.Transparency + 0.06 | |
1109 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1110 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1111 | end | |
1112 | end)) | |
1113 | end | |
1114 | function hito(partoz, magn, dmg, debtim) | |
1115 | for _, guy in pairs(workspace:GetChildren()) do | |
1116 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
1117 | do | |
1118 | local humz = guy:FindFirstChild("Humanoid") | |
1119 | local hed = guy:FindFirstChild("Head") | |
1120 | humz:TakeDamage(9e999) | |
1121 | local db = Instance.new("StringValue") | |
1122 | db.Name = "alabo" | |
1123 | db.Parent = hed | |
1124 | delay(debtim, function() | |
1125 | db:Destroy() | |
1126 | end) | |
1127 | end | |
1128 | end | |
1129 | end | |
1130 | end | |
1131 | function animo(yep) | |
1132 | if yep == true then | |
1133 | anim.Parent = human | |
1134 | chr.Animate.Disabled = false | |
1135 | elseif yep == false then | |
1136 | chr.Animate.Disabled = true | |
1137 | anim.Parent = nil | |
1138 | end | |
1139 | end | |
1140 | mouse.KeyDown:connect(function(key) | |
1141 | if key == "e" then | |
1142 | rsmash() | |
1143 | end | |
1144 | if key == "t" then | |
1145 | jum() | |
1146 | end | |
1147 | end) | |
1148 | tool.Equipped:connect(function() | |
1149 | selected = true | |
1150 | end) | |
1151 | tool.Unequipped:connect(function() | |
1152 | selected = false | |
1153 | end) |