SHOW:
|
|
- or go back to the newest paste.
| 1 | local IDs = {133830212,235845120}
| |
| 2 | local p=game:service("Players").LocalPlayer
| |
| 3 | Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
| |
| 4 | local Player = game:service'Players'.localPlayer | |
| 5 | Character = Player.Character | |
| 6 | Head = Character["Head"] | |
| 7 | local char=p.Character | |
| 8 | Humanoid = Character.Humanoid | |
| 9 | local hum=char.Humanoid | |
| 10 | local chara = Player.Character | |
| 11 | hum.MaxHealth= math.huge | |
| 12 | hum.Health=hum.MaxHealth | |
| 13 | function swait(num) | |
| 14 | if num==0 or num==nil then | |
| 15 | game:service'RunService'.Stepped:wait(0) | |
| 16 | else | |
| 17 | for i=0,num do | |
| 18 | game:service'RunService'.Stepped:wait(0) | |
| 19 | end | |
| 20 | end | |
| 21 | end | |
| 22 | do | |
| 23 | local filteredMessages = { ['____'] = '___' };
| |
| 24 | local onPropertyChanged = function (obj) | |
| 25 | if (obj:isDescendantOf (workspace)) then | |
| 26 | local objText = obj.Text; | |
| 27 | ||
| 28 | if (objText ~= '___' and objText:find '(%S)') then | |
| 29 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
| 30 | obj.Text = filteredMessages [objText]; | |
| 31 | elseif (not filteredMessages [objText]) then | |
| 32 | obj.Text = '___'; | |
| 33 | ||
| 34 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
| 35 | ||
| 36 | filteredMessages [objText] = filtered; | |
| 37 | filteredMessages [filtered] = filtered; | |
| 38 | ||
| 39 | obj.Text = filtered; | |
| 40 | end; | |
| 41 | end; | |
| 42 | end; | |
| 43 | end; | |
| 44 | ||
| 45 | local newInstance = Instance.new; | |
| 46 | Instance = {
| |
| 47 | new = function (class, parent) | |
| 48 | local obj = newInstance (class, parent); | |
| 49 | ||
| 50 | if (pcall (function()return obj.Text;end)) then | |
| 51 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
| |
| 52 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
| |
| 53 | end; | |
| 54 | ||
| 55 | return obj; | |
| 56 | end; | |
| 57 | }; | |
| 58 | end; | |
| 59 | plr = game.Players.LocalPlayer | |
| 60 | mouse = plr:GetMouse() | |
| 61 | part = nil | |
| 62 | bp = nil | |
| 63 | particles = nil | |
| 64 | base = Instance.new("ScreenGui",plr.PlayerGui)
| |
| 65 | bbg = Instance.new("BillboardGui",plr.Character.Head)
| |
| 66 | bbg.Size = UDim2.new(0,200,0,50) | |
| 67 | bbg.StudsOffset = Vector3.new(0,1.5,3) | |
| 68 | - | bbg.StudsOffset = Vector3.new(0,3,0) |
| 68 | + | |
| 69 | bbgTl.BackgroundTransparency = 1 | |
| 70 | bbgTl.Size = UDim2.new(10,0,1,0) | |
| 71 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
| 72 | bbgTl.Font = "Cartoon" | |
| 73 | - | bbgTl.Font = "Fantasy" |
| 73 | + | |
| 74 | bbgTl.TextSize = 42 | |
| 75 | - | bbgTl.TextSize = 25 |
| 75 | + | |
| 76 | bbgTl.TextStrokeTransparency = 0 | |
| 77 | bbgTl.TextWrapped = true | |
| 78 | plr.Chatted:connect(function(msg) | |
| 79 | bbgTl.Text = msg | |
| 80 | wait(5) | |
| 81 | if bbgTl.Text == msg then | |
| 82 | bbgTl.Text = " " | |
| 83 | while true do | |
| 84 | 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()) | |
| 85 | wait(.1) | |
| 86 | end | |
| 87 | end | |
| 88 | end) | |
| 89 | function thread(f) | |
| 90 | coroutine.resume(coroutine.create(f)) | |
| 91 | end | |
| 92 | function clerp(a, b, t) | |
| 93 | local qa = {
| |
| 94 | QuaternionFromCFrame(a) | |
| 95 | } | |
| 96 | local qb = {
| |
| 97 | QuaternionFromCFrame(b) | |
| 98 | } | |
| 99 | local ax, ay, az = a.x, a.y, a.z | |
| 100 | local bx, by, bz = b.x, b.y, b.z | |
| 101 | local _t = 1 - t | |
| 102 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 103 | end | |
| 104 | function QuaternionFromCFrame(cf) | |
| 105 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 106 | local trace = m00 + m11 + m22 | |
| 107 | if trace > 0 then | |
| 108 | local s = math.sqrt(1 + trace) | |
| 109 | local recip = 0.5 / s | |
| 110 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 111 | else | |
| 112 | local i = 0 | |
| 113 | if m00 < m11 then | |
| 114 | i = 1 | |
| 115 | end | |
| 116 | if m22 > (i == 0 and m00 or m11) then | |
| 117 | i = 2 | |
| 118 | end | |
| 119 | if i == 0 then | |
| 120 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 121 | local recip = 0.5 / s | |
| 122 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 123 | elseif i == 1 then | |
| 124 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 125 | local recip = 0.5 / s | |
| 126 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 127 | elseif i == 2 then | |
| 128 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 129 | local recip = 0.5 / s | |
| 130 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 131 | end | |
| 132 | end | |
| 133 | end | |
| 134 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 135 | local xs, ys, zs = x + x, y + y, z + z | |
| 136 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 137 | local xx = x * xs | |
| 138 | local xy = x * ys | |
| 139 | local xz = x * zs | |
| 140 | local yy = y * ys | |
| 141 | local yz = y * zs | |
| 142 | local zz = z * zs | |
| 143 | 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)) | |
| 144 | end | |
| 145 | function QuaternionSlerp(a, b, t) | |
| 146 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 147 | local startInterp, finishInterp | |
| 148 | if cosTheta >= 1.0E-4 then | |
| 149 | if 1 - cosTheta > 1.0E-4 then | |
| 150 | local theta = math.acos(cosTheta) | |
| 151 | local invSinTheta = 1 / math.sin(theta) | |
| 152 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 153 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 154 | else | |
| 155 | startInterp = 1 - t | |
| 156 | finishInterp = t | |
| 157 | end | |
| 158 | elseif 1 + cosTheta > 1.0E-4 then | |
| 159 | local theta = math.acos(-cosTheta) | |
| 160 | local invSinTheta = 1 / math.sin(theta) | |
| 161 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 162 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 163 | else | |
| 164 | startInterp = t - 1 | |
| 165 | finishInterp = t | |
| 166 | end | |
| 167 | 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 | |
| 168 | end | |
| 169 | function rayCast(Position, Direction, Range, Ignore) | |
| 170 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 171 | end | |
| 172 | ||
| 173 | - | --Wait what okay |
| 173 | + | |
| 174 | local plr = game:service'Players'.LocalPlayer | |
| 175 | local char = plr.Character | |
| 176 | local hum = char.Humanoid | |
| 177 | local ra = char["Right Arm"] | |
| 178 | local la= char["Left Arm"] | |
| 179 | local rl= char["Right Leg"] | |
| 180 | local ll = char["Left Leg"] | |
| 181 | local hed = char.Head | |
| 182 | local root = char.HumanoidRootPart | |
| 183 | local rootj = root.RootJoint | |
| 184 | local tors = char.Torso | |
| 185 | local mouse = plr:GetMouse() | |
| 186 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 187 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 188 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 189 | local maincolor = BrickColor.new("Magenta")
| |
| 190 | cf = CFrame.new | |
| 191 | angles = CFrame.Angles | |
| 192 | attack = false | |
| 193 | euler=CFrame.fromEulerAnglesXYZ | |
| 194 | equipped = false | |
| 195 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 196 | RSH, LSH = nil, nil | |
| 197 | RW = Instance.new("Weld")
| |
| 198 | LW = Instance.new("Weld")
| |
| 199 | RH = tors["Right Hip"] | |
| 200 | LH = tors["Left Hip"] | |
| 201 | RSH = tors["Right Shoulder"] | |
| 202 | LSH = tors["Left Shoulder"] | |
| 203 | RSH.Parent = nil | |
| 204 | LSH.Parent = nil | |
| 205 | RW.Name = "RW" | |
| 206 | RW.Part0 = tors | |
| 207 | RW.C0 = CFrame.new(1.5, 0.5, 0) | |
| 208 | RW.C1 = CFrame.new(0, 0.5, 0) | |
| 209 | RW.Part1 = ra | |
| 210 | RW.Parent = tors | |
| 211 | LW.Name = "LW" | |
| 212 | LW.Part0 = tors | |
| 213 | LW.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 214 | LW.C1 = CFrame.new(0, 0.5, 0) | |
| 215 | LW.Part1 = la | |
| 216 | LW.Parent = tors | |
| 217 | print('User is '..plr.Name)
| |
| 218 | Effects = {}
| |
| 219 | ||
| 220 | ||
| 221 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 222 | ArtificialHB.Name = "Heartbeat" | |
| 223 | ||
| 224 | script:WaitForChild("Heartbeat")
| |
| 225 | ||
| 226 | frame = 1 / 60 | |
| 227 | tf = 0 | |
| 228 | allowframeloss = false | |
| 229 | tossremainder = false | |
| 230 | lastframe = tick() | |
| 231 | script.Heartbeat:Fire() | |
| 232 | ||
| 233 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 234 | tf = tf + s | |
| 235 | if tf >= frame then | |
| 236 | if allowframeloss then | |
| 237 | script.Heartbeat:Fire() | |
| 238 | lastframe = tick() | |
| 239 | else | |
| 240 | for i = 1, math.floor(tf / frame) do | |
| 241 | script.Heartbeat:Fire() | |
| 242 | end | |
| 243 | lastframe = tick() | |
| 244 | end | |
| 245 | if tossremainder then | |
| 246 | tf = 0 | |
| 247 | else | |
| 248 | tf = tf - frame * math.floor(tf / frame) | |
| 249 | end | |
| 250 | end | |
| 251 | end) | |
| 252 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 253 | local Create = RbxUtility.Create | |
| 254 | ||
| 255 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 256 | if hit.Parent == nil then | |
| 257 | return | |
| 258 | end | |
| 259 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 260 | for _, v in pairs(hit.Parent:children()) do | |
| 261 | if v:IsA("Humanoid") then
| |
| 262 | h = v | |
| 263 | end | |
| 264 | end | |
| 265 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 266 | warn'No R15 allowed' | |
| 267 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 268 | end | |
| 269 | ||
| 270 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 271 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 272 | if hit.Parent.DebounceHit.Value == true then | |
| 273 | return | |
| 274 | end | |
| 275 | end | |
| 276 | if insta == true then | |
| 277 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 278 | end | |
| 279 | local c = Create("ObjectValue"){
| |
| 280 | Name = "creator", | |
| 281 | Value = game:service("Players").LocalPlayer,
| |
| 282 | Parent = h, | |
| 283 | } | |
| 284 | game:GetService("Debris"):AddItem(c, .5)
| |
| 285 | if HitSound ~= nil and HitPitch ~= nil then | |
| 286 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 287 | end | |
| 288 | local Damage = math.random(minim, maxim) | |
| 289 | local blocked = false | |
| 290 | local block = hit.Parent:findFirstChild("Block")
| |
| 291 | if block ~= nil then | |
| 292 | if block.className == "IntValue" then | |
| 293 | if block.Value > 0 then | |
| 294 | blocked = true | |
| 295 | block.Value = block.Value - 1 | |
| 296 | print(block.Value) | |
| 297 | end | |
| 298 | end | |
| 299 | end | |
| 300 | if blocked == false then | |
| 301 | h.Health = h.Health - Damage | |
| 302 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 303 | else | |
| 304 | h.Health = h.Health - (Damage / 2) | |
| 305 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 306 | end | |
| 307 | if Type == "Knockdown" then | |
| 308 | local hum = hit.Parent.Humanoid | |
| 309 | hum.PlatformStand = true | |
| 310 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 311 | swait(1) | |
| 312 | HHumanoid.PlatformStand = false | |
| 313 | end), hum) | |
| 314 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 315 | local bodvol = Create("BodyVelocity"){
| |
| 316 | velocity = angle * knockback, | |
| 317 | P = 5000, | |
| 318 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 319 | Parent = hit, | |
| 320 | } | |
| 321 | local rl = Create("BodyAngularVelocity"){
| |
| 322 | P = 3000, | |
| 323 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 324 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 325 | Parent = hit, | |
| 326 | } | |
| 327 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 328 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 329 | elseif Type == "Normal" then | |
| 330 | local vp = Create("BodyVelocity"){
| |
| 331 | P = 500, | |
| 332 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 333 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 334 | } | |
| 335 | if knockback > 0 then | |
| 336 | vp.Parent = hit.Parent.Torso | |
| 337 | end | |
| 338 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 339 | elseif Type == "Up" then | |
| 340 | local bodyVelocity = Create("BodyVelocity"){
| |
| 341 | velocity = Vector3.new(0, 20, 0), | |
| 342 | P = 5000, | |
| 343 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 344 | Parent = hit, | |
| 345 | } | |
| 346 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 347 | elseif Type == "DarkUp" then | |
| 348 | coroutine.resume(coroutine.create(function() | |
| 349 | for i = 0, 1, 0.1 do | |
| 350 | swait() | |
| 351 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 352 | end | |
| 353 | end)) | |
| 354 | local bodyVelocity = Create("BodyVelocity"){
| |
| 355 | velocity = Vector3.new(0, 20, 0), | |
| 356 | P = 5000, | |
| 357 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 358 | Parent = hit, | |
| 359 | } | |
| 360 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 361 | elseif Type == "Snare" then | |
| 362 | local bp = Create("BodyPosition"){
| |
| 363 | P = 2000, | |
| 364 | D = 100, | |
| 365 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 366 | position = hit.Parent.Torso.Position, | |
| 367 | Parent = hit.Parent.Torso, | |
| 368 | } | |
| 369 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 370 | elseif Type == "Freeze" then | |
| 371 | local BodPos = Create("BodyPosition"){
| |
| 372 | P = 50000, | |
| 373 | D = 1000, | |
| 374 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 375 | position = hit.Parent.Torso.Position, | |
| 376 | Parent = hit.Parent.Torso, | |
| 377 | } | |
| 378 | local BodGy = Create("BodyGyro") {
| |
| 379 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 380 | P = 20e+003, | |
| 381 | Parent = hit.Parent.Torso, | |
| 382 | cframe = hit.Parent.Torso.CFrame, | |
| 383 | } | |
| 384 | hit.Parent.Torso.Anchored = true | |
| 385 | coroutine.resume(coroutine.create(function(Part) | |
| 386 | swait(1.5) | |
| 387 | Part.Anchored = false | |
| 388 | end), hit.Parent.Torso) | |
| 389 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 390 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 391 | end | |
| 392 | local debounce = Create("BoolValue"){
| |
| 393 | Name = "DebounceHit", | |
| 394 | Parent = hit.Parent, | |
| 395 | Value = true, | |
| 396 | } | |
| 397 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 398 | c = Create("ObjectValue"){
| |
| 399 | Name = "creator", | |
| 400 | Value = Player, | |
| 401 | Parent = h, | |
| 402 | } | |
| 403 | game:GetService("Debris"):AddItem(c, .5)
| |
| 404 | end | |
| 405 | end | |
| 406 | ||
| 407 | function ShowDamage(Pos, Text, Time, Color) | |
| 408 | local Rate = (1 / 30) | |
| 409 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 410 | local Text = (Text or "") | |
| 411 | local Time = (Time or 2) | |
| 412 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 413 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 414 | EffectPart.Anchored = true | |
| 415 | local BillboardGui = Create("BillboardGui"){
| |
| 416 | Size = UDim2.new(3, 0, 3, 0), | |
| 417 | Adornee = EffectPart, | |
| 418 | Parent = EffectPart, | |
| 419 | } | |
| 420 | local TextLabel = Create("TextLabel"){
| |
| 421 | BackgroundTransparency = 1, | |
| 422 | Size = UDim2.new(1, 0, 1, 0), | |
| 423 | Text = Text, | |
| 424 | Font = "Highway", | |
| 425 | TextColor3 = Color, | |
| 426 | TextScaled = true, | |
| 427 | Parent = BillboardGui, | |
| 428 | } | |
| 429 | game.Debris:AddItem(EffectPart, (Time)) | |
| 430 | EffectPart.Parent = game:GetService("Workspace")
| |
| 431 | delay(0, function() | |
| 432 | local Frames = (Time / Rate) | |
| 433 | for Frame = 1, Frames do | |
| 434 | wait(Rate) | |
| 435 | local Percent = (Frame / Frames) | |
| 436 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 437 | TextLabel.TextTransparency = Percent | |
| 438 | end | |
| 439 | if EffectPart and EffectPart.Parent then | |
| 440 | EffectPart:Destroy() | |
| 441 | end | |
| 442 | end) | |
| 443 | end | |
| 444 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 445 | for _, c in pairs(workspace:children()) do | |
| 446 | local hum = c:findFirstChild("Humanoid")
| |
| 447 | if hum ~= nil then | |
| 448 | local head = c:findFirstChild("Torso") or c:findFirstChild("UpperTorso") or c:FindFirstChild('LowerTorso')
| |
| 449 | if head ~= nil then | |
| 450 | local targ = head.Position - Part.Position | |
| 451 | local mag = targ.magnitude | |
| 452 | if mag <= Magnitude and c.Name ~= plr.Name then | |
| 453 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, root, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 454 | end | |
| 455 | end | |
| 456 | end | |
| 457 | end | |
| 458 | end | |
| 459 | CFuncs = {
| |
| 460 | Part = {
| |
| 461 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 462 | local Part = Create("Part")({
| |
| 463 | Parent = Parent, | |
| 464 | Reflectance = Reflectance, | |
| 465 | Transparency = Transparency, | |
| 466 | CanCollide = false, | |
| 467 | Locked = true, | |
| 468 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 469 | Name = Name, | |
| 470 | Size = Size, | |
| 471 | Material = Material | |
| 472 | }) | |
| 473 | RemoveOutlines(Part) | |
| 474 | return Part | |
| 475 | end | |
| 476 | }, | |
| 477 | Mesh = {
| |
| 478 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 479 | local Msh = Create(Mesh)({
| |
| 480 | Parent = Part, | |
| 481 | Offset = OffSet, | |
| 482 | Scale = Scale | |
| 483 | }) | |
| 484 | if Mesh == "SpecialMesh" then | |
| 485 | Msh.MeshType = MeshType | |
| 486 | Msh.MeshId = MeshId | |
| 487 | end | |
| 488 | return Msh | |
| 489 | end | |
| 490 | }, | |
| 491 | Mesh = {
| |
| 492 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 493 | local Msh = Create(Mesh)({
| |
| 494 | Parent = Part, | |
| 495 | Offset = OffSet, | |
| 496 | Scale = Scale | |
| 497 | }) | |
| 498 | if Mesh == "SpecialMesh" then | |
| 499 | Msh.MeshType = MeshType | |
| 500 | Msh.MeshId = MeshId | |
| 501 | end | |
| 502 | return Msh | |
| 503 | end | |
| 504 | }, | |
| 505 | Weld = {
| |
| 506 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 507 | local Weld = Create("Weld")({
| |
| 508 | Parent = Parent, | |
| 509 | Part0 = Part0, | |
| 510 | Part1 = Part1, | |
| 511 | C0 = C0, | |
| 512 | C1 = C1 | |
| 513 | }) | |
| 514 | return Weld | |
| 515 | end | |
| 516 | }, | |
| 517 | Sound = {
| |
| 518 | Create = function(id, par, vol, pit) | |
| 519 | coroutine.resume(coroutine.create(function() | |
| 520 | local S = Create("Sound")({
| |
| 521 | Volume = vol, | |
| 522 | Pitch = pit or 1, | |
| 523 | SoundId = id, | |
| 524 | Parent = par or workspace | |
| 525 | }) | |
| 526 | wait() | |
| 527 | S:play() | |
| 528 | game:GetService("Debris"):AddItem(S, 6)
| |
| 529 | end)) | |
| 530 | end | |
| 531 | }, | |
| 532 | ParticleEmitter = {
| |
| 533 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 534 | local fp = Create("ParticleEmitter")({
| |
| 535 | Parent = Parent, | |
| 536 | Color = ColorSequence.new(Color1, Color2), | |
| 537 | LightEmission = LightEmission, | |
| 538 | Size = Size, | |
| 539 | Texture = Texture, | |
| 540 | Transparency = Transparency, | |
| 541 | ZOffset = ZOffset, | |
| 542 | Acceleration = Accel, | |
| 543 | Drag = Drag, | |
| 544 | LockedToPart = LockedToPart, | |
| 545 | VelocityInheritance = VelocityInheritance, | |
| 546 | EmissionDirection = EmissionDirection, | |
| 547 | Enabled = Enabled, | |
| 548 | Lifetime = LifeTime, | |
| 549 | Rate = Rate, | |
| 550 | Rotation = Rotation, | |
| 551 | RotSpeed = RotSpeed, | |
| 552 | Speed = Speed, | |
| 553 | VelocitySpread = VelocitySpread | |
| 554 | }) | |
| 555 | return fp | |
| 556 | end | |
| 557 | } | |
| 558 | } | |
| 559 | function RemoveOutlines(part) | |
| 560 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 561 | end | |
| 562 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 563 | local Part = Create("Part")({
| |
| 564 | formFactor = FormFactor, | |
| 565 | Parent = Parent, | |
| 566 | Reflectance = Reflectance, | |
| 567 | Transparency = Transparency, | |
| 568 | CanCollide = false, | |
| 569 | Locked = true, | |
| 570 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 571 | Name = Name, | |
| 572 | Size = Size, | |
| 573 | Material = Material | |
| 574 | }) | |
| 575 | RemoveOutlines(Part) | |
| 576 | return Part | |
| 577 | end | |
| 578 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 579 | local Msh = Create(Mesh)({
| |
| 580 | Parent = Part, | |
| 581 | Offset = OffSet, | |
| 582 | Scale = Scale | |
| 583 | }) | |
| 584 | if Mesh == "SpecialMesh" then | |
| 585 | Msh.MeshType = MeshType | |
| 586 | Msh.MeshId = MeshId | |
| 587 | end | |
| 588 | return Msh | |
| 589 | end | |
| 590 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 591 | local Weld = Create("Weld")({
| |
| 592 | Parent = Parent, | |
| 593 | Part0 = Part0, | |
| 594 | Part1 = Part1, | |
| 595 | C0 = C0, | |
| 596 | C1 = C1 | |
| 597 | }) | |
| 598 | return Weld | |
| 599 | end | |
| 600 | EffectModel = Instance.new("Model", char)
| |
| 601 | Effects = {
| |
| 602 | Block = {
| |
| 603 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 604 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 605 | prt.Anchored = true | |
| 606 | prt.CFrame = cframe | |
| 607 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 608 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 609 | if Type == 1 or Type == nil then | |
| 610 | table.insert(Effects, {
| |
| 611 | prt, | |
| 612 | "Block1", | |
| 613 | delay, | |
| 614 | x3, | |
| 615 | y3, | |
| 616 | z3, | |
| 617 | msh | |
| 618 | }) | |
| 619 | elseif Type == 2 then | |
| 620 | table.insert(Effects, {
| |
| 621 | prt, | |
| 622 | "Block2", | |
| 623 | delay, | |
| 624 | x3, | |
| 625 | y3, | |
| 626 | z3, | |
| 627 | msh | |
| 628 | }) | |
| 629 | else | |
| 630 | table.insert(Effects, {
| |
| 631 | prt, | |
| 632 | "Block3", | |
| 633 | delay, | |
| 634 | x3, | |
| 635 | y3, | |
| 636 | z3, | |
| 637 | msh | |
| 638 | }) | |
| 639 | end | |
| 640 | end | |
| 641 | }, | |
| 642 | Sphere = {
| |
| 643 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 644 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 645 | prt.Anchored = true | |
| 646 | prt.CFrame = cframe | |
| 647 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 648 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 649 | table.insert(Effects, {
| |
| 650 | prt, | |
| 651 | "Cylinder", | |
| 652 | delay, | |
| 653 | x3, | |
| 654 | y3, | |
| 655 | z3, | |
| 656 | msh | |
| 657 | }) | |
| 658 | end | |
| 659 | }, | |
| 660 | Cylinder = {
| |
| 661 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 662 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 663 | prt.Anchored = true | |
| 664 | prt.CFrame = cframe | |
| 665 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 666 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 667 | table.insert(Effects, {
| |
| 668 | prt, | |
| 669 | "Cylinder", | |
| 670 | delay, | |
| 671 | x3, | |
| 672 | y3, | |
| 673 | z3, | |
| 674 | msh | |
| 675 | }) | |
| 676 | end | |
| 677 | }, | |
| 678 | Wave = {
| |
| 679 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 680 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 681 | prt.Anchored = true | |
| 682 | prt.CFrame = cframe | |
| 683 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 684 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 685 | table.insert(Effects, {
| |
| 686 | prt, | |
| 687 | "Cylinder", | |
| 688 | delay, | |
| 689 | x3 / 60, | |
| 690 | y3 / 60, | |
| 691 | z3 / 60, | |
| 692 | msh | |
| 693 | }) | |
| 694 | end | |
| 695 | }, | |
| 696 | Ring = {
| |
| 697 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 698 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 699 | prt.Anchored = true | |
| 700 | prt.CFrame = cframe | |
| 701 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 702 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 703 | table.insert(Effects, {
| |
| 704 | prt, | |
| 705 | "Cylinder", | |
| 706 | delay, | |
| 707 | x3, | |
| 708 | y3, | |
| 709 | z3, | |
| 710 | msh | |
| 711 | }) | |
| 712 | end | |
| 713 | }, | |
| 714 | Break = {
| |
| 715 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 716 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 717 | prt.Anchored = true | |
| 718 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 719 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 720 | local num = math.random(10, 50) / 1000 | |
| 721 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 722 | table.insert(Effects, {
| |
| 723 | prt, | |
| 724 | "Shatter", | |
| 725 | num, | |
| 726 | prt.CFrame, | |
| 727 | math.random() - math.random(), | |
| 728 | 0, | |
| 729 | math.random(50, 100) / 100 | |
| 730 | }) | |
| 731 | end | |
| 732 | } | |
| 733 | } | |
| 734 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 735 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 736 | prt.Anchored = true | |
| 737 | prt.CFrame = cframe | |
| 738 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 739 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 740 | if Type == 1 or Type == nil then | |
| 741 | table.insert(Effects, {
| |
| 742 | prt, | |
| 743 | "Block1", | |
| 744 | delay, | |
| 745 | x3, | |
| 746 | y3, | |
| 747 | z3, | |
| 748 | msh | |
| 749 | }) | |
| 750 | elseif Type == 2 then | |
| 751 | table.insert(Effects, {
| |
| 752 | prt, | |
| 753 | "Block2", | |
| 754 | delay, | |
| 755 | x3, | |
| 756 | y3, | |
| 757 | z3, | |
| 758 | msh | |
| 759 | }) | |
| 760 | elseif Type == 3 then | |
| 761 | table.insert(Effects, {
| |
| 762 | prt, | |
| 763 | "Block3", | |
| 764 | delay, | |
| 765 | x3, | |
| 766 | y3, | |
| 767 | z3, | |
| 768 | msh | |
| 769 | }) | |
| 770 | end | |
| 771 | end | |
| 772 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 773 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 774 | prt.Anchored = true | |
| 775 | prt.CFrame = cframe | |
| 776 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 777 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 778 | table.insert(Effects, {
| |
| 779 | prt, | |
| 780 | "Cylinder", | |
| 781 | delay, | |
| 782 | x3, | |
| 783 | y3, | |
| 784 | z3, | |
| 785 | msh | |
| 786 | }) | |
| 787 | end | |
| 788 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 789 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 790 | prt.Anchored = true | |
| 791 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 792 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 793 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 794 | table.insert(Effects, {
| |
| 795 | prt, | |
| 796 | "Cylinder", | |
| 797 | delay, | |
| 798 | x3, | |
| 799 | y3, | |
| 800 | z3, | |
| 801 | msh | |
| 802 | }) | |
| 803 | end | |
| 804 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 805 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 806 | prt.Anchored = true | |
| 807 | prt.CFrame = cframe | |
| 808 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 809 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 810 | table.insert(Effects, {
| |
| 811 | prt, | |
| 812 | "Cylinder", | |
| 813 | delay, | |
| 814 | x3, | |
| 815 | y3, | |
| 816 | z3, | |
| 817 | msh | |
| 818 | }) | |
| 819 | end | |
| 820 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 821 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 822 | prt.Anchored = true | |
| 823 | prt.CFrame = cframe | |
| 824 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 825 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 826 | table.insert(Effects, {
| |
| 827 | prt, | |
| 828 | "Cylinder", | |
| 829 | delay, | |
| 830 | x3, | |
| 831 | y3, | |
| 832 | z3, | |
| 833 | msh | |
| 834 | }) | |
| 835 | end | |
| 836 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 837 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 838 | prt.Anchored = true | |
| 839 | prt.CFrame = cframe | |
| 840 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 841 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 842 | table.insert(Effects, {
| |
| 843 | prt, | |
| 844 | "Cylinder", | |
| 845 | delay, | |
| 846 | x3, | |
| 847 | y3, | |
| 848 | z3, | |
| 849 | msh | |
| 850 | }) | |
| 851 | end | |
| 852 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 853 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 854 | prt.Anchored = true | |
| 855 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 856 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 857 | local num = math.random(10, 50) / 1000 | |
| 858 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 859 | table.insert(Effects, {
| |
| 860 | prt, | |
| 861 | "Shatter", | |
| 862 | num, | |
| 863 | prt.CFrame, | |
| 864 | math.random() - math.random(), | |
| 865 | 0, | |
| 866 | math.random(50, 100) / 100 | |
| 867 | }) | |
| 868 | end | |
| 869 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 870 | local fp=Instance.new("Part")
| |
| 871 | fp.formFactor=formfactor | |
| 872 | fp.Parent=parent | |
| 873 | fp.Reflectance=reflectance | |
| 874 | fp.Transparency=transparency | |
| 875 | fp.CanCollide=false | |
| 876 | fp.Locked=true | |
| 877 | fp.BrickColor=brickcolor | |
| 878 | fp.Name=name | |
| 879 | fp.Size=size | |
| 880 | fp.Position=tors.Position | |
| 881 | RemoveOutlines(fp) | |
| 882 | fp.Material="SmoothPlastic" | |
| 883 | fp:BreakJoints() | |
| 884 | return fp | |
| 885 | end | |
| 886 | ||
| 887 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 888 | local mesh=Instance.new(Mesh) | |
| 889 | mesh.Parent=part | |
| 890 | if Mesh=="SpecialMesh" then | |
| 891 | mesh.MeshType=meshtype | |
| 892 | if meshid~="nil" then | |
| 893 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 894 | end | |
| 895 | end | |
| 896 | mesh.Offset=offset | |
| 897 | mesh.Scale=scale | |
| 898 | return mesh | |
| 899 | end | |
| 900 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 901 | local prt=part(3,char,0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5)) | |
| 902 | prt.Anchored=true | |
| 903 | prt.Material = "Neon" | |
| 904 | prt.CFrame=cframe | |
| 905 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 906 | msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
| |
| 907 | game:GetService("Debris"):AddItem(prt,5)
| |
| 908 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 909 | for i=0,1,delay do | |
| 910 | swait() | |
| 911 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 912 | Part.Transparency=i | |
| 913 | Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3) | |
| 914 | end | |
| 915 | Part.Parent=nil | |
| 916 | end),prt,msh) | |
| 917 | end | |
| 918 | function MagicShockTrailAlt2(origcolor2,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 919 | local prt=part(3,char,0,0,origcolor2,"Effect",Vector3.new(0.5,0.5,0.5)) | |
| 920 | prt.Anchored=true | |
| 921 | prt.Material = "Neon" | |
| 922 | prt.CFrame=cframe | |
| 923 | msh=mesh("BlockMesh",prt,"","",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
| |
| 924 | game:GetService("Debris"):AddItem(prt,5)
| |
| 925 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 926 | local rtype = rottype | |
| 927 | for i=0,1,delay do | |
| 928 | swait() | |
| 929 | if rtype == 1 then | |
| 930 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 931 | elseif rtype == 2 then | |
| 932 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 933 | end | |
| 934 | prt.Transparency=i | |
| 935 | Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3) | |
| 936 | end | |
| 937 | Part.Parent=nil | |
| 938 | end),prt,msh) | |
| 939 | end | |
| 940 | ||
| 941 | --[[ | |
| 942 | Thanks for using Build-To-Lua by jarredbcv. | |
| 943 | ]]-- | |
| 944 | ||
| 945 | ||
| 946 | New = function(Object, Parent, Name, Data) | |
| 947 | local Object = Instance.new(Object) | |
| 948 | for Index, Value in pairs(Data or {}) do
| |
| 949 | Object[Index] = Value | |
| 950 | end | |
| 951 | Object.Parent = Parent | |
| 952 | Object.Name = Name | |
| 953 | return Object | |
| 954 | end | |
| 955 | Shade = New("Part",chara,"Shade",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 956 | Mesh = New("SpecialMesh",Shade,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 957 | Weld = New("Weld",Shade,"mot",{Part0 = Shade,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 958 | ||
| 959 | RubiksCube = New("Model",char,"RubiksCube",{})
| |
| 960 | while true do | |
| 961 | if Head:FindFirstChild("face") then
| |
| 962 | Head.face.Texture = "http://www.roblox.com/asset/?id=1033091735" | |
| 963 | end | |
| 964 | local NewInstance = function(instance,parent,properties) | |
| 965 | local inst = Instance.new(instance,parent) | |
| 966 | if(properties)then | |
| 967 | for i,v in next, properties do | |
| 968 | pcall(function() inst[i] = v end) | |
| 969 | end | |
| 970 | end | |
| 971 | return inst; | |
| 972 | end | |
| 973 | local HW = NewInstance('Weld',char,{Part0=tors,Part1=Handle,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-65),0,math.rad(-90))})
| |
| 974 | ||
| 975 | function intro() | |
| 976 | attack = true | |
| 977 | for i = 0,2,0.1 do | |
| 978 | swait() | |
| 979 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(55)),.3) | |
| 980 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-65)),.3) | |
| 981 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(76)), 0.3) | |
| 982 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 983 | end | |
| 984 | end | |
| 985 | ||
| 986 | local mouse = game.Players.LocalPlayer:GetMouse() | |
| 987 | local running = false | |
| 988 | ||
| 989 | function getTool() | |
| 990 | for _, kid in ipairs(script.Parent:GetChildren()) do | |
| 991 | if kid.className == "Tool" then return kid end | |
| 992 | end | |
| 993 | return nil | |
| 994 | end | |
| 995 | ||
| 996 | ||
| 997 | mouse.KeyDown:connect(function (key) -- Run function | |
| 998 | key = string.lower(key) | |
| 999 | if string.byte(key) == 48 then | |
| 1000 | running = true | |
| 1001 | local keyConnection = mouse.KeyUp:connect(function (key) | |
| 1002 | if string.byte(key) == 48 then | |
| 1003 | running = false | |
| 1004 | end | |
| 1005 | end) | |
| 1006 | for i = 1,5 do | |
| 1007 | game.Workspace.CurrentCamera.FieldOfView = (70+(i*2)) | |
| 1008 | wait() | |
| 1009 | end | |
| 1010 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25 | |
| 1011 | repeat wait () until running == false | |
| 1012 | keyConnection:disconnect() | |
| 1013 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
| 1014 | for i = 1,5 do | |
| 1015 | game.Workspace.CurrentCamera.FieldOfView = (80-(i*2)) | |
| 1016 | wait() | |
| 1017 | end | |
| 1018 | end | |
| 1019 | end) | |
| 1020 | local idle=0 | |
| 1021 | local sine = 0 | |
| 1022 | local change = 1 | |
| 1023 | local val = 0 | |
| 1024 | toim = 0 | |
| 1025 | hum.Animator.Parent = nil | |
| 1026 | idleanim=.4 | |
| 1027 | while true do | |
| 1028 | swait() | |
| 1029 | sine = sine + change | |
| 1030 | local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude | |
| 1031 | local velderp=root.Velocity.y | |
| 1032 | hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char) | |
| 1033 | if equipped==true or equipped==false then | |
| 1034 | if attack==false then | |
| 1035 | idle=idle+1 | |
| 1036 | else | |
| 1037 | idle=0 | |
| 1038 | end | |
| 1039 | if root.Velocity.y > 1 and hitfloor==nil then | |
| 1040 | Anim="Jump" | |
| 1041 | if attack==false then | |
| 1042 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1043 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 1044 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
| 1045 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 1046 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1047 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1048 | end | |
| 1049 | elseif root.Velocity.y < -1 and hitfloor==nil then | |
| 1050 | Anim="Fall" | |
| 1051 | if attack==false then | |
| 1052 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
| 1053 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
| 1054 | rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1055 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3) | |
| 1056 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
| 1057 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 1058 | end | |
| 1059 | elseif torvel<1 and hitfloor~=nil then | |
| 1060 | Anim="Idle" | |
| 1061 | change = 2 | |
| 1062 | ||
| 1063 | if attack==false then | |
| 1064 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15) | |
| 1065 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3) | |
| 1066 | RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0)*angles(math.rad(-2.5),math.rad(90),math.rad(-0))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15) | |
| 1067 | LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0)*angles(math.rad(-2.5),math.rad(-90),math.rad(-0))*angles(math.rad(-7.5),math.rad(0),math.rad(0)),0.15) | |
| 1068 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(65 - 1), math.rad(-7), math.rad(-35)), 0.3) | |
| 1069 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(90 - 1), math.rad(-7), math.rad(55)), 0.1) | |
| 1070 | HW.C0=euler(0,2.57*math.cos(sine/60)/1,0)*cf(0,2.1+1.7,0)* angles(math.rad(55 - 1), math.rad(-7), math.rad(55), 0.1) | |
| 1071 | end | |
| 1072 | ||
| 1073 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 1074 | Anim="Walk" | |
| 1075 | change = 1 | |
| 1076 | if attack==false then | |
| 1077 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(5-2.5*math.cos(sine/3.5)),math.rad(0),math.rad(10*math.cos(sine/7))),0.15) | |
| 1078 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1079 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3) | |
| 1080 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.3) | |
| 1081 | RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/2)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1.5,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15) | |
| 1082 | LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/2)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1.5,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15) | |
| 1083 | HW.C0=euler(0,2.57*math.cos(sine/60)/1,0)*cf(0,2.1+1.7,0)* angles(math.rad(55 - 1), math.rad(-7), math.rad(55*math.cos(sine/60)), 0.1) | |
| 1084 | end | |
| 1085 | elseif torvel>=22 and hitfloor~=nil then | |
| 1086 | Anim="Run" | |
| 1087 | change = 2 | |
| 1088 | rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(25),math.rad(0),math.rad(10*math.cos(sine/7))),0.15) | |
| 1089 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1090 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(55), math.rad(-55), math.rad(90)), 0.3) | |
| 1091 | LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 60),-0.65)*angles(math.rad(40),math.rad(0),math.rad(90 + 2.5)),.3) | |
| 1092 | RH.C0=clerp(RH.C0,cf(1,-0.925-0.5*math.cos(sine/7)/2,0.5*math.cos(sine/7)/1)*angles(math.rad(-5-15*math.cos(sine/7))+ -math.sin(sine/7)/1,math.rad(90-10*math.cos(sine/7)),math.rad(0)),0.15) | |
| 1093 | LH.C0=clerp(LH.C0,cf(-1,-0.925+0.5*math.cos(sine/7)/2,-0.5*math.cos(sine/7)/1)*angles(math.rad(-5+15*math.cos(sine/7))+ math.sin(sine/7)/1,math.rad(-90-10*math.cos(sine/7)),math.rad(0)),0.15) | |
| 1094 | HW.C0=clerp(HW.C0,cf(0,-1,0)*angles(math.rad(-65),math.rad(0),math.rad(-90)),0.15) | |
| 1095 | ||
| 1096 | end | |
| 1097 | end | |
| 1098 | if 0 < #Effects then | |
| 1099 | for e = 1, #Effects do | |
| 1100 | if Effects[e] ~= nil then | |
| 1101 | local Thing = Effects[e] | |
| 1102 | if Thing ~= nil then | |
| 1103 | local Part = Thing[1] | |
| 1104 | local Mode = Thing[2] | |
| 1105 | local Delay = Thing[3] | |
| 1106 | local IncX = Thing[4] | |
| 1107 | local IncY = Thing[5] | |
| 1108 | local IncZ = Thing[6] | |
| 1109 | if 1 >= Thing[1].Transparency then | |
| 1110 | if Thing[2] == "Block1" then | |
| 1111 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1112 | local Mesh = Thing[1].Mesh | |
| 1113 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1114 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1115 | elseif Thing[2] == "Block2" then | |
| 1116 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 1117 | local Mesh = Thing[7] | |
| 1118 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1119 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1120 | elseif Thing[2] == "Block3" then | |
| 1121 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 1122 | local Mesh = Thing[7] | |
| 1123 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1124 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1125 | elseif Thing[2] == "Cylinder" then | |
| 1126 | local Mesh = Thing[1].Mesh | |
| 1127 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1128 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1129 | elseif Thing[2] == "Blood" then | |
| 1130 | local Mesh = Thing[7] | |
| 1131 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1132 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1133 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1134 | elseif Thing[2] == "Elec" then | |
| 1135 | local Mesh = Thing[1].Mesh | |
| 1136 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1137 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1138 | elseif Thing[2] == "Disappear" then | |
| 1139 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1140 | elseif Thing[2] == "Shatter" then | |
| 1141 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1142 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1143 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1144 | Thing[6] = Thing[6] + Thing[5] | |
| 1145 | end | |
| 1146 | ||
| 1147 | end | |
| 1148 | end | |
| 1149 | end | |
| 1150 | end | |
| 1151 | end | |
| 1152 | end | |
| 1153 | end | |
| 1154 | ||
| 1155 | - | end |
| 1155 | + | |
| 1156 | mouse = game.Players.LocalPlayer:GetMouse() | |
| 1157 | local mytorso = game.Players.LocalPlayer.Character.Torso | |
| 1158 | blindedbois = {}
| |
| 1159 | local blindedsound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 1160 | blindedsound.SoundId = "rbxassetid://841158385" | |
| 1161 | blindedsound.Volume = 10 | |
| 1162 | blindedsound.MaxDistance = 1 | |
| 1163 | local blindedsound1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 1164 | blindedsound1.SoundId = "rbxassetid://841158385" | |
| 1165 | blindedsound1.Volume = 10 | |
| 1166 | blindedsound1.MaxDistance = 1 | |
| 1167 | local blindedsound11 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 1168 | blindedsound11.SoundId = "rbxassetid://841158385" | |
| 1169 | blindedsound11.Volume = 10 | |
| 1170 | blindedsound11.MaxDistance = 1 | |
| 1171 | local blindedsound111 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 1172 | blindedsound111.SoundId = "rbxassetid://841158385" | |
| 1173 | blindedsound111.Volume = 10 | |
| 1174 | blindedsound111.MaxDistance = 1 | |
| 1175 | local blindedsound1111 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
| |
| 1176 | blindedsound1111.SoundId = "rbxassetid://841158385" | |
| 1177 | blindedsound1111.Volume = 10 | |
| 1178 | blindedsound1111.MaxDistance = 1 | |
| 1179 | canuse = true | |
| 1180 | -- Objects | |
| 1181 | ||
| 1182 | local ScreenGui = Instance.new("ScreenGui")
| |
| 1183 | local TextLabel = Instance.new("TextLabel")
| |
| 1184 | ||
| 1185 | -- Properties | |
| 1186 | ||
| 1187 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 1188 | ||
| 1189 | TextLabel.Parent = ScreenGui | |
| 1190 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 1191 | TextLabel.BackgroundTransparency = 1 | |
| 1192 | TextLabel.Position = UDim2.new(0.39229843, 0, 0.963455141, 0) | |
| 1193 | TextLabel.Size = UDim2.new(0, 200, 0, 22) | |
| 1194 | TextLabel.Font = Enum.Font.Cartoon | |
| 1195 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 1196 | TextLabel.Text = "Metee was dere" | |
| 1197 | TextLabel.TextColor3 = Color3.new(1, 0, 0) | |
| 1198 | TextLabel.TextScaled = true | |
| 1199 | TextLabel.TextSize = 14 | |
| 1200 | TextLabel.TextWrapped = true | |
| 1201 | function canusee(key) | |
| 1202 | key = key:lower() | |
| 1203 | if key == "z" then | |
| 1204 | canuse = true | |
| 1205 | end | |
| 1206 | if key == "x" then | |
| 1207 | canuse = false | |
| 1208 | end | |
| 1209 | end | |
| 1210 | function throw() | |
| 1211 | if canuse then | |
| 1212 | canuse = false | |
| 1213 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 1214 | local function sandbox(var,func) | |
| 1215 | local env = getfenv(func) | |
| 1216 | local newenv = setmetatable({},{
| |
| 1217 | __index = function(self,k) | |
| 1218 | if k=="script" then | |
| 1219 | return var | |
| 1220 | else | |
| 1221 | return env[k] | |
| 1222 | end | |
| 1223 | end, | |
| 1224 | }) | |
| 1225 | setfenv(func,newenv) | |
| 1226 | return func | |
| 1227 | end | |
| 1228 | local cors = {}
| |
| 1229 | local mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 1230 | local Part0 = Instance.new("Part")
| |
| 1231 | local SpecialMesh1 = Instance.new("SpecialMesh")
| |
| 1232 | local Sound2 = Instance.new("Sound")
| |
| 1233 | Part0.Name = "Handle" | |
| 1234 | Part0.Parent = mas | |
| 1235 | Part0.BrickColor = BrickColor.new("Earth green")
| |
| 1236 | Part0.Rotation = Vector3.new(0, 90, 0) | |
| 1237 | Part0.FormFactor = Enum.FormFactor.Symmetric | |
| 1238 | Part0.Size = Vector3.new(1, 2, 1) | |
| 1239 | Part0.CFrame = CFrame.new(2.5, 6.00001717, -26, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1240 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
| 1241 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
| 1242 | Part0.Color = Color3.new(0.152941, 0.27451, 0.176471) | |
| 1243 | Part0.Position = Vector3.new(2.5, 6.00001717, -26) | |
| 1244 | Part0.Orientation = Vector3.new(0, 90, 0) | |
| 1245 | Part0.Color = Color3.new(0.152941, 0.27451, 0.176471) | |
| 1246 | SpecialMesh1.Parent = Part0 | |
| 1247 | SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=16975131" | |
| 1248 | SpecialMesh1.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024) | |
| 1249 | SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=16975111" | |
| 1250 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
| 1251 | SpecialMesh1.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024) | |
| 1252 | Sound2.Parent = Part0 | |
| 1253 | Sound2.Pitch = 2 | |
| 1254 | Sound2.Volume = 10 | |
| 1255 | Sound2.SoundId = "rbxassetid://142070127" | |
| 1256 | for i,v in pairs(mas:GetChildren()) do | |
| 1257 | v.Parent = workspace | |
| 1258 | pcall(function() v:MakeJoints() end) | |
| 1259 | end | |
| 1260 | mas:Destroy() | |
| 1261 | for i,v in pairs(cors) do | |
| 1262 | spawn(function() | |
| 1263 | pcall(v) | |
| 1264 | end) | |
| 1265 | end | |
| 1266 | Part0.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame * CFrame.new(0,0,-0.5) | |
| 1267 | for i = 1,15 do | |
| 1268 | Part0.Velocity = mouse.Hit.lookVector * 66 | |
| 1269 | wait() | |
| 1270 | end | |
| 1271 | wait(2) | |
| 1272 | Sound2:Play() | |
| 1273 | local ow = Instance.new("Part", game.Players.LocalPlayer.Character)
| |
| 1274 | ow.CanCollide = false | |
| 1275 | ow.Anchored = true | |
| 1276 | ow.Shape = "Ball" | |
| 1277 | ow.Material = "Neon" | |
| 1278 | ow.Size = Vector3.new(1,1,1) | |
| 1279 | ow.CFrame = Part0.CFrame | |
| 1280 | for i = 1,7 do | |
| 1281 | ow.Size = ow.Size + Vector3.new(7,7,7) | |
| 1282 | ow.CFrame = Part0.CFrame | |
| 1283 | game:GetService("RunService").RenderStepped:wait()
| |
| 1284 | end | |
| 1285 | for i,v in pairs(game.Players:GetChildren()) do | |
| 1286 | if v.Character and v.Name ~= game.Players.LocalPlayer.Name then | |
| 1287 | local head = v.Character:findFirstChild("Head")
| |
| 1288 | if head then | |
| 1289 | if ((head.Position - ow.Position).magnitude < math.random(50,64)) then | |
| 1290 | v.CameraMode = "LockFirstPerson" | |
| 1291 | local bs1 = blindedsound:Clone() | |
| 1292 | bs1.Parent = head | |
| 1293 | bs1:Play() | |
| 1294 | local bs11 = blindedsound1:Clone() | |
| 1295 | bs11.Parent = head | |
| 1296 | bs11:Play() | |
| 1297 | local bs111 = blindedsound11:Clone() | |
| 1298 | bs111.Parent = head | |
| 1299 | bs111:Play() | |
| 1300 | local bs11111 = blindedsound111:Clone() | |
| 1301 | bs11111.Parent = head | |
| 1302 | bs11111:Play() | |
| 1303 | local bs1111 = blindedsound1111:Clone() | |
| 1304 | bs1111.Parent = head | |
| 1305 | bs1111:Play() | |
| 1306 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 1307 | function sandbox(var,func) | |
| 1308 | local env = getfenv(func) | |
| 1309 | local newenv = setmetatable({},{
| |
| 1310 | __index = function(self,k) | |
| 1311 | if k=="script" then | |
| 1312 | return var | |
| 1313 | else | |
| 1314 | return env[k] | |
| 1315 | end | |
| 1316 | end, | |
| 1317 | }) | |
| 1318 | setfenv(func,newenv) | |
| 1319 | return func | |
| 1320 | end | |
| 1321 | cors = {}
| |
| 1322 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 1323 | local Model0 = Instance.new("Model")
| |
| 1324 | local Part1 = Instance.new("Part")
| |
| 1325 | local Part2 = Instance.new("Part")
| |
| 1326 | local Weld3 = Instance.new("Weld")
| |
| 1327 | local Weld4 = Instance.new("Weld")
| |
| 1328 | local Weld5 = Instance.new("Weld")
| |
| 1329 | local Weld6 = Instance.new("Weld")
| |
| 1330 | local Weld7 = Instance.new("Weld")
| |
| 1331 | local Weld8 = Instance.new("Weld")
| |
| 1332 | local Part9 = Instance.new("Part")
| |
| 1333 | local Part10 = Instance.new("Part")
| |
| 1334 | local Part11 = Instance.new("Part")
| |
| 1335 | local Part12 = Instance.new("Part")
| |
| 1336 | Model0.Parent = mas | |
| 1337 | Part1.Parent = Model0 | |
| 1338 | Part1.Material = Enum.Material.Neon | |
| 1339 | Part1.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1340 | Part1.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1341 | Part1.Velocity = Vector3.new(0.00411429629, -0.0155075621, -0.00764747709) | |
| 1342 | Part1.CanCollide = false | |
| 1343 | Part1.Size = Vector3.new(0.78333354, 3.9166677, 3.9166677) | |
| 1344 | Part1.CFrame = CFrame.new(-1.42134643, 7.36401653, -0.278908014, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1345 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
| 1346 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
| 1347 | Part1.Position = Vector3.new(-1.42134643, 7.36401653, -0.278908014) | |
| 1348 | Part1.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1349 | Part2.Parent = Model0 | |
| 1350 | Part2.Material = Enum.Material.Neon | |
| 1351 | Part2.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1352 | Part2.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1353 | Part2.Velocity = Vector3.new(0.0390362106, -0.0155943036, -0.072574608) | |
| 1354 | Part2.CanCollide = false | |
| 1355 | Part2.Size = Vector3.new(3.9166677, 0.78333354, 3.9166677) | |
| 1356 | Part2.CFrame = CFrame.new(-0.0424690843, 5.79735136, 0.464832425, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1357 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
| 1358 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
| 1359 | Part2.Position = Vector3.new(-0.0424690843, 5.79735136, 0.464832425) | |
| 1360 | Part2.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1361 | Weld3.Parent = Part2 | |
| 1362 | Weld3.C0 = CFrame.new(0, 1.56666708, 1.56666708, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1363 | Weld3.Part0 = Part2 | |
| 1364 | Weld3.Part1 = Part12 | |
| 1365 | Weld4.Parent = Part2 | |
| 1366 | Weld4.C0 = CFrame.new(-1.56666708, 1.56666708, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1367 | Weld4.Part0 = Part2 | |
| 1368 | Weld4.Part1 = Part1 | |
| 1369 | Weld5.Parent = Part2 | |
| 1370 | Weld5.C0 = CFrame.new(1.56666708, 1.56666708, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1371 | Weld5.Part0 = Part2 | |
| 1372 | Weld5.Part1 = Part9 | |
| 1373 | Weld6.Parent = Part2 | |
| 1374 | Weld6.C0 = CFrame.new(0.39166677, 1.56666708, -1.56666708, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1375 | Weld6.Part0 = Part2 | |
| 1376 | Weld6.Part1 = Part10 | |
| 1377 | Weld7.Parent = Part2 | |
| 1378 | Weld7.C0 = CFrame.new(0, 3.9166677, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1379 | Weld7.Part0 = Part2 | |
| 1380 | Weld7.Part1 = Part11 | |
| 1381 | Weld8.Parent = Part2 | |
| 1382 | Weld8.C0 = CFrame.new(0, -1.56666696, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1383 | Weld8.Part1 = Part2 | |
| 1384 | Part9.Parent = Model0 | |
| 1385 | Part9.Material = Enum.Material.Neon | |
| 1386 | Part9.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1387 | Part9.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1388 | Part9.Velocity = Vector3.new(0.00411525369, -0.0154845472, -0.00764926523) | |
| 1389 | Part9.CanCollide = false | |
| 1390 | Part9.Size = Vector3.new(0.78333354, 3.9166677, 3.9166677) | |
| 1391 | Part9.CFrame = CFrame.new(1.33838439, 7.36401749, 1.20489419, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1392 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
| 1393 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
| 1394 | Part9.Position = Vector3.new(1.33838439, 7.36401749, 1.20489419) | |
| 1395 | Part9.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1396 | Part10.Parent = Model0 | |
| 1397 | Part10.Material = Enum.Material.Neon | |
| 1398 | Part10.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1399 | Part10.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1400 | Part10.Velocity = Vector3.new(0.00416051969, 0.058228761, -0.00773560256) | |
| 1401 | Part10.CanCollide = false | |
| 1402 | Part10.Size = Vector3.new(3.13333416, 3.9166677, 0.78333354) | |
| 1403 | Part10.CFrame = CFrame.new(1.04538584, 7.36192942, -0.731395841, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1404 | Part10.BottomSurface = Enum.SurfaceType.Smooth | |
| 1405 | Part10.TopSurface = Enum.SurfaceType.Smooth | |
| 1406 | Part10.Position = Vector3.new(1.04538584, 7.36192942, -0.731395841) | |
| 1407 | Part10.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1408 | Part11.Parent = Model0 | |
| 1409 | Part11.Material = Enum.Material.Neon | |
| 1410 | Part11.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1411 | Part11.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1412 | Part11.Velocity = Vector3.new(-0.0482673831, -0.0153486775, 0.0897410139) | |
| 1413 | Part11.CanCollide = false | |
| 1414 | Part11.Size = Vector3.new(3.9166677, 0.78333354, 3.9166677) | |
| 1415 | Part11.CFrame = CFrame.new(-0.0399989188, 9.71401596, 0.460234106, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1416 | Part11.BottomSurface = Enum.SurfaceType.Smooth | |
| 1417 | Part11.TopSurface = Enum.SurfaceType.Smooth | |
| 1418 | Part11.Position = Vector3.new(-0.0399989188, 9.71401596, 0.460234106) | |
| 1419 | Part11.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1420 | Part12.Parent = Model0 | |
| 1421 | Part12.Material = Enum.Material.Neon | |
| 1422 | Part12.Rotation = Vector3.new(-0.0899999961, -28.2699986, -0.0399999991) | |
| 1423 | Part12.RotVelocity = Vector3.new(0.0414423086, 6.61378124e-07, 0.0222902913) | |
| 1424 | Part12.Velocity = Vector3.new(0.00406914484, -0.0892179906, -0.00756134093) | |
| 1425 | Part12.CanCollide = false | |
| 1426 | Part12.Size = Vector3.new(3.9166677, 3.9166677, 0.78333354) | |
| 1427 | Part12.CFrame = CFrame.new(-0.783381462, 7.36610508, 1.84285736, 0.880764902, 0.000630680006, -0.47355336, 4.90961725e-07, 0.999999106, 0.0013327155, 0.473553777, -0.00117404154, 0.880764127) | |
| 1428 | Part12.BottomSurface = Enum.SurfaceType.Smooth | |
| 1429 | Part12.TopSurface = Enum.SurfaceType.Smooth | |
| 1430 | Part12.Position = Vector3.new(-0.783381462, 7.36610508, 1.84285736) | |
| 1431 | Part12.Orientation = Vector3.new(-0.0799999982, -28.2699986, 0) | |
| 1432 | for i,v in pairs(mas:GetChildren()) do | |
| 1433 | v.Parent = workspace | |
| 1434 | pcall(function() v:MakeJoints() end) | |
| 1435 | end | |
| 1436 | mas:Destroy() | |
| 1437 | for i,v in pairs(cors) do | |
| 1438 | spawn(function() | |
| 1439 | pcall(v) | |
| 1440 | end) | |
| 1441 | end | |
| 1442 | for q,w in pairs(Model0:GetChildren()) do | |
| 1443 | w.CanCollide = false | |
| 1444 | end | |
| 1445 | Part2.CFrame = head.CFrame | |
| 1446 | local weld = Instance.new("Weld", Part2)
| |
| 1447 | weld.Part0 = head | |
| 1448 | weld.Part1 = Part2 | |
| 1449 | weld.C0 = CFrame.new(0,-2,0) | |
| 1450 | local blindval = 0 | |
| 1451 | local candooo = true | |
| 1452 | local function doblind() | |
| 1453 | if candooo then | |
| 1454 | blindval = blindval + 1 | |
| 1455 | if blindval > 300 then | |
| 1456 | for q,w in pairs(Model0:GetChildren()) do | |
| 1457 | w.Transparency = w.Transparency + 0.005 | |
| 1458 | end | |
| 1459 | if blindval > 500 then | |
| 1460 | candooo = false | |
| 1461 | blindval = 0 | |
| 1462 | Model0:destroy() | |
| 1463 | bs1:destroy() | |
| 1464 | bs11:destroy() | |
| 1465 | bs111:destroy() | |
| 1466 | bs1111:destroy() | |
| 1467 | bs11111:destroy() | |
| 1468 | v.CameraMode = "Classic" | |
| 1469 | end | |
| 1470 | end | |
| 1471 | end | |
| 1472 | end | |
| 1473 | game:GetService("RunService").RenderStepped:connect(doblind)
| |
| 1474 | end | |
| 1475 | end | |
| 1476 | end | |
| 1477 | end | |
| 1478 | ow:destroy() | |
| 1479 | Part0:destroy() | |
| 1480 | wait(0.5) | |
| 1481 | canuse = true | |
| 1482 | end | |
| 1483 | end | |
| 1484 | mouse.Button1Down:connect(throw) | |
| 1485 | ||
| 1486 | Player = game:GetService("Players").LocalPlayer
| |
| 1487 | PlayerGui = Player.PlayerGui | |
| 1488 | Cam = workspace.CurrentCamera | |
| 1489 | Backpack = Player.Backpack | |
| 1490 | Character = Player.Character | |
| 1491 | Humanoid = Character.Humanoid | |
| 1492 | Mouse = Player:GetMouse() | |
| 1493 | RootPart = Character["HumanoidRootPart"] | |
| 1494 | Torso = Character["Torso"] | |
| 1495 | Head = Character["Head"] | |
| 1496 | RightArm = Character["Right Arm"] | |
| 1497 | LeftArm = Character["Left Arm"] | |
| 1498 | RightLeg = Character["Right Leg"] | |
| 1499 | LeftLeg = Character["Left Leg"] | |
| 1500 | RootJoint = RootPart["RootJoint"] | |
| 1501 | Neck = Torso["Neck"] | |
| 1502 | RightShoulder = Torso["Right Shoulder"] | |
| 1503 | LeftShoulder = Torso["Left Shoulder"] | |
| 1504 | RightHip = Torso["Right Hip"] | |
| 1505 | LeftHip = Torso["Left Hip"] | |
| 1506 | local sick = Instance.new("Sound",Character)
| |
| 1507 | sick.SoundId = "rbxassetid://531711813" | |
| 1508 | sick.Looped = true | |
| 1509 | sick.Pitch = 1 | |
| 1510 | sick.Volume = 1 | |
| 1511 | Head:ClearAllChildren() | |
| 1512 | ||
| 1513 | local tor = Instance.new("CharacterMesh")
| |
| 1514 | tor.Parent = Character | |
| 1515 | tor.Name = "Bones" | |
| 1516 | tor.BodyPart = "Torso" | |
| 1517 | tor.MeshId = "36780113" | |
| 1518 | tor.OverlayTextureId = "36780292" | |
| 1519 | ||
| 1520 | local tor = Instance.new("CharacterMesh")
| |
| 1521 | tor.Parent = Character | |
| 1522 | tor.Name = "Bones" | |
| 1523 | tor.BodyPart = "LeftLeg" | |
| 1524 | tor.MeshId = "36780079" | |
| 1525 | tor.OverlayTextureId = "36780292" | |
| 1526 | ||
| 1527 | local tor = Instance.new("CharacterMesh")
| |
| 1528 | tor.Parent = Character | |
| 1529 | tor.Name = "Bones" | |
| 1530 | tor.BodyPart = "RightLeg" | |
| 1531 | tor.MeshId = "36780195" | |
| 1532 | tor.OverlayTextureId = "36780292" | |
| 1533 | ||
| 1534 | local tor = Instance.new("CharacterMesh")
| |
| 1535 | tor.Parent = Character | |
| 1536 | tor.Name = "Bones" | |
| 1537 | tor.BodyPart = "RightArm" | |
| 1538 | tor.MeshId = "36780156" | |
| 1539 | tor.OverlayTextureId = "36780292" | |
| 1540 | ||
| 1541 | local tor = Instance.new("CharacterMesh")
| |
| 1542 | tor.Parent = Character | |
| 1543 | tor.Name = "Bones" | |
| 1544 | tor.BodyPart = "LeftArm" | |
| 1545 | tor.MeshId = "36780032" | |
| 1546 | tor.OverlayTextureId = "36780292" | |
| 1547 | ||
| 1548 | local tor = Instance.new("SpecialMesh")
| |
| 1549 | tor.Scale = Vector3.new(1,1,1) | |
| 1550 | tor.MeshType = "FileMesh" | |
| 1551 | tor.MeshId = "http://www.roblox.com/asset/?id=36869983" | |
| 1552 | tor.TextureId = "rbxassetid://36869975" | |
| 1553 | tor.Parent = Head | |
| 1554 | ||
| 1555 | --Mkay. Bye! | |
| 1556 | --Wazzup... | |
| 1557 | --Nop. Not the end. | |
| 1558 | ||
| 1559 | ||
| 1560 | ||
| 1561 | ||
| 1562 | ||
| 1563 | ||
| 1564 | ||
| 1565 | ||
| 1566 | ||
| 1567 | ||
| 1568 | ||
| 1569 | ||
| 1570 | ||
| 1571 | ||
| 1572 | --JUST FREACKING GO DOWN. YEET. | |
| 1573 | ||
| 1574 | ||
| 1575 | ||
| 1576 | ||
| 1577 | ||
| 1578 | ||
| 1579 | ||
| 1580 | ||
| 1581 | ||
| 1582 | ||
| 1583 | ||
| 1584 | ||
| 1585 | ||
| 1586 | ||
| 1587 | ||
| 1588 | ||
| 1589 | ||
| 1590 | ||
| 1591 | ||
| 1592 | ||
| 1593 | ||
| 1594 | ||
| 1595 | ||
| 1596 | ||
| 1597 | ||
| 1598 | ||
| 1599 | ||
| 1600 | ||
| 1601 | ||
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | ||
| 1606 | ||
| 1607 | ||
| 1608 | ||
| 1609 | ||
| 1610 | ||
| 1611 | ||
| 1612 | ||
| 1613 | ||
| 1614 | ||
| 1615 | ParticleSettings = {
| |
| 1616 | Lifetime = 1, | |
| 1617 | Texture = 'rbxassetid://1209757190', | |
| 1618 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
| 1619 | Color1 = ColorSequence.new(BrickColor.new('Pastel yellow').Color,BrickColor.new('Institutional white').Color),
| |
| 1620 | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('New Yeller').Color),
| |
| 1621 | AllBody = true, | |
| 1622 | UpperBodyOnly = false, | |
| 1623 | LowerBodyOnly = false, | |
| 1624 | Accessories = true, | |
| 1625 | Extras = true, | |
| 1626 | } | |
| 1627 | m = game:service'Players'.LocalPlayer:GetMouse() | |
| 1628 | local p=game:service("Players").LocalPlayer
| |
| 1629 | Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = false
| |
| 1630 | local char=p.Character | |
| 1631 | script.Parent=char | |
| 1632 | local tor=char.Torso | |
| 1633 | local hed=char.Head | |
| 1634 | local larm=char:FindFirstChild("Left Arm")
| |
| 1635 | local rarm=char:FindFirstChild("Right Arm")
| |
| 1636 | local lleg=char:FindFirstChild("Left Leg")
| |
| 1637 | local rleg=char:FindFirstChild("Right Leg")
| |
| 1638 | local hum=char.Humanoid | |
| 1639 | local cam=workspace.CurrentCamera | |
| 1640 | local root=char.HumanoidRootPart | |
| 1641 | local mouse=p:GetMouse() | |
| 1642 | local hb=game:service("RunService").Heartbeat
| |
| 1643 | local rs=game:service("RunService").Stepped
| |
| 1644 | hum.MaxHealth= math.huge | |
| 1645 | hum.Health=hum.MaxHealth | |
| 1646 | local hair4 = Instance.new("Part",char)
| |
| 1647 | hair4.Material="Neon" | |
| 1648 | hair4.CanCollide=false | |
| 1649 | hair4.Size=Vector3.new(.5,2,0) | |
| 1650 | hair4.BrickColor=BrickColor.Red() | |
| 1651 | hair4.Transparency=1 | |
| 1652 | ||
| 1653 | ||
| 1654 | ||
| 1655 | local w = Instance.new("Weld",hair4)
| |
| 1656 | w.Part1=hair4 | |
| 1657 | w.Part0=tor | |
| 1658 | w.C0=CFrame.new(-0.7,0,0.15) | |
| 1659 | ||
| 1660 | local hair3 = Instance.new("Part",char)
| |
| 1661 | hair3.Material="Neon" | |
| 1662 | hair3.CanCollide=false | |
| 1663 | hair3.Size=Vector3.new(.5,2,0) | |
| 1664 | hair3.BrickColor=BrickColor.Red() | |
| 1665 | hair3.Transparency=1 | |
| 1666 | ||
| 1667 | ||
| 1668 | ||
| 1669 | local w = Instance.new("Weld",hair3)
| |
| 1670 | w.Part1=hair3 | |
| 1671 | w.Part0=tor | |
| 1672 | w.C0=CFrame.new(0.7,0,0.15) | |
| 1673 | ----------------------------------------------------- | |
| 1674 | ---------------------------------------- | |
| 1675 | local bladee = Instance.new("ParticleEmitter",hair4)
| |
| 1676 | bladee.Texture = "http://www.roblox.com/asset/?id=298984512" | |
| 1677 | bladee.LightEmission = 0.625 | |
| 1678 | bladee.EmissionDirection = "Left" | |
| 1679 | bladee.LockedToPart = true | |
| 1680 | bladee.Color = ParticleSettings.Color2 | |
| 1681 | bladee.Rate = 100000 | |
| 1682 | bladee.Lifetime = NumberRange.new(.5) | |
| 1683 | bladee.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1684 | bladee.Speed = NumberRange.new(5) | |
| 1685 | bladee.Acceleration = Vector3.new(-30,40,0) | |
| 1686 | ||
| 1687 | local bladee3 = Instance.new("ParticleEmitter",hair3)
| |
| 1688 | bladee3.Texture = "http://www.roblox.com/asset/?id=298984512" | |
| 1689 | bladee3.LightEmission = 0.625 | |
| 1690 | bladee3.EmissionDirection = "Right" | |
| 1691 | bladee3.LockedToPart = true | |
| 1692 | bladee3.Color = ParticleSettings.Color2 | |
| 1693 | bladee3.Rate = 100000 | |
| 1694 | bladee3.Lifetime = NumberRange.new(.5) | |
| 1695 | bladee3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1696 | bladee3.Speed = NumberRange.new(5) | |
| 1697 | bladee3.Acceleration = Vector3.new(30,40,0) | |
| 1698 | m.KeyDown:connect(function(k) | |
| 1699 | if k == "e" then | |
| 1700 | if (hum ~= nil) then | |
| 1701 | hum.Sit = true | |
| 1702 | end | |
| 1703 | end | |
| 1704 | end) |