SHOW:
|
|
- or go back to the newest paste.
1 | warn("Edited by GAMEKILLERTOY and Meti2000 <3") | |
2 | game.Workspace.Meti2000.Humanoid.MaxHealth = math.huge | |
3 | m = game:service'Players'.LocalPlayer:GetMouse() | |
4 | paly = game.Players.LocalPlayer | |
5 | char = paly.Character | |
6 | ypcall(function() | |
7 | shirt = Instance.new("Shirt", char) | |
8 | shirt.Name = "Shirt" | |
9 | pants = Instance.new("Pants", char) | |
10 | pants.Name = "Pants" | |
11 | char.Shirt.ShirtTemplate = "rbxassetid://" | |
12 | char.Pants.PantsTemplate = "rbxassetid://" | |
13 | end) | |
14 | game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
15 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
16 | txtfag.Adornee = Hello | |
17 | txtfag.Name = "Hoi." | |
18 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
19 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
20 | local textfag = Instance.new("TextLabel", txtfag) | |
21 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
22 | textfag.FontSize = "Size10" | |
23 | textfag.TextScaled = true | |
24 | textfag.TextTransparency = 0 | |
25 | textfag.BackgroundTransparency = 1 | |
26 | textfag.TextTransparency = 0 | |
27 | textfag.TextStrokeTransparency = 0 | |
28 | textfag.Font = "Cartoon" | |
29 | textfag.TextStrokeColor3 = Color3.fromRGB(0,0,0) | |
30 | textfag.Text = "y0s" | |
31 | wait(0.6) | |
32 | textfag.Text = "sfsdgfhfgh." | |
33 | wait(0.9) | |
34 | textfag.Text = "Elliot Menter (the dr4nk g4y)" | |
35 | ||
36 | do | |
37 | local filteredMessages = { ['____'] = '___' }; | |
38 | local onPropertyChanged = function (obj) | |
39 | if (obj:isDescendantOf (workspace)) then | |
40 | local objText = obj.Text; | |
41 | ||
42 | if (objText ~= '___' and objText:find '(%S)') then | |
43 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
44 | obj.Text = filteredMessages [objText]; | |
45 | elseif (not filteredMessages [objText]) then | |
46 | obj.Text = '___'; | |
47 | ||
48 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
49 | ||
50 | filteredMessages [objText] = filtered; | |
51 | filteredMessages [filtered] = filtered; | |
52 | ||
53 | obj.Text = filtered; | |
54 | end; | |
55 | end; | |
56 | - | F = part(Enum.FormFactor.Plate, m, Enum.Material.Plastic, 0, 0, "Royal purple", "Handle", Vector3.new(3.5875988, 0.478346467, 1.19586647)) |
56 | + | end; |
57 | - | Fweld = weld(m, Character.Head, F, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0157470703, -0.438977718, 0.00266170502, 0.995733142, 0, 0.0922800079, 0.00925354939, 0.994959533, -0.0998490006, -0.0918148756, 0.10027688, 0.990714252)) |
57 | + | end; |
58 | - | mesh("SpecialMesh", F, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1029012", Vector3.new(0, 0, 0), Vector3.new(1.31545293, 1.31545281, 1.31545317)) |
58 | + | |
59 | local newInstance = Instance.new; | |
60 | Instance = { | |
61 | new = function (class, parent) | |
62 | local obj = newInstance (class, parent); | |
63 | ||
64 | if (pcall (function()return obj.Text;end)) then | |
65 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); | |
66 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); | |
67 | end; | |
68 | ||
69 | return obj; | |
70 | end; | |
71 | }; | |
72 | end; | |
73 | plr = game.Players.LocalPlayer | |
74 | mouse = plr:GetMouse() | |
75 | part = nil | |
76 | bp = nil | |
77 | particles = nil | |
78 | base = Instance.new("ScreenGui",plr.PlayerGui) | |
79 | bbg = Instance.new("BillboardGui",plr.Character.Head) | |
80 | bbg.Size = UDim2.new(0,200,0,50) | |
81 | bbg.StudsOffset = Vector3.new(0,5,0) | |
82 | bbgTl = Instance.new("TextLabel",bbg) | |
83 | bbgTl.BackgroundTransparency = 1 | |
84 | bbgTl.Size = UDim2.new(10,0,1,0) | |
85 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
86 | bbgTl.Font = "Cartoon" | |
87 | bbgTl.Text = " " | |
88 | bbgTl.TextSize = 78 | |
89 | bbgTl.TextStrokeColor3 = Color3.new(0,0,0) | |
90 | bbgTl.TextStrokeTransparency = 0 | |
91 | bbgTl.TextWrapped = true | |
92 | plr.Chatted:connect(function(msg) | |
93 | bbgTl.Text = msg | |
94 | wait(5) | |
95 | if bbgTl.Text == msg then | |
96 | bbgTl.Text = " " | |
97 | while true do | |
98 | textfag.TextColor3 = Color3.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
99 | bbgTl.TextColor3 = Color3.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random()) | |
100 | wait(.1) | |
101 | end | |
102 | end | |
103 | end) | |
104 | wait(1) | |
105 | Player = game:GetService("Players").LocalPlayer | |
106 | Character = Player.Character | |
107 | Mouse = Player:GetMouse() | |
108 | m = Instance.new("Model", Character) | |
109 | local weldBetween = function(a, b) | |
110 | local weldd = Instance.new("ManualWeld") | |
111 | weldd.Part0 = a | |
112 | weldd.Part1 = b | |
113 | weldd.C0 = CFrame.new() | |
114 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
115 | weldd.Parent = a | |
116 | return weldd | |
117 | end | |
118 | it = Instance.new | |
119 | function nooutline(part) | |
120 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
121 | end | |
122 | function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
123 | local fp = it("Part") | |
124 | fp.formFactor = formfactor | |
125 | fp.Parent = parent | |
126 | fp.Reflectance = reflectance | |
127 | fp.Transparency = transparency | |
128 | fp.CanCollide = false | |
129 | fp.Locked = true | |
130 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
131 | fp.Name = name | |
132 | fp.Size = size | |
133 | fp.Position = Character.Torso.Position | |
134 | nooutline(fp) | |
135 | fp.Material = material | |
136 | fp:BreakJoints() | |
137 | return fp | |
138 | end | |
139 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
140 | local mesh = it(Mesh) | |
141 | mesh.Parent = part | |
142 | if Mesh == "SpecialMesh" then | |
143 | mesh.MeshType = meshtype | |
144 | mesh.MeshId = meshid | |
145 | end | |
146 | mesh.Offset = offset | |
147 | mesh.Scale = scale | |
148 | return mesh | |
149 | end | |
150 | function weld(parent, part0, part1, c0, c1) | |
151 | local weld = it("Weld") | |
152 | weld.Parent = parent | |
153 | weld.Part0 = part0 | |
154 | weld.Part1 = part1 | |
155 | weld.C0 = c0 | |
156 | weld.C1 = c1 | |
157 | return weld | |
158 | end | |
159 | F = part(Enum.FormFactor.Plate, m, Enum.Material.Plastic, 0, 0, "Fawn brown", "Handle", Vector3.new(3.5875988, 0.478346467, 0.19586647)) | |
160 | Fweld = weld(m, Character.Head, F, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0157470703, -0.438977718, 0.00266170502, 0.995733142, 1, 0.0922800079, 0.00925354939, 0.994959533, -0.13, -0.0918148756, 0.10027688, 0.990714252)) | |
161 | mesh("SpecialMesh", F, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1081218", Vector3.new(0, 0, 0), Vector3.new(0.9, 0.9, 0.9)) | |
162 | player = game.Players.LocalPlayer | |
163 | char = player.Character | |
164 | run = game:GetService("RunService") | |
165 | local xd = Instance.new("Model", game.Workspace) | |
166 | xd.Name = player.Name .. "'s INSTANCES" | |
167 | ignore = {} | |
168 | mouse = player:GetMouse() | |
169 | mouse.TargetFilter = xd | |
170 | local IdleAndWalk = false | |
171 | current = true | |
172 | skl = false | |
173 | function onKeyDown(key) | |
174 | key:lower() | |
175 | if key == "f" then | |
176 | do | |
177 | local Camera = game.Workspace.CurrentCamera | |
178 | local Player = game:GetService("Players").LocalPlayer | |
179 | repeat | |
180 | wait() | |
181 | until Player.Character | |
182 | Camera.CameraType = "Scriptable" | |
183 | game:GetService("RunService").Stepped:connect(function() | |
184 | Camera.CoordinateFrame = Camera.CoordinateFrame * CFrame.fromEulerAnglesXYZ(0.01, 0.01, 0.01) | |
185 | end) | |
186 | end | |
187 | end | |
188 | end | |
189 | mouse.KeyDown:connect(onKeyDown) | |
190 | function onKeyDown(key) | |
191 | key:lower() | |
192 | if key == "g" then | |
193 | local Camera = game.Workspace.CurrentCamera | |
194 | Camera.CameraType = "Follow" | |
195 | end | |
196 | end | |
197 | mouse.KeyDown:connect(onKeyDown) | |
198 | local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse() | |
199 | local currentCam = workspace.CurrentCamera | |
200 | Humanoid = Character:findFirstChild("Humanoid") | |
201 | Torso = Character:findFirstChild("Torso") | |
202 | Head = Character:findFirstChild("Head") | |
203 | Right_Arm = Character:findFirstChild("Right Arm") | |
204 | Left_Arm = Character:findFirstChild("Left Arm") | |
205 | Right_Leg = Character:findFirstChild("Right Leg") | |
206 | Right_Leg.FormFactor = "Custom" | |
207 | Left_Leg = Character:findFirstChild("Left Leg") | |
208 | Left_Leg.FormFactor = "Custom" | |
209 | Right_Shoulder = Torso:findFirstChild("Right Shoulder") | |
210 | Left_Shoulder = Torso:findFirstChild("Left Shoulder") | |
211 | Right_Hip = Torso:findFirstChild("Right Hip") | |
212 | Left_Hip = Torso:findFirstChild("Left Hip") | |
213 | Neck = Torso:findFirstChild("Neck") | |
214 | rootPart = Character:findFirstChild("HumanoidRootPart") | |
215 | rootPart.Archivable = true | |
216 | rootJoint = rootPart:findFirstChild("RootJoint") | |
217 | rootJoint.Archivable = true | |
218 | c_new = CFrame.new | |
219 | i_new = Instance.new | |
220 | c_angles = CFrame.Angles | |
221 | Humanoid:ClearAllChildren() | |
222 | local Animations = false | |
223 | local followMouse = false | |
224 | local isSprinting = false | |
225 | local Angle = 0 | |
226 | local angleSpeed = 1 | |
227 | local currentAnim | |
228 | local Vaping = false | |
229 | local vapePower = 2.5 | |
230 | local Release = false | |
231 | local currentFace = Head.face.Texture | |
232 | function math_pos(float) | |
233 | if float < 0 then | |
234 | float = 0 | |
235 | end | |
236 | return float | |
237 | end | |
238 | function math_neg(float) | |
239 | if float > 0 then | |
240 | float = 0 | |
241 | end | |
242 | return float | |
243 | end | |
244 | function math_max(float, max) | |
245 | if max < float then | |
246 | float = max | |
247 | end | |
248 | return float | |
249 | end | |
250 | function math_min(float, min) | |
251 | if min < float then | |
252 | float = min | |
253 | end | |
254 | return float | |
255 | end | |
256 | function newWeld(wp0, wp1, wc0x, wc0y, wc0z) | |
257 | wld = Instance.new("Weld", wp1) | |
258 | wld.Part0 = wp0 | |
259 | wld.Part1 = wp1 | |
260 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
261 | return wld | |
262 | end | |
263 | function newWeld2(wp02, wp12, wc0x2, wc0y2, wc0z2, wc0x12, wc0y12, wc0z12) | |
264 | wld2 = Instance.new("Weld", wp12) | |
265 | wld2.Part0 = wp02 | |
266 | wld2.Part1 = wp12 | |
267 | wld2.C0 = CFrame.new(wc0x2, wc0y2, wc0z2) * CFrame.Angles(wc0x12, wc0y12, wc0z12) | |
268 | return wld2 | |
269 | end | |
270 | LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0) | |
271 | Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
272 | RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0) | |
273 | Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
274 | LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0) | |
275 | Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) | |
276 | RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0) | |
277 | Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) | |
278 | Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0) | |
279 | Torso.Weld.C1 = CFrame.new(0, -1, 0) | |
280 | Head_Weld = newWeld(Torso, Head, 0, 1.5, 0) | |
281 | function nooutline(part) | |
282 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
283 | end | |
284 | function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
285 | local fp = i_new("Part") | |
286 | fp.formFactor = formfactor | |
287 | fp.Parent = parent | |
288 | fp.Reflectance = reflectance | |
289 | fp.Transparency = transparency | |
290 | fp.CanCollide = false | |
291 | fp.Locked = true | |
292 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
293 | fp.Name = name | |
294 | fp.Size = size | |
295 | fp.Position = Character.Torso.Position | |
296 | nooutline(fp) | |
297 | fp.Material = material | |
298 | fp:BreakJoints() | |
299 | return fp | |
300 | end | |
301 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
302 | local mesh = i_new(Mesh) | |
303 | mesh.Parent = part | |
304 | if Mesh == "SpecialMesh" then | |
305 | mesh.MeshType = meshtype | |
306 | mesh.MeshId = meshid | |
307 | end | |
308 | mesh.Offset = offset | |
309 | mesh.Scale = scale | |
310 | return mesh | |
311 | end | |
312 | function weld(parent, part0, part1, c0, c1) | |
313 | local weld = i_new("Weld") | |
314 | weld.Parent = parent | |
315 | weld.Part0 = part0 | |
316 | weld.Part1 = part1 | |
317 | weld.C0 = c0 | |
318 | weld.C1 = c1 | |
319 | return weld | |
320 | end | |
321 | function swait(num) | |
322 | if num == 0 or num == nil then | |
323 | - | Humanoid.JumpPower = 0 |
323 | + | |
324 | else | |
325 | - | z2.SoundId = "rbxassetid://179697562" |
325 | + | |
326 | game:GetService("RunService").Stepped:wait(0) | |
327 | - | z2.Pitch = 0.72 |
327 | + | |
328 | - | z2.Volume = 5 |
328 | + | |
329 | end | |
330 | function newRay(start, face, range, wat) | |
331 | local ray = Ray.new(start.p, (face.p - start.p).Unit * range) | |
332 | hit, pos = workspace:findPartOnRayWithIgnoreList(ray, wat) | |
333 | return ray, hit, pos | |
334 | end | |
335 | function QuaternionFromCFrame(cf) | |
336 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
337 | - | Head.face.Texture = "http://www.roblox.com/asset/?id=7317691" |
337 | + | |
338 | if trace > 0 then | |
339 | local s = math.sqrt(1 + trace) | |
340 | local recip = 0.5 / s | |
341 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
342 | - | z.SoundId = "rbxassetid://394983740" |
342 | + | |
343 | local i = 0 | |
344 | - | z.Pitch = 0.72 |
344 | + | |
345 | - | z.Volume = 10 |
345 | + | |
346 | end | |
347 | if m22 > (i == 0 and m00 or m11) then | |
348 | - | wait(7.5) |
348 | + | |
349 | end | |
350 | - | Humanoid.WalkSpeed = 16 |
350 | + | |
351 | - | Humanoid.JumpPower = 50 |
351 | + | |
352 | local recip = 0.5 / s | |
353 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
354 | elseif i == 1 then | |
355 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
356 | local recip = 0.5 / s | |
357 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
358 | elseif i == 2 then | |
359 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
360 | local recip = 0.5 / s | |
361 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
362 | end | |
363 | end | |
364 | end | |
365 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
366 | local xs, ys, zs = x + x, y + y, z + z | |
367 | local wx, wy, wz = w * xs, w * ys, w * zs | |
368 | local xx = x * xs | |
369 | local xy = x * ys | |
370 | local xz = x * zs | |
371 | local yy = y * ys | |
372 | local yz = y * zs | |
373 | local zz = z * zs | |
374 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
375 | end | |
376 | function QuaternionSlerp(a, b, t) | |
377 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
378 | local startInterp, finishInterp | |
379 | if cosTheta >= 1.0E-4 then | |
380 | if 1 - cosTheta > 1.0E-4 then | |
381 | local theta = math.acos(cosTheta) | |
382 | local invSinTheta = 1 / math.sin(theta) | |
383 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
384 | finishInterp = math.sin(t * theta) * invSinTheta | |
385 | else | |
386 | startInterp = 1 - t | |
387 | finishInterp = t | |
388 | end | |
389 | elseif 1 + cosTheta > 1.0E-4 then | |
390 | local theta = math.acos(-cosTheta) | |
391 | local invSinTheta = 1 / math.sin(theta) | |
392 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
393 | finishInterp = math.sin(t * theta) * invSinTheta | |
394 | else | |
395 | startInterp = t - 1 | |
396 | finishInterp = t | |
397 | end | |
398 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
399 | - | Head.face.Texture = "http://www.roblox.com/asset/?id=7317691" |
399 | + | |
400 | function clerp(a, b, t) | |
401 | - | Humanoid.WalkSpeed = 16 |
401 | + | |
402 | - | Humanoid.JumpPower = 50 |
402 | + | |
403 | } | |
404 | local qb = { | |
405 | QuaternionFromCFrame(b) | |
406 | } | |
407 | local ax, ay, az = a.x, a.y, a.z | |
408 | local bx, by, bz = b.x, b.y, b.z | |
409 | local _t = 1 - t | |
410 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
411 | end | |
412 | - | Handle = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Royal purple", "Handle", Vector3.new(0.200000003, 0.800000012, 0.200000003)) |
412 | + | |
413 | Humanoid.FreeFalling:connect(function(f) | |
414 | if f then | |
415 | freeFalling = true | |
416 | else | |
417 | freeFalling = false | |
418 | end | |
419 | end) | |
420 | function Vapor() | |
421 | end | |
422 | function Vape() | |
423 | if Release == true and vapePower > 5 then | |
424 | Vaping = true | |
425 | Humanoid.WalkSpeed = 0 | |
426 | Humanoid.JumpPower = 6666 | |
427 | z2 = Instance.new("Sound", char) | |
428 | z2.SoundId = "rbxassetid://1035350628" | |
429 | z2.Looped = false | |
430 | z2.Pitch = 666 | |
431 | z2.Volume = math.huge | |
432 | for i = 0, 3, 0.01 do | |
433 | Animations = true | |
434 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0.1) * c_angles(math.rad(20), math.rad(0), math.rad(20)), 0.01) | |
435 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0.1) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.01) | |
436 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5.5)), 0.005) | |
437 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(5.5)), 0.005) | |
438 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), 0), 0.01) | |
439 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-5), math.rad(0), 0), 0.005) | |
440 | Head.face.Texture = "http://www.roblox.com/asset/?id=1243374078" | |
441 | swait() | |
442 | end | |
443 | z2:Play() | |
444 | z = Instance.new("Sound", char) | |
445 | z.SoundId = "rbxassetid://1081709045" | |
446 | z.Looped = false | |
447 | z.Pitch = 0.90 | |
448 | z.Volume = math.huge | |
449 | wait(0.1) | |
450 | z:Play() | |
451 | wait(4.7) | |
452 | Head.face.Texture = currentFace | |
453 | Humanoid.WalkSpeed = 20 | |
454 | Humanoid.JumpPower = 100 | |
455 | Animations = false | |
456 | wait(1) | |
457 | Vaping = false | |
458 | vapePower = 2.5 | |
459 | elseif vapePower < 5 then | |
460 | Vaping = false | |
461 | vapePower = 2.5 | |
462 | end | |
463 | end | |
464 | Mouse.KeyDown:connect(function(key) | |
465 | if key == "z" and followMouse == false then | |
466 | followMouse = true | |
467 | gyro = Instance.new("BodyGyro", rootPart) | |
468 | - | BottleR = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Royal purple", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654)) |
468 | + | |
469 | gyro.D = 1000 | |
470 | - | mesh("SpecialMesh", BottleR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=11409474", Vector3.new(0, 0, 0), Vector3.new(2.17374969, 3.62291789, 2.17374969)) |
470 | + | |
471 | coroutine.resume(coroutine.create(function() | |
472 | while wait() do | |
473 | gyro.CFrame = CFrame.new(Vector3.new(), (Mouse.Hit.p - rootPart.CFrame.p).unit * 100) | |
474 | end | |
475 | end)) | |
476 | elseif key == "z" and followMouse == true then | |
477 | followMouse = false | |
478 | gyro:Destroy() | |
479 | end | |
480 | end) | |
481 | Mouse.Button1Down:connect(function() | |
482 | if Vaping == false then | |
483 | Vaping = true | |
484 | Release = false | |
485 | Mouse.Button1Up:connect(function() | |
486 | Release = true | |
487 | end) | |
488 | if Release == false then | |
489 | repeat | |
490 | Animations = true | |
491 | vapePower = vapePower + 0.1 | |
492 | Humanoid.WalkSpeed = 0 | |
493 | Humanoid.JumpPower = 0 | |
494 | wait() | |
495 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.8, 1.4, -1) * c_angles(math.rad(60), math.rad(-25), math.rad(-80)) * CFrame.Angles(0, math.rad(150), 0), 0.1) | |
496 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0.1) * c_angles(math.rad(-12.5), math.rad(10), math.rad(-25)), 0.1) | |
497 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-5)), 0.01) | |
498 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(5)), 0.01) | |
499 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05) * c_angles(math.rad(11.5), math.rad(0), 0), 0.05) | |
500 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(15), math.rad(0), 0), 0.01) | |
501 | if vapePower > 5 then | |
502 | Head.face.Texture = "http://www.roblox.com/asset/?id=35505417" | |
503 | elseif vapePower < 5 then | |
504 | Humanoid.WalkSpeed = 20 | |
505 | Humanoid.JumpPower = 100 | |
506 | end | |
507 | print(vapePower) | |
508 | until Release == true | |
509 | end | |
510 | Animations = false | |
511 | Vape() | |
512 | end | |
513 | end) | |
514 | Vepr = Instance.new("Model", Character) | |
515 | Handle = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Handle", Vector3.new(0.200000003, 0.800000012, 0.200000003)) | |
516 | Handleweld = weld(Vepr, Right_Arm, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.677656174, -0.199986219, -0.745416641, 0.721854568, 0.692044795, -4.12490877E-8, 0, 5.96046377E-8, 1, 0.692044854, -0.721854508, 4.30258851E-8)) | |
517 | Player = game:GetService("Players").LocalPlayer | |
518 | Character = Player.Character | |
519 | Mouse = Player:GetMouse() | |
520 | m = Instance.new("Model", Character) | |
521 | local weldBetween = function(a, b) | |
522 | local weldd = Instance.new("ManualWeld") | |
523 | weldd.Part0 = a | |
524 | weldd.Part1 = b | |
525 | - | BottleL = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Royal purple", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654)) |
525 | + | |
526 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
527 | - | mesh("SpecialMesh", BottleL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=11409474", Vector3.new(0, 0, 0), Vector3.new(2.17374969, 3.62291789, 2.17374969)) |
527 | + | |
528 | return weldd | |
529 | end | |
530 | it = Instance.new | |
531 | function nooutline(part) | |
532 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
533 | end | |
534 | function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
535 | local fp = it("Part") | |
536 | fp.formFactor = formfactor | |
537 | fp.Parent = parent | |
538 | fp.Reflectance = reflectance | |
539 | fp.Transparency = transparency | |
540 | fp.CanCollide = false | |
541 | fp.Locked = true | |
542 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
543 | fp.Name = name | |
544 | fp.Size = size | |
545 | fp.Position = Character.Torso.Position | |
546 | nooutline(fp) | |
547 | fp.Material = material | |
548 | fp:BreakJoints() | |
549 | return fp | |
550 | end | |
551 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
552 | local mesh = it(Mesh) | |
553 | mesh.Parent = part | |
554 | if Mesh == "SpecialMesh" then | |
555 | mesh.MeshType = meshtype | |
556 | mesh.MeshId = meshid | |
557 | end | |
558 | mesh.Offset = offset | |
559 | mesh.Scale = scale | |
560 | return mesh | |
561 | end | |
562 | function weld(parent, part0, part1, c0, c1) | |
563 | local weld = it("Weld") | |
564 | weld.Parent = parent | |
565 | weld.Part0 = part0 | |
566 | weld.Part1 = part1 | |
567 | weld.C0 = c0 | |
568 | weld.C1 = c1 | |
569 | return weld | |
570 | end | |
571 | BottleR = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Really black", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654)) | |
572 | BottleRweld = weld(m, Character["Right Arm"], BottleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150012493, 1.13759422, -1.12566471, -1, 0, 0, 0, 0.146834984, -0.989161015, 0, -0.989160895, -0.146834999)) | |
573 | mesh("SpecialMesh", BottleR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=29690481", Vector3.new(0, 0, 0), Vector3.new(2, 3, 2)) | |
574 | Player = game:GetService("Players").LocalPlayer | |
575 | Character = Player.Character | |
576 | Mouse = Player:GetMouse() | |
577 | m = Instance.new("Model", Character) | |
578 | local weldBetween = function(a, b) | |
579 | local weldd = Instance.new("ManualWeld") | |
580 | weldd.Part0 = a | |
581 | weldd.Part1 = b | |
582 | weldd.C0 = CFrame.new() | |
583 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
584 | weldd.Parent = a | |
585 | return weldd | |
586 | end | |
587 | it = Instance.new | |
588 | function nooutline(part) | |
589 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
590 | end | |
591 | function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
592 | local fp = it("Part") | |
593 | fp.formFactor = formfactor | |
594 | fp.Parent = parent | |
595 | fp.Reflectance = reflectance | |
596 | fp.Transparency = transparency | |
597 | fp.CanCollide = false | |
598 | fp.Locked = true | |
599 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
600 | fp.Name = name | |
601 | fp.Size = size | |
602 | fp.Position = Character.Torso.Position | |
603 | nooutline(fp) | |
604 | fp.Material = material | |
605 | fp:BreakJoints() | |
606 | return fp | |
607 | end | |
608 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
609 | local mesh = it(Mesh) | |
610 | mesh.Parent = part | |
611 | if Mesh == "SpecialMesh" then | |
612 | mesh.MeshType = meshtype | |
613 | mesh.MeshId = meshid | |
614 | end | |
615 | mesh.Offset = offset | |
616 | mesh.Scale = scale | |
617 | return mesh | |
618 | end | |
619 | function weld(parent, part0, part1, c0, c1) | |
620 | local weld = it("Weld") | |
621 | weld.Parent = parent | |
622 | weld.Part0 = part0 | |
623 | weld.Part1 = part1 | |
624 | weld.C0 = c0 | |
625 | weld.C1 = c1 | |
626 | return weld | |
627 | end | |
628 | BottleL = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Really black", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654)) | |
629 | BottleLweld = weld(m, Character["Left Arm"], BottleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.229987741, 1.13759422, -1.12566471, -1, 0, 0, 0, 0.146834984, -0.989161015, 0, -0.989160895, -0.146834999)) | |
630 | mesh("SpecialMesh", BottleL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=29690481", Vector3.new(0, 0, 0), Vector3.new(2, 3, 2)) | |
631 | game:GetService("RunService").Stepped:connect(function() | |
632 | Angle = Angle % 100 + angleSpeed / 10 | |
633 | walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude | |
634 | jumpVel = Torso.Velocity.Y | |
635 | if Humanoid.Jump and jumpVel > 1 then | |
636 | currentAnim = "Jumping" | |
637 | elseif freeFalling == true then | |
638 | currentAnim = "Falling" | |
639 | elseif walkingMagnitude < 2 then | |
640 | currentAnim = "Idling" | |
641 | elseif isSprinting == true then | |
642 | currentAnim = "Sprinting" | |
643 | elseif walkingMagnitude > 2 then | |
644 | currentAnim = "Walking" | |
645 | end | |
646 | if currentAnim == "Jumping" and Animations == false then | |
647 | angleSpeed = 1 | |
648 | axisSpeed = 1 | |
649 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.1) * c_angles(math.rad(-10), math.rad(0), math.rad(10)), 0.15) | |
650 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.1) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.15) | |
651 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.15) | |
652 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(10)), 0.15) | |
653 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)) * c_angles(math.rad(0), math.rad(0), rootPart.RotVelocity.Y / 55), 0.4) | |
654 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15) | |
655 | elseif currentAnim == "Falling" and Animations == false then | |
656 | angleSpeed = 1 | |
657 | axisSpeed = 1 | |
658 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.1) * c_angles(math.rad(0), math.rad(0), math.rad(65)), 0.125) | |
659 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.1) * c_angles(math.rad(0), math.rad(0), math.rad(-65)), 0.125) | |
660 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.4, -0.4) * c_angles(math.rad(-5), math.rad(0), math.rad(-2.5)), 0.125) | |
661 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4, -0.4) * c_angles(math.rad(-5), math.rad(0), math.rad(2.5)), 0.125) | |
662 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
663 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-17.5), math.rad(0), math.rad(0)), 0.125) | |
664 | elseif currentAnim == "Idling" and Animations == false then | |
665 | angleSpeed = 0.25 | |
666 | axisSpeed = 0.25 | |
667 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(Angle) * 0.075, 0.1) * c_angles(math.rad(15) + math.sin(Angle) * 0.075, math.rad(0), math.rad(10) + math.sin(Angle) * 0.075), 0.125) | |
668 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(Angle) * 0.075, 0.1) * c_angles(math.rad(-10) + math.sin(Angle) * 0.075, math.rad(0), math.rad(-10) - math.sin(Angle) * 0.075), 0.125) | |
669 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.1 - math.sin(Angle) * 0.075, -0.25) * c_angles(math.rad(15), math.rad(0), math.rad(-7.5)), 0.125) | |
670 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.1 - math.sin(Angle) * 0.075, -0.25) * c_angles(math.rad(-15), math.rad(0), math.rad(7.5)), 0.125) | |
671 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(Angle) * 0.075, 0) * c_angles(math.rad(-5), math.rad(0), 0), 0.3) | |
672 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05) * c_angles(math.rad(-5) + math.sin(Angle) * 0.05, math.rad(0), 0), 0.125) | |
673 | elseif currentAnim == "Sprinting" and Animations == false then | |
674 | angleSpeed = 2 | |
675 | axisSpeed = 2 | |
676 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(Angle) * 2, math.rad(5) + math.sin(Angle) * 0.1, math.rad(5) + rootPart.RotVelocity.Y / 35), 0.15) | |
677 | RA_Weld.C1 = c_new(0, 0.5, 0) | |
678 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(-math.sin(Angle) * -2, math.rad(-5) + math.sin(Angle) * 0.1, math.rad(-5) + rootPart.RotVelocity.Y / 35), 0.15) | |
679 | LA_Weld.C1 = c_new(0, 0.5, 0) | |
680 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.15 + math_pos(-math.cos(Angle - 0.25) * 0.65), math_neg(math.asin(math.sin(Angle)) * 0.65)) * c_angles(-0.025 - math.asin(math.sin(Angle)) * 1, 0, -0.025 + -math.asin(math.sin(Angle)) * 0.025 + rootPart.RotVelocity.Y / 25), 0.15) | |
681 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.15 + math_pos(math.cos(Angle - 0.25) * 0.65), math_neg(-math.asin(math.sin(Angle)) * 0.65)) * c_angles(-0.025 + math.asin(math.sin(Angle)) * 1, 0, 0.025 + -math.asin(math.sin(Angle)) * 0.025 + rootPart.RotVelocity.Y / 25), 0.15) | |
682 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.abs(math.sin(Angle) * 0.25), 0) * c_angles(math.rad(-20) + math.abs(math.sin(Angle) * 0.05) + rootPart.RotVelocity.Y / 35, math.sin(Angle) * 0.015, rootPart.RotVelocity.Y / 55), 0.15) | |
683 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.abs(math.sin(Angle / 2) * 0.5 * 0.05), math.sin(Angle) * -0.05 + rootPart.RotVelocity.Y / 15, 0), 0.15) | |
684 | elseif currentAnim == "Walking" and Animations == false then | |
685 | angleSpeed = 1 | |
686 | axisSpeed = 1 | |
687 | Humanoid.WalkSpeed = 7 | |
688 | RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(Angle) * 0.6, math.rad(5) + math.sin(Angle) * 0.05, math.rad(5)), 0.15) | |
689 | LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(-math.sin(Angle) * -0.6, math.rad(-5) + math.sin(Angle) * 0.05, math.rad(-5)), 0.15) | |
690 | LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.05 + math_pos(-math.cos(Angle - 0.25) * 0.35), math_neg(math.asin(math.sin(Angle)) * 0.35)) * c_angles(-0.025 - math.asin(math.sin(Angle)) * 0.4, 0, -0.025 + -math.asin(math.sin(Angle)) * 0.025 - rootPart.RotVelocity.Y / 65), 0.15) | |
691 | RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.05 + math_pos(math.cos(Angle - 0.25) * 0.35), math_neg(-math.asin(math.sin(Angle)) * 0.35)) * c_angles(-0.025 + math.asin(math.sin(Angle)) * 0.4, 0, 0.025 + -math.asin(math.sin(Angle)) * 0.025 - rootPart.RotVelocity.Y / 65), 0.15) | |
692 | Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.abs(math.sin(Angle) * 0.05), 0) * c_angles(math.rad(-12.5) + math.abs(math.sin(Angle) * 0.05), math.sin(Angle) * 0.015, rootPart.RotVelocity.Y / 55), 0.15) | |
693 | Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.abs(math.sin(Angle / 2) * 0.5 * 0.05), math.sin(Angle) * -0.05 + rootPart.RotVelocity.Y / 45, 0), 0.15) | |
694 | end | |
695 | end) |