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=="e" and mode==false then
- mode=true
- local bf=Instance.new("Folder",Me)
- bf.Name="Orbs"
- wait()
- for i = 1,5 do
- local bb1 = Instance.new("Part", bf)
- bb1.Name=("bb"..i)
- bb1.Shape="Ball"
- bb1.BrickColor=BrickColor.Black()
- bb1.Material="Neon"
- bb1.Anchored=false
- bb1.Size=Vector3.new(1,1,4)
- end
- wait()
- local weld1 = function()
- local we = Instance.new("Weld",Me)
- we.Part0 = Me.Torso
- we.Part1 = Me.Orbs.bb1
- we.C0 = CFrame.new(0,1.5,2)
- we.C1 = CFrame.new(0,0,0)
- local we2 = Instance.new("Weld",Me)
- we2.Part0 = Me.Torso
- we2.Part1 = Me.Orbs.bb2
- we2.C0 = CFrame.new(1,-2,2)
- we2.C1 = CFrame.new(0,0,0)
- local we3 = Instance.new("Weld",Me)
- we3.Part0 = Me.Torso
- we3.Part1 = Me.Orbs.bb3
- we3.C0 = CFrame.new(-1,-2,2)
- we3.C1 = CFrame.new(0,0,0)
- local we4 = Instance.new("Weld",Me)
- we4.Part0 = Me.Torso
- we4.Part1 = Me.Orbs.bb4
- we4.C0 = CFrame.new(-2,.3,2)
- we4.C1 = CFrame.new(0,0,0)
- local we5 = Instance.new("Weld",Me)
- we5.Part0 = Me.Torso
- we5.Part1 = Me.Orbs.bb5
- we5.C0 = CFrame.new(2,.3,2)
- we5.C1 = CFrame.new(0,0,0)
- end
- weld1()
- wait()
- local j = Me.Orbs
- local bb1p = Instance.new("ParticleEmitter",j.bb1)
- bb1p.Rate = 50
- bb1p.Lifetime= NumberRange.new(.05)
- bb1p.Texture="rbxassetid://262008492"--rbxassetid://?id=local j = Me.Orbs
- local bb2p = Instance.new("ParticleEmitter",j.bb2)
- bb2p.Rate = 50
- bb2p.Lifetime= NumberRange.new(.05)
- bb2p.Texture="rbxassetid://262008492"--rbxassetid://?id=
- local j = Me.Orbs
- local bb3p = Instance.new("ParticleEmitter",j.bb3)
- bb3p.Rate = 50
- bb3p.Lifetime= NumberRange.new(.05)
- bb3p.Texture="rbxassetid://262008492"--rbxassetid://?id=
- local j = Me.Orbs
- local bb4p = Instance.new("ParticleEmitter",j.bb4)
- bb4p.Rate = 50
- bb4p.Lifetime= NumberRange.new(.05)
- bb4p.Texture="rbxassetid://262008492"--rbxassetid://?id=
- local j = Me.Orbs
- local bb5p = Instance.new("ParticleEmitter",j.bb5)
- bb5p.Rate = 50
- bb5p.Lifetime= NumberRange.new(.05)
- bb5p.Texture="rbxassetid://262008492"--rbxassetid://?id=
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key=="r" and mode==true then
- print(mouse)
- local bc = Instance.new("Part",Me.Orbs)
- bc.CanCollide = false
- bc.Shape = "Cylinder"
- bc.Material = "Neon"
- bc.BrickColor= BrickColor.Black()
- bc.Name="Portal"
- bc.Size = Vector3.new(0.5, 10, 10)
- local bcd=Instance.new("Decal",bc)
- bcd.Texture = "http://www.roblox.com/asset/?id=135352597"
- bcd.Face=Enum.NormalId.Right
- for i = 100,1,-1 do
- bc.CFrame=Me.Torso.CFrame *CFrame.new(0,2,-4) *CFrame.fromEulerAnglesXYZ(math.rad(i),1.68,math.rad(i))wait(.05)
- end
- local weld1 = function()
- local we = Instance.new("Weld",Me)
- we.Part0 = Me.Torso
- we.Part1 = Me.Orbs.Part
- we.C0 = CFrame.new(0,1.5,2)
- we.C1 = CFrame.new(0,0,0)
- end
- elseif mode == false then
- return nil
- end
- end)
- wait(.01)
- mouse.KeyDown:connect(function(key)
- if key=="f" and mode==true then
- mode = false
- Me.Orbs:Destroy()
- Me.Weld:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement