Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Me=game:GetService("Players").LocalPlayer.Character
- mode = false
- mouse = game:GetService("Players").LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key=="f" and mode==true then
- if mode == true then
- fd = Instance.new("Folder", Me)
- fd.Name = "fi"
- local p1 = Instance.new("Part",fd)
- p1.Anchored = true
- p1.Material="Neon"
- p1.BrickColor=BrickColor.Black()
- p1.CanCollide=false
- p1.CFrame=Me.Torso.CFrame*CFrame.new(0,0,-2)
- for i= 1,10 do
- p1.Size=Vector3.new(i,i,.5)
- wait(.02)
- p1:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid") then return end
- hit.Parent.Humanoid.Health = 0
- end)
- end
- end
- end
- end)
- wait()
- mouse.KeyUp:connect(function(key)
- if key=="f" then
- local pl=Me.fi.Part
- pl.Anchored = false
- local y = Instance.new("BodyVelocity",pl)
- y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- y.velocity = Me.Torso.CFrame.lookVector*80
- wait(3)
- fd:Destroy()
- pl:Destroy()
- end
- end)
- ------------------------------------------------------F KEY
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- local op=Me:GetChildren()
- for i,v in pairs(op)do
- if v:IsA "Folder" then
- if v.Name=="fi" then
- v:Destroy()
- end
- end
- end
- end
- end)
- --------------------------------------------------------q key
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- mode=true
- local bf=Instance.new("Folder",Me)
- bf.Name="Orbs"
- local bb1 = Instance.new("Part", bf)
- bb1.Name="bb1"
- bb1.Shape="Ball"
- bb1.BrickColor=BrickColor.Black()
- bb1.Material="Neon"
- bb1.Anchored=false
- bb1.Size=Vector3.new(1,1,4)
- --local bb1p=Instance.new("ParticleEmitter",bb1)
- bb1.CFrame=Me.Torso.CFrame*CFrame.new(.1,2,2)
- --bb1p.EmissionDirection=Enum.NormalId(Enum.NormalId.Bottom)
- -----------------------------------
- local bb2 = Instance.new("Part", bf)
- bb2.Name="bb2"
- bb2.Shape="Ball"
- bb2.BrickColor=BrickColor.Black()
- bb2.Material="Neon"
- bb2.Anchored=false
- bb2.Size=Vector3.new(1,1,2)
- --local bb2p=Instance.new("ParticleEmitter",bb2)
- bb2.CFrame=Me.Torso.CFrame*CFrame.new(3,1,1)
- --bb2p.EmissionDirection=Enum.NormalId(Enum.NormalId.Bottom)
- -----------------------------------
- local bb3 = Instance.new("Part", bf)
- bb3.Name="bb3"
- bb3.Shape="Ball"
- bb3.BrickColor=BrickColor.Black()
- bb3.Material="Neon"
- bb3.Anchored=false
- bb3.Size=Vector3.new(1,1,4)
- --local bb3p=Instance.new("ParticleEmitter",bb3)
- bb3.CFrame=Me.Torso.CFrame*CFrame.new(-3,1,1)
- --bb3p.EmissionDirection=Enum.NormalId(Enum.NormalId.Bottom)
- ------------------------------------
- local bb4 = Instance.new("Part", bf)
- bb4.Name="bb4"
- bb4.Shape="Ball"
- bb4.BrickColor=BrickColor.Black()
- bb4.Material="Neon"
- bb4.Anchored=false
- bb4.Size=Vector3.new(1,1,4)
- --local bb4p=Instance.new("ParticleEmitter",bb4)
- bb4.CFrame=Me.Torso.CFrame*CFrame.new(-3,1,1)
- --bb1.CFrame=Me.Torso.CFrame*CFrame.new(0,0,-2)
- local bb1w = function()
- local weld1=Instance.new("Weld",Me)
- weld1.Part0=Me.Torso
- weld1.Part1=bb1
- weld1.C0=CFrame.new()
- weld1.C1=CFrame.new(.1,-2,-2)
- end
- local bb2w = function()
- local weld1=Instance.new("Weld",Me)
- weld1.Part0=Me.Torso
- weld1.Part1=bb2
- weld1.C0=CFrame.new()
- weld1.C1=CFrame.new(1.5,-1,-2)
- end
- local bb3w = function()
- local weld1=Instance.new("Weld",Me)
- weld1.Part0=Me.Torso
- weld1.Part1=bb3
- weld1.C0=CFrame.new()
- weld1.C1=CFrame.new(-1.5,-1,-2)
- end
- local bb4w = function()
- local weld1=Instance.new("Weld",Me)
- weld1.Part0=Me.Torso
- weld1.Part1=bb4
- weld1.C0=CFrame.new()
- weld1.C1=CFrame.new(.1,.5,-2)
- end
- bb1w()
- bb2w()
- bb3w()
- bb4w()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "e" and mode == true then
- local zx=Me:GetChildren()
- for i,v in pairs(zx)do
- if v:IsA "Folder" then
- if v.Name == "Orbs" then
- v:Destroy()
- end
- end
- end
- mode=false
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "t" and mode == true then
- print("forming")
- local orbs2=Me.Orbs:GetChildren()
- for i= 1, 10 do
- local la=Me.Orbs:GetChildren()
- for i, v in pairs(la)do
- if v:IsA "Part" then
- if v.Name == "bb2" then
- local weldv = function()
- for i = -1, -2.7, -.1 do
- --for l = 1.5, .1, .1 do
- local weld = Instance.new("Weld",Me)
- weld.Part0=v
- weld.Part1=Me.Torso
- weld.C0=CFrame.new(.1,i,-2)wait(1)
- --end
- --weld.C1=CFrame.new()
- end
- --print(i)
- end
- weldv()
- end
- end
- end
- end
- end
- end)
- --[[game.Workspace:FindFirstChild()
- if v.Name=="bb2" then
- v.CFrame=v.CFrame
- *CFrame.new(.1,.5,.5)wait(.02)
- CFrame.new(.1,1,1)wait(.02)
- CFrame.new(.1,1,1)wait(.02)
- CFrame.new(.1,1.5,1.5)wait(.02)
- CFrame.new(.1,2,2)wait(.02)
- end]]
- --[[for i = 10, 1, .01 do
- print(i)
- wait(0.2)
- end]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement