Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService("Players").LocalPlayer
- repeat
- wait()
- until player.Character
- local char = player.Character
- local torso = char:WaitForChild("Torso")
- local mouse = player:GetMouse()
- local color = BrickColor.new("Really black")
- local material = "Neon"
- local trans = 0.5
- local debounce = false
- for u,c in pairs(player.Character:GetChildren()) do
- if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then
- c.Handle.BrickColor = BrickColor.new("Really black")
- c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
- end
- end
- blast = function()
- local b = Instance.new("Part", workspace)
- game.Debris:AddItem(b, 2)
- b.Size = Vector3.new(5, 5, 5)
- b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.CanCollide = false
- b.BrickColor = color
- b.Transparency = trans
- b.Material = material
- local v = Instance.new("BodyVelocity", b)
- v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- v.Velocity = torso.CFrame.lookVector * 50
- r = Instance.new("BodyAngularVelocity", b)
- r.AngularVelocity = Vector3.new(25, 25, 25)
- b.Touched:connect(function(hit)
- p = hit.Parent
- if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
- b:Remove()
- p.Humanoid:TakeDamage(35)
- end
- end
- )
- end
- death = function()
- local b = Instance.new("Part", workspace)
- game.Debris:AddItem(b, 2)
- b.Size = Vector3.new(5, 5, 5)
- b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.CanCollide = false
- b.BrickColor = color
- b.Transparency = trans
- b.Material = material
- local v = Instance.new("BodyVelocity", b)
- v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- v.Velocity = torso.CFrame.lookVector * 50
- r = Instance.new("BodyAngularVelocity", b)
- r.AngularVelocity = Vector3.new(25, 25, 25)
- b.Touched:connect(function(hit)
- p = hit
- if p and p.Name ~= "Base" and p.Name ~= player.Name then
- p:Remove()
- end
- end
- )
- end
- wall = function()
- local b = Instance.new("Part", workspace)
- game.Debris:AddItem(b, 5)
- b.Size = Vector3.new(1, 1, 1)
- b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.CanCollide = false
- b.Anchored = true
- b.BrickColor = color
- b.Transparency = trans
- b.Material = material
- for i = 1, 50 do
- wait()
- b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
- b.Size = b.Size + Vector3.new(0.5, 0.5, 0)
- end
- b.CanCollide = true
- b.Touched:connect(function(hit)
- p = hit.Parent
- if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
- p.Humanoid:TakeDamage(5)
- end
- end
- )
- end
- fade = function()
- for i,v in pairs(char:GetChildren()) do
- if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0.5
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v.className == "Hat" then
- v.Handle.Transparency = 0.5
- end
- end
- end
- unfade = function()
- for i,v in pairs(char:GetChildren()) do
- if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- end
- for i,v in pairs(char:GetChildren()) do
- if v.className == "Hat" then
- v.Handle.Transparency = 0
- end
- end
- end
- dash = function(x)
- b = Instance.new("Part", workspace)
- game.Debris:AddItem(b, 0.7)
- b.Size = Vector3.new(3, 3, 3)
- b.BrickColor = color
- b.Material = material
- b.CanCollide = false
- b.CFrame = torso.CFrame * x
- t = Instance.new("BodyVelocity", b)
- r = Instance.new("BodyAngularVelocity", b)
- r.AngularVelocity = Vector3.new(15, 15, 15)
- for i = 1, 5 do
- wait()
- b.Transparency = b.Transparency + 0.1
- torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1)
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "v" then
- holding = true
- fade()
- while holding and wait(0.01) do
- dash(CFrame.new(2, 1, 0))
- dash(CFrame.new(-2, -1, 1))
- dash(CFrame.new(0, 1, 3))
- end
- end
- end
- )
- mouse.KeyUp:connect(function(key)
- if key == "v" then
- unfade()
- holding = false
- end
- end
- )
- mouse.KeyDown:connect(function(key)
- if key == "e" and debounce == false then
- debounce = true
- blast()
- wait(0.5)
- debounce = false
- end
- end
- )
- mouse.KeyDown:connect(function(key)
- if key == "q" and debounce == false then
- debounce = true
- wall()
- wait(0.5)
- debounce = false
- end
- end
- )
- mouse.KeyDown:connect(function(key)
- if key == "t" and debounce == false then
- debounce = true
- death()
- wait(0.5)
- debounce = false
- end
- end
- )
- -- params : ...
- Model = Instance.new("Model", game.Workspace)
- Model.Name = "ShadowFigs"
- Model.ChildAdded:connect(function(Child)
- wait(0.2)
- if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then
- local Light = Instance.new("PointLight", Child.Torso)
- Light.Color = Color3.new(1, 1, 1)
- Light.Range = 10
- Light.Brightness = 2
- Light.Shadows = true
- for t = 1, 5 do
- wait(0.1)
- for i = 1, #Child:GetChildren() do
- Child:GetChildren()[i].Transparency = t / 10 + 0.5
- end
- end
- Child:remove()
- end
- end
- )
- Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"}
- repeat
- wait()
- until game.Players.LocalPlayer
- Plr = game.Players.LocalPlayer
- PlrChildren = Plr:GetChildren()
- Plr.Character.Humanoid.WalkSpeed = 32
- for i = 1, #PlrChildren do
- print(PlrChildren[i])
- end
- do
- while 1 do
- Posit = Plr.Character.HumanoidRootPart.Position
- wait(0.1)
- if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then
- Set = Instance.new("Model", game.Workspace.ShadowFigs)
- Set.Name = "ShadowClone"
- for i = 1, #Parts do
- PartClone = Plr.Character[Parts[i]]:Clone()
- RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X)
- RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y)
- RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z)
- PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ)
- PartClone.Parent = Set
- PartClone.Anchored = true
- PartClone.CanCollide = false
- PartClone.Transparency = 0.7
- PartClone.Material = "Neon"
- PartClone.BrickColor = BrickColor.new("Really black")
- if PartClone.Name == "Head" or PartClone.Name == "Torso" then
- Children = PartClone:GetChildren()
- for i = 1, #Children do
- if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then
- Children[i]:remove()
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement