SHOW:
|
|
- or go back to the newest paste.
| 1 | script.Name = "Darrenx7" | |
| 2 | Player = game.Players.LocalPlayer | |
| 3 | Character = Player.Character | |
| 4 | script.Parent = Character | |
| 5 | Mouse = Player:GetMouse() | |
| 6 | ||
| 7 | shaded = false | |
| 8 | ||
| 9 | ||
| 10 | function Weld(p0,p1,c0) | |
| 11 | local weld = Instance.new("Weld",p0)
| |
| 12 | weld.Part0 = p0 | |
| 13 | weld.Part1 = p1 | |
| 14 | weld.C0 = c0 or CFrame.new() | |
| 15 | return weld | |
| 16 | end | |
| 17 | ||
| 18 | Character.Torso.Changed:connect(function() | |
| 19 | if shaded then | |
| 20 | Character.Torso.CanCollide = false | |
| 21 | Character.Head.CanCollide = false | |
| 22 | end | |
| 23 | end) | |
| 24 | ||
| 25 | game:GetService('RunService').Stepped:connect(function()
| |
| 26 | if shaded then | |
| 27 | Character.Torso.CanCollide = false | |
| 28 | Character.Head.CanCollide = false | |
| 29 | end | |
| 30 | end) | |
| 31 | ||
| 32 | Torso = Character.Torso | |
| 33 | ||
| 34 | function Melt(rev) | |
| 35 | local Melsp = Instance.new("Part",Character)
| |
| 36 | Melsp.CanCollide = false | |
| 37 | Melsp.BrickColor = BrickColor.new("Really red")
| |
| 38 | local Melme = Instance.new("SpecialMesh",Melsp)
| |
| 39 | - | Melsp.BrickColor = BrickColor.new("Really black")
|
| 39 | + | |
| 40 | Melme.Scale = Vector3.new(20,40,20) | |
| 41 | Melsp.formFactor = 3 | |
| 42 | Melsp.Size = Vector3.new(0.2,0.2,0.2) | |
| 43 | Melsp.Position = Torso.Position | |
| 44 | local Melwe = Weld(Torso,Melsp) | |
| 45 | coroutine.resume(coroutine.create(function() | |
| 46 | if not rev then | |
| 47 | for i = 40,10,-3 do | |
| 48 | Melme.Scale = Vector3.new(20,i,20) | |
| 49 | wait() | |
| 50 | end | |
| 51 | else | |
| 52 | for i = 10,40,3 do | |
| 53 | Melme.Scale = Vector3.new(20,i,20) | |
| 54 | wait(0.001) | |
| 55 | end | |
| 56 | end | |
| 57 | end)) | |
| 58 | coroutine.resume(coroutine.create(function() | |
| 59 | if not rev then | |
| 60 | for i = -1,-5,-0.2 do | |
| 61 | Melwe.C0 = CFrame.new(0,i,0) | |
| 62 | wait() | |
| 63 | end | |
| 64 | else | |
| 65 | for i = -5,-1,0.2 do | |
| 66 | Melwe.C0 = CFrame.new(0,i,0) | |
| 67 | wait() | |
| 68 | end | |
| 69 | end | |
| 70 | Melsp:Destroy() | |
| 71 | end)) | |
| 72 | end | |
| 73 | ||
| 74 | function Invisible() | |
| 75 | Character.Head.face.Transparency = 1 | |
| 76 | for _,v in pairs(Character:children()) do | |
| 77 | if v:IsA("Part") then
| |
| 78 | v.Transparency = 1 | |
| 79 | v.CanCollide = false | |
| 80 | elseif v:IsA("Hat") then
| |
| 81 | v.Handle.Transparency = 1 | |
| 82 | end | |
| 83 | end | |
| 84 | end | |
| 85 | ||
| 86 | function Visible() | |
| 87 | Character.Head.face.Transparency = 0 | |
| 88 | for _,v in pairs(Character:children()) do | |
| 89 | if v:IsA("Part") then
| |
| 90 | v.Transparency = 0 | |
| 91 | elseif v:IsA("Hat") then
| |
| 92 | v.Handle.Transparency = 0 | |
| 93 | end | |
| 94 | end | |
| 95 | end | |
| 96 | ||
| 97 | ||
| 98 | function Part(parent,size) | |
| 99 | part = Instance.new("Part",parent)
| |
| 100 | part.formFactor = 3 | |
| 101 | part.Size = size | |
| 102 | return part | |
| 103 | end | |
| 104 | ||
| 105 | trailmod = Instance.new("Model",Character)
| |
| 106 | ||
| 107 | function Trail() | |
| 108 | for _,v in pairs(trailmod:children()) do | |
| 109 | pcall(function() | |
| 110 | if v.Mesh.Scale.x <= 0 then | |
| 111 | v:Destroy() | |
| 112 | else | |
| 113 | v.Mesh.Scale = v.Mesh.Scale + Vector3.new(-0.2,0,-0.2) | |
| 114 | end | |
| 115 | end) | |
| 116 | end | |
| 117 | ||
| 118 | local trail = Part(trailmod,Vector3.new(0.35,0.35,0.35)) | |
| 119 | trail.CanCollide = false | |
| 120 | trail.BrickColor = BrickColor.new("Bright red")
| |
| 121 | trail.Anchored = true | |
| 122 | - | trail.BrickColor = BrickColor.new("Really black")
|
| 122 | + | |
| 123 | trail.CFrame = Torso.CFrame*CFrame.new(0,-3,0) | |
| 124 | end | |
| 125 | ||
| 126 | Mouse.KeyDown:connect(function(k) | |
| 127 | k = k:lower() | |
| 128 | if k == "m" then | |
| 129 | if shaded then | |
| 130 | Melt(true) | |
| 131 | coroutine.resume(coroutine.create(function() wait(0.9) Visible() shaded = false end)) | |
| 132 | else | |
| 133 | shaded = true | |
| 134 | Invisible() | |
| 135 | Melt() | |
| 136 | Trail() | |
| 137 | end | |
| 138 | end | |
| 139 | end) | |
| 140 | ||
| 141 | Running = false | |
| 142 | ||
| 143 | Character.Humanoid.Running:connect(function(speed) | |
| 144 | if speed > 0 then | |
| 145 | Running = true | |
| 146 | coroutine.resume(coroutine.create(function() | |
| 147 | repeat | |
| 148 | if shaded then | |
| 149 | Trail() | |
| 150 | end | |
| 151 | wait(0.01) | |
| 152 | until Running == false | |
| 153 | end)) | |
| 154 | else | |
| 155 | Running = false | |
| 156 | end | |
| 157 | end) | |
| 158 | ||
| 159 | --mediafire gtfo password |