SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | ||
| 3 | local Player,game,owner = owner,game | |
| 4 | ||
| 5 | local RealPlayer = Player | |
| 6 | ||
| 7 | do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 8 | ||
| 9 | wait(0.2) | |
| 10 | ||
| 11 | plr = game.Players.LocalPlayer | |
| 12 | char = plr.Character | |
| 13 | torso = char.Torso | |
| 14 | head = char.Head | |
| 15 | hed = char.Head | |
| 16 | neck = torso.Neck | |
| 17 | mouse = plr:GetMouse() | |
| 18 | larm = char["Left Arm"] | |
| 19 | rarm = char["Right Arm"] | |
| 20 | lleg = char["Left Leg"] | |
| 21 | rleg = char["Right Leg"] | |
| 22 | local Player = game:service("Players").LocalPlayer
| |
| 23 | local Char = Player.Character | |
| 24 | local mouse = Player:GetMouse() | |
| 25 | local Humanoid = Char:findFirstChild("Humanoid")
| |
| 26 | local Torso = Char:findFirstChild("Torso")
| |
| 27 | head.face:Destroy() | |
| 28 | ypcall(function() | |
| 29 | local shirt = Char:FindFirstChild("Shirt") or Instance.new("Shirt", Char)
| |
| 30 | local pants = Char:FindFirstChild("Pants") or Instance.new("Pants", Char)
| |
| 31 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=181769528" | |
| 32 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=167384966" | |
| 33 | end) | |
| 34 | Humanoid.MaxHealth = math.huge | |
| 35 | wait() | |
| 36 | Humanoid.Health = math.huge | |
| 37 | for i, v in pairs(char:GetChildren()) do | |
| 38 | if v:IsA("Hat") then
| |
| 39 | v.Handle.Transparency = 1 | |
| 40 | v:Destroy() | |
| 41 | end | |
| 42 | end | |
| 43 | char["Body Colors"].HeadColor = BrickColor.new("Nougat")
| |
| 44 | char["Body Colors"].TorsoColor = BrickColor.new("Nougat")
| |
| 45 | char["Body Colors"].LeftArmColor = BrickColor.new("Nougat")
| |
| 46 | char["Body Colors"].RightArmColor = BrickColor.new("Nougat")
| |
| 47 | local Head = Char.Head | |
| 48 | local ra = Char:findFirstChild("Right Arm")
| |
| 49 | local la = Char:findFirstChild("Left Arm")
| |
| 50 | local rl = Char:findFirstChild("Right Leg")
| |
| 51 | local ll = Char:findFirstChild("Left Leg")
| |
| 52 | local rs = Torso:findFirstChild("Right Shoulder")
| |
| 53 | local ls = Torso:findFirstChild("Left Shoulder")
| |
| 54 | local rh = Torso:findFirstChild("Right Hip")
| |
| 55 | local lh = Torso:findFirstChild("Left Hip")
| |
| 56 | local neck = Torso:findFirstChild("Neck")
| |
| 57 | local rp = Char:findFirstChild("HumanoidRootPart")
| |
| 58 | rp.Archivable = true | |
| 59 | local rj = rp:findFirstChild("RootJoint")
| |
| 60 | rj.Archivable = true | |
| 61 | local animate = Char:findFirstChild("Animate")
| |
| 62 | local rootpart = Char:findFirstChild("HumanoidRootPart")
| |
| 63 | local Camera = workspace.CurrentCamera | |
| 64 | local CF = CFrame.new | |
| 65 | local components = CF().components | |
| 66 | rootpart.CanCollide = false | |
| 67 | Humanoid:findFirstChild("Animator"):Destroy()
| |
| 68 | local debounce = false | |
| 69 | function Random(num) | |
| 70 | local section = num % 1 * 3 | |
| 71 | local secondary = 0.5 * math.pi * (section % 1) | |
| 72 | if section < 1 then | |
| 73 | return 1, 1 - math.cos(secondary), 1 - math.sin(secondary) | |
| 74 | elseif section < 2 then | |
| 75 | return 1 - math.sin(secondary), 1, 1 - math.cos(secondary) | |
| 76 | else | |
| 77 | return 1 - math.cos(secondary), 1 - math.sin(secondary), 1 | |
| 78 | end | |
| 79 | end | |
| 80 | local txtfag = Instance.new("BillboardGui", head)
| |
| 81 | txtfag.Adornee = suckadick | |
| 82 | txtfag.Name = "kys nigga" | |
| 83 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
| 84 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
| 85 | local textfag = Instance.new("TextLabel", txtfag)
| |
| 86 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
| 87 | textfag.FontSize = "Size8" | |
| 88 | textfag.TextScaled = true | |
| 89 | textfag.TextTransparency = 0 | |
| 90 | textfag.BackgroundTransparency = 1 | |
| 91 | textfag.TextTransparency = 0 | |
| 92 | textfag.TextStrokeTransparency = 0 | |
| 93 | textfag.Font = "SciFi" | |
| 94 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
| 95 | textfag.Text = "420" | |
| 96 | v = Instance.new("Part")
| |
| 97 | v.Name = "ColorBrick" | |
| 98 | v.Parent = part | |
| 99 | v.FormFactor = "Symmetric" | |
| 100 | v.Anchored = true | |
| 101 | v.CanCollide = false | |
| 102 | v.BottomSurface = "Smooth" | |
| 103 | v.TopSurface = "Smooth" | |
| 104 | v.Size = Vector3.new(10, 5, 3) | |
| 105 | v.Transparency = 0.7 | |
| 106 | v.CFrame = head.CFrame | |
| 107 | v.BrickColor = BrickColor.new("Really black")
| |
| 108 | v.Transparency = 1 | |
| 109 | textfag.TextColor3 = v.BrickColor.Color | |
| 110 | textfag.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 111 | v.Shape = "Block" | |
| 112 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 113 | textfag.TextColor = BrickColor.new(Random(tick())) | |
| 114 | end) | |
| 115 | sine = 100 | |
| 116 | angle = 100 | |
| 117 | anglespeed = 100 | |
| 118 | local anim = false | |
| 119 | local walking = false | |
| 120 | local sprinting = false | |
| 121 | local superspeed = false | |
| 122 | local superspeed2 = false | |
| 123 | local debounce = false | |
| 124 | function Lerp(a, b, c) | |
| 125 | return a + (b - a) * c | |
| 126 | end | |
| 127 | function phaseclone() | |
| 128 | Char.Archivable = true | |
| 129 | local Clone1 = Char:Clone() | |
| 130 | Clone1.Parent = game.Workspace | |
| 131 | for i, v in pairs(Clone1:GetChildren()) do | |
| 132 | if v.ClassName == "BodyColors" then | |
| 133 | B = "Really red" | |
| 134 | v.HeadColor = BrickColor.new(B) | |
| 135 | v.LeftArmColor = BrickColor.new(B) | |
| 136 | v.RightArmColor = BrickColor.new(B) | |
| 137 | v.TorsoColor = BrickColor.new(B) | |
| 138 | v.LeftLegColor = BrickColor.new(B) | |
| 139 | v.RightLegColor = BrickColor.new(B) | |
| 140 | elseif not v:IsA("Part") then
| |
| 141 | v:Destroy() | |
| 142 | end | |
| 143 | if v.ClassName ~= "Part" or v.Name == "HumanoidRootPart" then | |
| 144 | v:Destroy() | |
| 145 | end | |
| 146 | if v:IsA("Part") then
| |
| 147 | v.Transparency = 0.5 | |
| 148 | v.TopSurface = "Smooth" | |
| 149 | v.BottomSurface = "Smooth" | |
| 150 | v.LeftSurface = "Smooth" | |
| 151 | v.RightSurface = "Smooth" | |
| 152 | Bl = "New Yeller" | |
| 153 | v.BrickColor = BrickColor.new(Bl) | |
| 154 | v.Anchored = true | |
| 155 | v.CanCollide = false | |
| 156 | end | |
| 157 | end | |
| 158 | for i, v in pairs(Clone1:GetChildren()) do | |
| 159 | if v:FindFirstChild("roblox") then
| |
| 160 | v.roblox:Destroy() | |
| 161 | end | |
| 162 | if v:FindFirstChild("face") then
| |
| 163 | v.face:Destroy() | |
| 164 | end | |
| 165 | if v.Name == "Part" or v.Name == "Hold" or v.Name == "Circle" then | |
| 166 | v:Remove() | |
| 167 | end | |
| 168 | end | |
| 169 | wait(0.3) | |
| 170 | for i = 1, 5 do | |
| 171 | for _, v in pairs(Clone1:GetChildren()) do | |
| 172 | if v:IsA("Part") then
| |
| 173 | v.Transparency = 0.5 + i / 5 | |
| 174 | wait() | |
| 175 | end | |
| 176 | end | |
| 177 | end | |
| 178 | Clone1:Destroy() | |
| 179 | end | |
| 180 | function ctlerp(c1, c2, al) | |
| 181 | local com1 = {
| |
| 182 | c1:components() | |
| 183 | } | |
| 184 | local com2 = {
| |
| 185 | c2:components() | |
| 186 | } | |
| 187 | for i, v in pairs(com1) do | |
| 188 | com1[i] = Lerp(v, com2[i], al) | |
| 189 | end | |
| 190 | return CF(unpack(com1)) | |
| 191 | end | |
| 192 | do | |
| 193 | local QuaternionFromCFrame = function(cf) | |
| 194 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 195 | local trace = m00 + m11 + m22 | |
| 196 | if trace > 0 then | |
| 197 | local s = math.sqrt(1 + trace) | |
| 198 | local recip = 0.5 / s | |
| 199 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 200 | else | |
| 201 | local i = 0 | |
| 202 | if m00 < m11 then | |
| 203 | i = 1 | |
| 204 | end | |
| 205 | if m22 > (i == 0 and m00 or m11) then | |
| 206 | i = 2 | |
| 207 | end | |
| 208 | if i == 0 then | |
| 209 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 210 | local recip = 0.5 / s | |
| 211 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 212 | elseif i == 1 then | |
| 213 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 214 | local recip = 0.5 / s | |
| 215 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 216 | elseif i == 2 then | |
| 217 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 218 | local recip = 0.5 / s | |
| 219 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 220 | end | |
| 221 | end | |
| 222 | end | |
| 223 | local function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 224 | local xs, ys, zs = x + x, y + y, z + z | |
| 225 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 226 | local xx = x * xs | |
| 227 | local xy = x * ys | |
| 228 | local xz = x * zs | |
| 229 | local yy = y * ys | |
| 230 | local yz = y * zs | |
| 231 | local zz = z * zs | |
| 232 | return CF(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 233 | end | |
| 234 | local QuaternionSlerp = function(a, b, t) | |
| 235 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 236 | local startInterp, finishInterp | |
| 237 | if cosTheta >= 1.0E-4 then | |
| 238 | if 1 - cosTheta > 1.0E-4 then | |
| 239 | local theta = math.acos(cosTheta) | |
| 240 | local invSinTheta = 1 / math.sin(theta) | |
| 241 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 242 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 243 | else | |
| 244 | startInterp = 1 - t | |
| 245 | finishInterp = t | |
| 246 | end | |
| 247 | elseif 1 + cosTheta > 1.0E-4 then | |
| 248 | local theta = math.acos(-cosTheta) | |
| 249 | local invSinTheta = 1 / math.sin(theta) | |
| 250 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 251 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 252 | else | |
| 253 | startInterp = t - 1 | |
| 254 | finishInterp = t | |
| 255 | end | |
| 256 | 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 | |
| 257 | end | |
| 258 | function clerp(a, b, t) | |
| 259 | local qa = {
| |
| 260 | QuaternionFromCFrame(a) | |
| 261 | } | |
| 262 | local qb = {
| |
| 263 | QuaternionFromCFrame(b) | |
| 264 | } | |
| 265 | local ax, ay, az = a.x, a.y, a.z | |
| 266 | local bx, by, bz = b.x, b.y, b.z | |
| 267 | local _t = 1 - t | |
| 268 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 269 | end | |
| 270 | end | |
| 271 | rm = Instance.new("Weld", Torso)
| |
| 272 | rm.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
| 273 | rm.C1 = CFrame.new(0, 0.5, 0) | |
| 274 | rm.Part0 = Torso | |
| 275 | rm.Part1 = ra | |
| 276 | lm = Instance.new("Weld", Torso)
| |
| 277 | lm.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0) | |
| 278 | lm.C1 = CFrame.new(0, 0.5, 0) | |
| 279 | lm.Part0 = Torso | |
| 280 | lm.Part1 = la | |
| 281 | rlegm = Instance.new("Weld", Torso)
| |
| 282 | rlegm.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, 0) | |
| 283 | rlegm.C1 = CFrame.new(0, 1, 0) | |
| 284 | rlegm.Part0 = Torso | |
| 285 | rlegm.Part1 = rl | |
| 286 | llegm = Instance.new("Weld", Torso)
| |
| 287 | llegm.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, 0) | |
| 288 | llegm.C1 = CFrame.new(0, 1, 0) | |
| 289 | llegm.Part0 = Torso | |
| 290 | llegm.Part1 = ll | |
| 291 | neck.C0 = CFrame.new(0, 1, 0) | |
| 292 | neck.C1 = CFrame.new(0, -0.5, 0) | |
| 293 | game:GetService("RunService").Stepped:connect(function()
| |
| 294 | angle = angle % 100 + anglespeed / 10 | |
| 295 | rootpart.CanCollide = false | |
| 296 | local speed = Vector3.new(rootpart.Velocity.X, 0, rootpart.Velocity.Z).magnitude | |
| 297 | if Humanoid.Jump and Torso.Velocity.Y > 1 and speed < 2 then | |
| 298 | animpose = "Jump" | |
| 299 | elseif speed < 1 then | |
| 300 | animpose = "Idle" | |
| 301 | elseif sprinting == true then | |
| 302 | animpose = "Sprinting" | |
| 303 | elseif superspeed == true then | |
| 304 | animpose = "SuperSpeed" | |
| 305 | elseif superspeed2 == true then | |
| 306 | animpose = "SuperSpeed2" | |
| 307 | elseif speed > 2 then | |
| 308 | walking = true | |
| 309 | animpose = "Moving" | |
| 310 | end | |
| 311 | if animpose == "Idle" and anim == false then | |
| 312 | anglespeed = 0.5 | |
| 313 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.6, -0.15) * CFrame.Angles(math.rad(80) + math.sin(angle) * 0.02, math.rad(-15), math.rad(-80) + math.sin(angle) * 0.02), 0.1) | |
| 314 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.6, 0.15) * CFrame.Angles(math.rad(15) + math.sin(angle) * 0.02, math.rad(20), math.rad(-30) + -math.sin(angle) * 0.02), 0.1) | |
| 315 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1) | |
| 316 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.1) | |
| 317 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-6.5), math.rad(0), math.sin(angle) * 0.01), 0.1) | |
| 318 | rj.C0 = clerp(rj.C0, CFrame.new(0, -0.1, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(180)), 0.1) | |
| 319 | elseif animpose == "Moving" and anim == false and walking == true then | |
| 320 | anglespeed = 0.5 | |
| 321 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-10) + -math.sin(angle * 3), math.rad(12) + math.sin(angle) * 0.02, math.rad(8)), 0.1) | |
| 322 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.6, 0.15) * CFrame.Angles(math.rad(15) + math.sin(angle) * 0.02, math.rad(0), math.rad(-15) + -math.sin(angle) * 0.02), 0.1) | |
| 323 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(-7) + math.sin(angle * 3), math.rad(0), 0), 0.1) | |
| 324 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-7) + -math.sin(angle * 3), math.rad(0), 0), 0.1) | |
| 325 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(5), Head.RotVelocity.Y / 25, 0), 0.1) | |
| 326 | rj.C0 = clerp(rj.C0, CFrame.new(0, -0.1, 0) * CFrame.Angles(math.rad(-90), -rootpart.RotVelocity.Y / 25, math.rad(180)), 0.1) | |
| 327 | Humanoid.WalkSpeed = 20 | |
| 328 | elseif animpose == "Sprinting" and anim == false then | |
| 329 | anglespeed = 0.5 | |
| 330 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(-45), math.rad(8)), 0.1) | |
| 331 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(45), math.rad(-8)), 0.1) | |
| 332 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(20) + math.sin(angle * 10), math.rad(0), 0), 0.1) | |
| 333 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(20) + -math.sin(angle * 10), math.rad(0), 0), 0.1) | |
| 334 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y / 15, 0), 0.1) | |
| 335 | rj.C0 = clerp(rj.C0, CFrame.new(0, -0.2, 0) * CFrame.Angles(math.rad(-135), -rootpart.RotVelocity.Y / 15, math.rad(180)), 0.1) | |
| 336 | Humanoid.WalkSpeed = 50 | |
| 337 | elseif animpose == "SuperSpeed" and anim == false then | |
| 338 | anglespeed = 0.5 | |
| 339 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(-45), math.rad(8)), 0.1) | |
| 340 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(45), math.rad(-8)), 0.1) | |
| 341 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(-20), math.rad(-15), 0), 0.1) | |
| 342 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-20), math.rad(15), 0), 0.1) | |
| 343 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y / 15, 0), 0.1) | |
| 344 | rj.C0 = clerp(rj.C0, CFrame.new(0, 4 + math.sin(angle), 0) * CFrame.Angles(math.rad(-135), -rootpart.RotVelocity.Y / 15, math.rad(180)), 0.1) | |
| 345 | Humanoid.WalkSpeed = 80 | |
| 346 | elseif animpose == "SuperSpeed2" and anim == false then | |
| 347 | anglespeed = 0.5 | |
| 348 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(-45), math.rad(8)), 0.1) | |
| 349 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.5, 0.2) * CFrame.Angles(math.rad(-40) + math.sin(angle) * 0.05, math.rad(45), math.rad(-8)), 0.1) | |
| 350 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.8, 0) * CFrame.Angles(math.rad(-20), math.rad(-15), 0), 0.1) | |
| 351 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.8, 0) * CFrame.Angles(math.rad(-20), math.rad(15), 0), 0.1) | |
| 352 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(40), Head.RotVelocity.Y / 15, 0), 0.1) | |
| 353 | rj.C0 = clerp(rj.C0, CFrame.new(0, 4 + math.sin(angle), 0) * CFrame.Angles(math.rad(-135), -rootpart.RotVelocity.Y / 15, math.rad(180)), 0.1) | |
| 354 | Humanoid.WalkSpeed = 300 | |
| 355 | elseif animpose == "Smoke" and anim == false then | |
| 356 | anglespeed = 0.5 | |
| 357 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.6, -0.15) * CFrame.Angles(math.rad(80) + math.sin(angle) * 0.02, math.rad(-15), math.rad(80) + math.sin(angle) * 0.02), 0.1) | |
| 358 | lm.C0 = clerp(lm.C0, CFrame.new(-1.5, 0.6, 0.15) * CFrame.Angles(math.rad(15) + math.sin(angle) * 0.02, math.rad(20), math.rad(-30) + -math.sin(angle) * 0.02), 0.1) | |
| 359 | rlegm.C0 = clerp(rlegm.C0, CFrame.new(0.5, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1) | |
| 360 | llegm.C0 = clerp(llegm.C0, CFrame.new(-0.5, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-3)), 0.1) | |
| 361 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-6.5), math.rad(0), math.sin(angle) * 0.01), 0.1) | |
| 362 | rj.C0 = clerp(rj.C0, CFrame.new(0, -0.1, 0) * CFrame.Angles(math.rad(-90), 0, math.rad(180)), 0.1) | |
| 363 | end | |
| 364 | end) | |
| 365 | local sound = Instance.new("Sound", head)
| |
| 366 | sound.SoundId = "rbxassetid://684566406" | |
| 367 | sound.Name = "Mesh" | |
| 368 | sound.Looped = true | |
| 369 | sound.Volume = 1 | |
| 370 | sound:Play() | |
| 371 | function part(name, parent, size, brickcolor, material) | |
| 372 | local part = Instance.new("Part")
| |
| 373 | part.Name = name | |
| 374 | part.Parent = parent | |
| 375 | part.Size = size | |
| 376 | part.BrickColor = brickcolor | |
| 377 | part.Material = material | |
| 378 | part.CanCollide = false | |
| 379 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 380 | part:BreakJoints() | |
| 381 | return part | |
| 382 | end | |
| 383 | function weld(parent, part0, part1, c0) | |
| 384 | local weld = Instance.new("Weld")
| |
| 385 | weld.Parent = parent | |
| 386 | weld.Part0 = part0 | |
| 387 | weld.Part1 = part1 | |
| 388 | weld.C0 = c0 | |
| 389 | return weld | |
| 390 | end | |
| 391 | Hat = part("", torso, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Black"), "Slate")
| |
| 392 | Weld = weld(torso, head, Hat, CFrame.new(0, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 393 | local HatMesh = Instance.new("SpecialMesh", Hat)
| |
| 394 | HatMesh.MeshId = "rbxassetid://10495042" | |
| 395 | HatMesh.TextureId = "rbxassetid://10494528" | |
| 396 | HatMesh.Scale = Vector3.new(1, 1, 1) | |
| 397 | Dreadlocks = part("", torso, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Black"), "Slate")
| |
| 398 | Weld = weld(torso, head, Dreadlocks, CFrame.new(0, -0.2, 0.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 399 | local DreadlocksMesh = Instance.new("SpecialMesh", Dreadlocks)
| |
| 400 | DreadlocksMesh.MeshId = "rbxassetid://26768783" | |
| 401 | DreadlocksMesh.TextureId = "rbxassetid://26768766" | |
| 402 | DreadlocksMesh.Scale = Vector3.new(1, 1, 1) | |
| 403 | Cig = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Bronze"), "Slate")
| |
| 404 | Cig.FormFactor = "Custom" | |
| 405 | local Mesh = Instance.new("CylinderMesh", Cig)
| |
| 406 | Cig.Mesh.Scale = Vector3.new(0.1, 0.7, 0.7) | |
| 407 | Weld = weld(head, rarm, Cig, CFrame.new(0.4, -1, -0.3) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))) | |
| 408 | Cig2 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Camo"), "Grass")
| |
| 409 | Cig2.FormFactor = "Custom" | |
| 410 | local Mesh = Instance.new("CylinderMesh", Cig2)
| |
| 411 | Cig2.Mesh.Scale = Vector3.new(0.1, 0.01, 0.7) | |
| 412 | Weld = weld(head, Cig, Cig2, CFrame.new(0, -0.35, 0)) | |
| 413 | Cig3 = part("", head, Vector3.new(0.001, 0.001, 0.001), BrickColor.new("Really red"), "SmoothPlastic")
| |
| 414 | Cig3.Transparency = 1 | |
| 415 | Weld = weld(head, Cig, Cig3, CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(-90), math.rad(20), math.rad(20))) | |
| 416 | Eye1 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Pastel orange"), "SmoothPlastic")
| |
| 417 | local Mesh = Instance.new("SpecialMesh", Eye1)
| |
| 418 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 419 | Mesh.Scale = Vector3.new(0.1, 0.2, 0.05) | |
| 420 | Weld = weld(head, head, Eye1, CFrame.new(0.15, 0.25, -0.58) * CFrame.Angles(math.rad(0), math.rad(-18), math.rad(0))) | |
| 421 | Eye1 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Pastel orange"), "SmoothPlastic")
| |
| 422 | local Mesh = Instance.new("SpecialMesh", Eye1)
| |
| 423 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 424 | Mesh.Scale = Vector3.new(0.1, 0.2, 0.05) | |
| 425 | Weld = weld(head, head, Eye1, CFrame.new(-0.15, 0.25, -0.58) * CFrame.Angles(math.rad(0), math.rad(18), math.rad(0))) | |
| 426 | Eye1 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 427 | local Mesh = Instance.new("SpecialMesh", Eye1)
| |
| 428 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 429 | Mesh.Scale = Vector3.new(0.05, 0.1, 0.02) | |
| 430 | Weld = weld(head, head, Eye1, CFrame.new(0.15, 0.25, -0.6) * CFrame.Angles(math.rad(0), math.rad(-18), math.rad(0))) | |
| 431 | Eye1 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 432 | local Mesh = Instance.new("SpecialMesh", Eye1)
| |
| 433 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 434 | Mesh.Scale = Vector3.new(0.05, 0.1, 0.02) | |
| 435 | Weld = weld(head, head, Eye1, CFrame.new(-0.15, 0.25, -0.6) * CFrame.Angles(math.rad(0), math.rad(18), math.rad(0))) | |
| 436 | Jetpack = part("", torso, Vector3.new(1, 1, 1), BrickColor.new("Gold"), "SmoothPlastic")
| |
| 437 | Jetpack.FormFactor = "Custom" | |
| 438 | local Mesh = Instance.new("CylinderMesh", Jetpack)
| |
| 439 | Jetpack.Mesh.Scale = Vector3.new(1, 2, 1) | |
| 440 | Weld = weld(head, torso, Jetpack, CFrame.new(0, 0, 1.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0))) | |
| 441 | Jetpack2 = part("", torso, Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 442 | Jetpack2.FormFactor = "Custom" | |
| 443 | local Mesh = Instance.new("SpecialMesh", Jetpack2)
| |
| 444 | Mesh.MeshId = "rbxassetid://1778999" | |
| 445 | Mesh.Scale = Vector3.new(0.8, 0.6, 0.8) | |
| 446 | Weld = weld(head, Jetpack, Jetpack2, CFrame.new(0, -0.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 447 | Jetpack = part("", torso, Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 448 | Jetpack.FormFactor = "Custom" | |
| 449 | local Mesh = Instance.new("CylinderMesh", Jetpack)
| |
| 450 | Jetpack.Mesh.Scale = Vector3.new(1.2, 1.8, 1.2) | |
| 451 | Weld = weld(head, torso, Jetpack, CFrame.new(0, 0, 1.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0))) | |
| 452 | JetpackHold = part("", torso, Vector3.new(0.8, 1.9, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 453 | Weld = weld(head, torso, JetpackHold, CFrame.new(0, 0, 0.05) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 454 | JetpackHold = part("", torso, Vector3.new(2.02, 0.8, 1.02), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 455 | Weld = weld(head, torso, JetpackHold, CFrame.new(0, -0.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 456 | JetpackHold = part("", torso, Vector3.new(0.5, 0.5, 0.5), BrickColor.new("Gold"), "SmoothPlastic")
| |
| 457 | Weld = weld(head, torso, JetpackHold, CFrame.new(0, 0.5, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 458 | JetpackHold = part("", torso, Vector3.new(0.5, 0.5, 0.5), BrickColor.new("Gold"), "SmoothPlastic")
| |
| 459 | Weld = weld(head, torso, JetpackHold, CFrame.new(0, -0.5, 0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 460 | JetpackHolder = part("", torso, Vector3.new(0.2, 2.02, 1.01), BrickColor.new("Gold"), "SmoothPlastic")
| |
| 461 | Weld = weld(head, torso, JetpackHolder, CFrame.new(0.7, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 462 | JetpackHolder = part("", torso, Vector3.new(0.2, 2.02, 1.01), BrickColor.new("Gold"), "SmoothPlastic")
| |
| 463 | Weld = weld(head, torso, JetpackHolder, CFrame.new(-0.7, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 464 | Bag = part("", torso, Vector3.new(0.3, 0.3, 0.9), BrickColor.new("Bronze"), "Plastic")
| |
| 465 | Weld = weld(torso, torso, Bag, CFrame.new(-1, -0.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(30))) | |
| 466 | Kush = part("", torso, Vector3.new(0.3, 0.3, 0.3), BrickColor.new("Camo"), "Grass")
| |
| 467 | Weld = weld(torso, torso, Kush, CFrame.new(-1.1, -0.6, 0) * CFrame.Angles(math.rad(-35), math.rad(0), math.rad(55))) | |
| 468 | Kush = part("", torso, Vector3.new(0.3, 0.3, 0.3), BrickColor.new("Camo"), "Grass")
| |
| 469 | Weld = weld(torso, torso, Kush, CFrame.new(-1.1, -0.6, -0.2) * CFrame.Angles(math.rad(-65), math.rad(0), math.rad(70))) | |
| 470 | Kush = part("", torso, Vector3.new(0.3, 0.3, 0.3), BrickColor.new("Camo"), "Grass")
| |
| 471 | Weld = weld(torso, torso, Kush, CFrame.new(-1.1, -0.6, 0.2) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(25))) | |
| 472 | Kush = part("", torso, Vector3.new(0.3, 0.3, 0.3), BrickColor.new("Camo"), "Grass")
| |
| 473 | Weld = weld(torso, torso, Kush, CFrame.new(-1.1, -0.6, -0.3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(20))) | |
| 474 | Kush = part("", torso, Vector3.new(0.3, 0.3, 0.3), BrickColor.new("Camo"), "Grass")
| |
| 475 | Weld = weld(torso, torso, Kush, CFrame.new(-1.1, -0.6, 0.3) * CFrame.Angles(math.rad(-15), math.rad(0), math.rad(80))) | |
| 476 | function SmokeDamage() | |
| 477 | if debounce == false then | |
| 478 | debounce = true | |
| 479 | part = Instance.new("Part")
| |
| 480 | game.Debris:AddItem(part, 3) | |
| 481 | part.Size = Vector3.new(3, 3, 1) | |
| 482 | part.CFrame = torso.CFrame * CFrame.new(0, 1, -2) | |
| 483 | part.Transparency = 1 | |
| 484 | part.CanCollide = false | |
| 485 | part.Parent = head | |
| 486 | local v = Instance.new("BodyVelocity", part)
| |
| 487 | v.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 488 | v.Velocity = torso.CFrame.lookVector * 5 | |
| 489 | part.Touched:connect(function(hit) | |
| 490 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 491 | cough = Instance.new("Sound", hit.Parent.Head)
| |
| 492 | cough.SoundId = "rbxassetid://289001712" | |
| 493 | cough.Volume = 3 | |
| 494 | while wait() do | |
| 495 | hit.Parent.Humanoid:TakeDamage(1) | |
| 496 | if hit.Parent.Humanoid.Health <= 5 then | |
| 497 | cough:Play() | |
| 498 | break | |
| 499 | end | |
| 500 | end | |
| 501 | bg:Destroy() | |
| 502 | end | |
| 503 | end) | |
| 504 | wait() | |
| 505 | debounce = false | |
| 506 | end | |
| 507 | end | |
| 508 | local CigSmoke = Instance.new("ParticleEmitter", Cig3)
| |
| 509 | CigSmoke.VelocitySpread = 5 | |
| 510 | CigSmoke.Size = NumberSequence.new({
| |
| 511 | NumberSequenceKeypoint.new(0, 0.01), | |
| 512 | NumberSequenceKeypoint.new(1, 1) | |
| 513 | }) | |
| 514 | CigSmoke.Rate = math.huge | |
| 515 | CigSmoke.Speed = NumberRange.new(4, 4) | |
| 516 | CigSmoke.Lifetime = NumberRange.new(1, 1) | |
| 517 | CigSmoke.Transparency = NumberSequence.new({
| |
| 518 | NumberSequenceKeypoint.new(0, 0.9), | |
| 519 | NumberSequenceKeypoint.new(1, 1) | |
| 520 | }) | |
| 521 | CigSmoke.Rotation = NumberRange.new(0, 360) | |
| 522 | CigSmoke.Name = "Smoke" | |
| 523 | CigSmoke.LightEmission = 999 | |
| 524 | CigSmoke.Texture = "http://www.roblox.com/asset/?id=243728104" | |
| 525 | CigSmoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 526 | CigSmoke.LockedToPart = false | |
| 527 | RunSmoke1 = part("", head, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 528 | RunSmoke1.Transparency = 0 | |
| 529 | Weld = weld(head, rleg, RunSmoke1, CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 530 | local RunSmokee = Instance.new("ParticleEmitter", RunSmoke1)
| |
| 531 | RunSmokee.VelocitySpread = 0 | |
| 532 | RunSmokee.Size = NumberSequence.new({
| |
| 533 | NumberSequenceKeypoint.new(0, 0.01), | |
| 534 | NumberSequenceKeypoint.new(1, 10) | |
| 535 | }) | |
| 536 | RunSmokee.Rate = 0 | |
| 537 | RunSmokee.Speed = NumberRange.new(0, 0) | |
| 538 | RunSmokee.Lifetime = NumberRange.new(2, 2) | |
| 539 | RunSmokee.Transparency = NumberSequence.new({
| |
| 540 | NumberSequenceKeypoint.new(0, 0.9), | |
| 541 | NumberSequenceKeypoint.new(1, 1) | |
| 542 | }) | |
| 543 | RunSmokee.Rotation = NumberRange.new(0, 360) | |
| 544 | RunSmokee.Name = "Smoke" | |
| 545 | RunSmokee.LightEmission = 999 | |
| 546 | RunSmokee.Texture = "http://www.roblox.com/asset/?id=243728104" | |
| 547 | RunSmokee.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 548 | RunSmokee.LockedToPart = false | |
| 549 | RunSmoke2 = part("", head, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 550 | RunSmoke2.Transparency = 0 | |
| 551 | Weld = weld(head, lleg, RunSmoke2, CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))) | |
| 552 | local RunSmokeee = Instance.new("ParticleEmitter", RunSmoke2)
| |
| 553 | RunSmokeee.VelocitySpread = 0 | |
| 554 | RunSmokeee.Size = NumberSequence.new({
| |
| 555 | NumberSequenceKeypoint.new(0, 0.01), | |
| 556 | NumberSequenceKeypoint.new(1, 10) | |
| 557 | }) | |
| 558 | RunSmokeee.Rate = 0 | |
| 559 | RunSmokeee.Speed = NumberRange.new(0, 0) | |
| 560 | RunSmokeee.Lifetime = NumberRange.new(2, 2) | |
| 561 | RunSmokeee.Transparency = NumberSequence.new({
| |
| 562 | NumberSequenceKeypoint.new(0, 0.9), | |
| 563 | NumberSequenceKeypoint.new(1, 1) | |
| 564 | }) | |
| 565 | RunSmokeee.Rotation = NumberRange.new(0, 360) | |
| 566 | RunSmokeee.Name = "Smoke" | |
| 567 | RunSmokeee.LightEmission = 999 | |
| 568 | RunSmokeee.Texture = "http://www.roblox.com/asset/?id=243728104" | |
| 569 | RunSmokeee.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 570 | RunSmokeee.LockedToPart = false | |
| 571 | FlyFire = part("", head, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 572 | FlyFire.Transparency = 1 | |
| 573 | Weld = weld(head, rleg, FlyFire, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0))) | |
| 574 | FlyFire2 = part("", head, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 575 | FlyFire2.Transparency = 1 | |
| 576 | Weld = weld(head, lleg, FlyFire2, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0))) | |
| 577 | if sprinting == true then | |
| 578 | RunSmokee.Rate = math.huge | |
| 579 | RunSmokeee.Rate = math.huge | |
| 580 | end | |
| 581 | Smokee = part("", head, Vector3.new(0.1, 0.1, 0.1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 582 | Smokee.Transparency = 0 | |
| 583 | Weld = weld(head, head, Smokee, CFrame.new(0, -0.25, -0.1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))) | |
| 584 | local Smoke = Instance.new("ParticleEmitter", Smokee)
| |
| 585 | Smoke.VelocitySpread = 10 | |
| 586 | Smoke.Size = NumberSequence.new({
| |
| 587 | NumberSequenceKeypoint.new(0, 0.01), | |
| 588 | NumberSequenceKeypoint.new(1, 2) | |
| 589 | }) | |
| 590 | Smoke.Rate = 0 | |
| 591 | Smoke.Speed = NumberRange.new(8, 8) | |
| 592 | Smoke.Lifetime = NumberRange.new(2, 2) | |
| 593 | Smoke.Transparency = NumberSequence.new({
| |
| 594 | NumberSequenceKeypoint.new(0, 0.6), | |
| 595 | NumberSequenceKeypoint.new(1, 1) | |
| 596 | }) | |
| 597 | Smoke.Rotation = NumberRange.new(0, 360) | |
| 598 | Smoke.Name = "Smoke" | |
| 599 | Smoke.LightEmission = 999 | |
| 600 | Smoke.Texture = "http://www.roblox.com/asset/?id=243728104" | |
| 601 | Smoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 602 | Smoke.LockedToPart = false | |
| 603 | Smokee2 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Cyan"), "Neon")
| |
| 604 | Smokee2.Transparency = 0 | |
| 605 | local Mesh = Instance.new("SpecialMesh", Smokee2)
| |
| 606 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 607 | Mesh.Scale = Vector3.new(0.6, 0.25, 0.6) | |
| 608 | Weld = weld(head, Jetpack2, Smokee2, CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0))) | |
| 609 | Smokee3 = part("", head, Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic")
| |
| 610 | Smokee3.Transparency = 0 | |
| 611 | local Mesh = Instance.new("SpecialMesh", Smokee3)
| |
| 612 | Mesh.MeshType = Enum.MeshType.Sphere | |
| 613 | Mesh.Scale = Vector3.new(0.7, 0.2, 0.7) | |
| 614 | Weld = weld(head, Jetpack2, Smokee3, CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0))) | |
| 615 | local JetFire = Instance.new("ParticleEmitter", Smokee2)
| |
| 616 | JetFire.VelocitySpread = 0 | |
| 617 | JetFire.Size = NumberSequence.new({
| |
| 618 | NumberSequenceKeypoint.new(0, 1), | |
| 619 | NumberSequenceKeypoint.new(1, 0.5) | |
| 620 | }) | |
| 621 | JetFire.Rate = 40 | |
| 622 | JetFire.Speed = NumberRange.new(2, 2) | |
| 623 | JetFire.Lifetime = NumberRange.new(0.5, 0.5) | |
| 624 | JetFire.Transparency = NumberSequence.new({
| |
| 625 | NumberSequenceKeypoint.new(0, 0.9), | |
| 626 | NumberSequenceKeypoint.new(1, 1) | |
| 627 | }) | |
| 628 | JetFire.Rotation = NumberRange.new(0, 360) | |
| 629 | JetFire.Name = "Smoke" | |
| 630 | JetFire.LightEmission = 999 | |
| 631 | JetFire.Texture = "http://www.roblox.com/asset/?id=243728104" | |
| 632 | JetFire.Color = ColorSequence.new(Color3.new(1, 1, 0), Color3.new(1, 0, 0)) | |
| 633 | JetFire.LockedToPart = true | |
| 634 | local Exhale = Instance.new("Sound", head)
| |
| 635 | Exhale.SoundId = "rbxassetid://267313517" | |
| 636 | Exhale.Pitch = 0.7 | |
| 637 | Exhale.Volume = 3 | |
| 638 | function smoke() | |
| 639 | if animpose == "Idle" and debounce == false then | |
| 640 | debounce = true | |
| 641 | Exhale:Play() | |
| 642 | rs = game:GetService("RunService")
| |
| 643 | con = rs.Stepped:connect(function() | |
| 644 | textfag.Text = "Blaze It" | |
| 645 | Smoke.Rate = math.huge | |
| 646 | anglespeed = 0.2 | |
| 647 | rm.C0 = clerp(rm.C0, CFrame.new(1.5, 0.6, -0.15) * CFrame.Angles(math.rad(80) + math.sin(angle) * 0.02, math.rad(40), math.rad(90) + -math.sin(angle) * 0.02), 0.1) | |
| 648 | neck.C0 = clerp(neck.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(30), Head.RotVelocity.Y / 15, 0), 0.1) | |
| 649 | wait(2) | |
| 650 | con:disconnect() | |
| 651 | end) | |
| 652 | wait(2.1) | |
| 653 | debounce = false | |
| 654 | Smoke.Rate = 0 | |
| 655 | textfag.Text = "420" | |
| 656 | end | |
| 657 | end | |
| 658 | mouse.KeyDown:connect(function(key) | |
| 659 | if key == string.char(50) and sprinting == false then | |
| 660 | sprinting = true | |
| 661 | Humanoid.WalkSpeed = 50 | |
| 662 | RunSmokee.Rate = 50 | |
| 663 | RunSmokeee.Rate = 50 | |
| 664 | RunSmokee.Size = NumberSequence.new({
| |
| 665 | NumberSequenceKeypoint.new(0, 0.01), | |
| 666 | NumberSequenceKeypoint.new(1, 10) | |
| 667 | }) | |
| 668 | RunSmokeee.Size = NumberSequence.new({
| |
| 669 | NumberSequenceKeypoint.new(0, 0.01), | |
| 670 | NumberSequenceKeypoint.new(1, 10) | |
| 671 | }) | |
| 672 | RunSmokee.Size = NumberSequence.new({
| |
| 673 | NumberSequenceKeypoint.new(0, 0.01), | |
| 674 | NumberSequenceKeypoint.new(1, 10) | |
| 675 | }) | |
| 676 | RunSmokeee.Size = NumberSequence.new({
| |
| 677 | NumberSequenceKeypoint.new(0, 0.01), | |
| 678 | NumberSequenceKeypoint.new(1, 10) | |
| 679 | }) | |
| 680 | RunSmokee.Lifetime = NumberRange.new(2, 2) | |
| 681 | RunSmokeee.Lifetime = NumberRange.new(2, 2) | |
| 682 | RunSmokee.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 683 | RunSmokeee.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) | |
| 684 | RunSmokee.LockedToPart = false | |
| 685 | RunSmokeee.LockedToPart = false | |
| 686 | RunSmokee.Parent = RunSmoke1 | |
| 687 | RunSmokeee.Parent = RunSmoke2 | |
| 688 | RunSmokee.Speed = NumberRange.new(0, 0) | |
| 689 | RunSmokeee.Speed = NumberRange.new(0, 0) | |
| 690 | end | |
| 691 | end) | |
| 692 | mouse.KeyUp:connect(function(key) | |
| 693 | if key == string.char(50) and sprinting == true then | |
| 694 | sprinting = false | |
| 695 | Humanoid.WalkSpeed = 20 | |
| 696 | RunSmokee.Rate = 0 | |
| 697 | RunSmokeee.Rate = 0 | |
| 698 | end | |
| 699 | end) | |
| 700 | mouse.KeyDown:connect(function(key) | |
| 701 | if key == "x" and superspeed == false then | |
| 702 | superspeed = true | |
| 703 | RunSmokee.Rate = math.huge | |
| 704 | RunSmokeee.Rate = math.huge | |
| 705 | RunSmokee.Size = NumberSequence.new({
| |
| 706 | NumberSequenceKeypoint.new(0, 1), | |
| 707 | NumberSequenceKeypoint.new(1, 0.5) | |
| 708 | }) | |
| 709 | RunSmokeee.Size = NumberSequence.new({
| |
| 710 | NumberSequenceKeypoint.new(0, 1), | |
| 711 | NumberSequenceKeypoint.new(1, 0.5) | |
| 712 | }) | |
| 713 | RunSmokee.Lifetime = NumberRange.new(0.5, 0.5) | |
| 714 | RunSmokeee.Lifetime = NumberRange.new(0.5, 0.5) | |
| 715 | RunSmokee.Color = ColorSequence.new(Color3.new(1, 1, 0), Color3.new(1, 0, 0)) | |
| 716 | RunSmokeee.Color = ColorSequence.new(Color3.new(1, 1, 0), Color3.new(1, 0, 0)) | |
| 717 | RunSmokee.LockedToPart = true | |
| 718 | RunSmokeee.LockedToPart = true | |
| 719 | RunSmokee.Parent = FlyFire | |
| 720 | RunSmokeee.Parent = FlyFire2 | |
| 721 | RunSmokee.Speed = NumberRange.new(5, 5) | |
| 722 | RunSmokeee.Speed = NumberRange.new(5, 5) | |
| 723 | JetFire.Rate = math.huge | |
| 724 | JetFire.Speed = NumberRange.new(5, 5) | |
| 725 | JetFire.Color = ColorSequence.new(Color3.new(1, 1, 0), Color3.new(1, 0, 0)) | |
| 726 | end | |
| 727 | end) | |
| 728 | mouse.KeyUp:connect(function(key) | |
| 729 | if key == "x" and superspeed == true then | |
| 730 | superspeed = false | |
| 731 | RunSmokee.Rate = 0 | |
| 732 | RunSmokeee.Rate = 0 | |
| 733 | JetFire.Rate = 40 | |
| 734 | JetFire.Speed = NumberRange.new(2, 2) | |
| 735 | end | |
| 736 | end) | |
| 737 | mouse.KeyDown:connect(function(key) | |
| 738 | if key == "c" and superspeed2 == false then | |
| 739 | superspeed2 = true | |
| 740 | RunSmokee.Rate = math.huge | |
| 741 | RunSmokeee.Rate = math.huge | |
| 742 | RunSmokee.Size = NumberSequence.new({
| |
| 743 | NumberSequenceKeypoint.new(0, 1), | |
| 744 | NumberSequenceKeypoint.new(1, 0.5) | |
| 745 | }) | |
| 746 | RunSmokeee.Size = NumberSequence.new({
| |
| 747 | NumberSequenceKeypoint.new(0, 1), | |
| 748 | NumberSequenceKeypoint.new(1, 0.5) | |
| 749 | }) | |
| 750 | RunSmokee.Lifetime = NumberRange.new(0.5, 0.5) | |
| 751 | RunSmokeee.Lifetime = NumberRange.new(0.5, 0.5) | |
| 752 | RunSmokee.Color = ColorSequence.new(Color3.new(0, 0, 1), Color3.new(0, 1, 1)) | |
| 753 | RunSmokeee.Color = ColorSequence.new(Color3.new(0, 0, 1), Color3.new(0, 1, 1)) | |
| 754 | RunSmokee.LockedToPart = true | |
| 755 | RunSmokeee.LockedToPart = true | |
| 756 | RunSmokee.Parent = FlyFire | |
| 757 | RunSmokeee.Parent = FlyFire2 | |
| 758 | RunSmokee.Speed = NumberRange.new(5, 5) | |
| 759 | RunSmokeee.Speed = NumberRange.new(5, 5) | |
| 760 | JetFire.Rate = math.huge | |
| 761 | JetFire.Speed = NumberRange.new(7, 7) | |
| 762 | JetFire.Color = ColorSequence.new(Color3.new(0, 0, 1), Color3.new(0, 1, 1)) | |
| 763 | end | |
| 764 | end) | |
| 765 | mouse.KeyUp:connect(function(key) | |
| 766 | if key == "c" and superspeed2 == true then | |
| 767 | superspeed2 = false | |
| 768 | Humanoid.WalkSpeed = 20 | |
| 769 | RunSmokee.Rate = 0 | |
| 770 | RunSmokeee.Rate = 0 | |
| 771 | JetFire.Rate = 40 | |
| 772 | JetFire.Speed = NumberRange.new(2, 2) | |
| 773 | end | |
| 774 | end) | |
| 775 | mouse.KeyDown:connect(function(key) | |
| 776 | if key == "e" and animpose == "Idle" then | |
| 777 | SmokeDamage() | |
| 778 | smoke() | |
| 779 | end | |
| 780 | end) |