Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.1)
- game.Workspace.Terrain:ClearAllChildren()
- local model = Instance.new("Model",workspace.Terrain)
- local player = game.Players.LocalPlayer
- game.Players.LocalPlayer.Character:ClearAllChildren()
- nochar = Instance.new("Part",model)
- nochar.Anchored = true
- nochar.Name = ("FOrb |"..player.Name)
- nochar.Size = Vector3.new(2,2,2)
- nochar.Transparency = 0.25
- nochar.CanCollide = false
- nochar.BrickColor = BrickColor.Black()
- nochar.Locked = true
- nochar.Shape = "Ball"
- nochar.TopSurface = Enum.SurfaceType.Smooth
- nochar.BottomSurface = Enum.SurfaceType.Smooth
- local bill = Instance.new("BillboardGui",nochar)
- local text = Instance.new("TextLabel")
- text.BackgroundTransparency = 1
- text.Text = (game.Players.LocalPlayer.Name)
- text.Size = UDim2.new(1,0,1,0)
- text.FontSize = Enum.FontSize.Size24
- text.TextColor = BrickColor.White()
- text.Parent = bill
- bill.Size = UDim2.new(0,100,0,100)
- bill.StudsOffset = Vector3.new(0,2,0)
- bill.Adornee = nochar
- local target = nochar
- local camera = workspace.CurrentCamera
- camera.CameraType = Enum.CameraType.Follow
- wait(0.01)
- camera.CameraType = Enum.CameraType.Custom
- camera.CameraSubject = target
- local player = game.Players.LocalPlayer
- repeat wait() until game.Players.LocalPlayer
- local p = game.Players.LocalPlayer
- local m = p:GetMouse()
- local down = false
- math.randomseed(tick())
- m.KeyDown:connect(function(key)
- if key:lower() == "s" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z + 1)
- wait()
- until
- not down
- else
- if key:lower() == "w" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y,nochar.Position.Z - 1)
- wait()
- until
- not down
- else
- if key:lower() == "a" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X - 1,nochar.Position.Y,nochar.Position.Z)
- wait()
- until
- not down
- else
- if key:lower() == "d" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X + 1,nochar.Position.Y,nochar.Position.Z)
- wait()
- until
- not down
- else
- if key:lower() == "q" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y - 1,nochar.Position.Z)
- wait()
- until
- not down
- else
- if key:lower() == "e" then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y + 1,nochar.Position.Z)
- wait()
- until
- not down
- else
- if key:lower() == Enum.KeyCode.Space then
- down = not down
- repeat
- nochar.Position = Vector3.new(nochar.Position.X,nochar.Position.Y + 5,nochar.Position.Z)
- wait()
- until
- not down
- end end end end end end end
- end)
- Camera = camera
- local function getCFrame()
- return CFrame.new(Camera.CoordinateFrame.p,Camera.Focus.p)
- end
- local function getDirection()
- return getCFrame().lookVector
- end
- squid = nochar
- m.KeyUp:connect(function(key)
- if key:lower() == "s" and down then
- down = not down
- end
- if key:lower() == "w" and down then
- down = not down
- end
- if key:lower() == "a" and down then
- down = not down
- end
- if key:lower() == "d" and down then
- down = not down
- end
- if key:lower() == "q" and down then
- down = not down
- end
- if key:lower() == "e" and down then
- down = not down
- end
- if key:lower() == Enum.KeyCode.Space and down then
- down = not down
- end
- end)
- local handles = Instance.new("Handles",nochar)
- handles.Adornee = nochar
- handles.Style = Enum.HandlesStyle.Movement
- handles.Faces = Faces.new(Enum.NormalId.Front)
- player.Neutral = false
- player.Chatted:connect(function(msg)
- if msg == "red!" then
- nochar.BrickColor = BrickColor.Red()
- player.TeamColor = BrickColor.Red()
- else
- if msg == "blue!" then
- nochar.BrickColor = BrickColor.Blue()
- player.TeamColor = BrickColor.Blue()
- else
- if msg == "green!" then
- nochar.BrickColor = BrickColor.Green()
- player.TeamColor = BrickColor.Green()
- else
- if msg == "black!" then
- nochar.BrickColor = BrickColor.Black()
- player.TeamColor = BrickColor.Black()
- else
- if msg == "white!" then
- nochar.BrickColor = BrickColor.White()
- player.TeamColor = BrickColor.White()
- else
- if msg == "yellow!" then
- nochar.BrickColor = BrickColor.Yellow()
- player.TeamColor = BrickColor.Yellow()
- else
- if msg == "loadchar!" then
- player.Character:ClearAllChildren()
- player:LoadCharacter()
- script.Disabled = true
- else
- local cbill = Instance.new("BillboardGui",nochar)
- cbill.Size = UDim2.new(0,300,0,100)
- cbill.StudsOffset = Vector3.new(0,4,0)
- cbill.Adornee = nochar
- local ctext = Instance.new("TextLabel",cbill)
- ctext.BackgroundTransparency = 0.5
- ctext.Text = (msg)
- ctext.Size = UDim2.new(1,0,1,0)
- ctext.FontSize = Enum.FontSize.Size24
- ctext.TextColor = BrickColor.White()
- ctext.BackgroundColor = BrickColor.Black()
- ctext.Parent = cbill
- wait(0.01)
- if ctext.TextFits == false then
- ctext.FontSize = Enum.FontSize.Size18
- end
- wait(0.01)
- if ctext.TextFits == false then
- ctext.FontSize = Enum.FontSize.Size14
- end
- wait(0.1)
- if ctext.TextFits == false then
- ctext.FontSize = Enum.FontSize.Size12
- end
- wait(0.01)
- if ctext.TextFits == false then
- ctext.FontSize = Enum.FontSize.Size8
- end
- wait(0.01)
- wait(3)
- cbill:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end)
- local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- local plr = gui.Parent
- local box = Instance.new("TextBox",gui)
- box.Size = UDim2.new(00,300,0,50)
- box.Position = UDim2.new(0,300,0,0)
- local button = Instance.new("TextButton",gui)
- button.Size = UDim2.new(0,50,0,50)
- button.Position = UDim2.new(0,600,0,0)
- button.Text = "Go"
- button.MouseButton1Down:connect(function()
- text.Text = box.Text
- end)
- local hoomanarea = Instance.new("Model",model)
- local Player = Game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- i = 0
- Mouse.Button1Down:connect(function()
- if i ~= 1 then
- local v3 = Mouse.hit
- local lasor = Instance.new("Part",workspace)
- lasor.Size = Vector3.new(1,1,1)
- lasor.Transparency = 0
- lasor.CanCollide = false
- lasor.Anchored = true
- lasor.CFrame = v3
- lasor.CFrame = CFrame.new(lasor.Position.X, lasor.Position.Y,lasor.Position.Z)
- local select = Instance.new("SelectionBox",lasor)
- select.Adornee = lasor
- select.Color3 = Color3.new(1,0,0)
- local human = Instance.new("Humanoid",hoomanarea)
- local lasso = Instance.new("SelectionPartLasso",hoomanarea)
- lasso.Color3 = Color3.new(1,0,0)
- lasso.Humanoid = human
- lasso.Part = lasor
- print("Worked!")
- function onTouched(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = 0
- else
- hit.Parent = nil
- print("nilling")
- end
- end
- lasor.Touched:connect(onTouched)
- wait(1)
- lasor:Destroy()
- human:Destroy()
- i = 1
- end
- i = 0
- end)
- local p = Instance.new("Part",hoomanarea)
- p.Size = Vector3.new(1,1,1)
- p.Shape = "Ball"
- p.Transparency = nochar.Transparency
- p.TopSurface = nochar.TopSurface
- p.BottomSurface = nochar.BottomSurface
- p.CanCollide = false
- p.Name = "Torso"
- i = 0
- dist = 3
- spd = .1
- angle = 0
- p.Anchored = true
- local orbit = coroutine.create(function()
- while true do
- p.BrickColor = nochar.BrickColor
- i=i+1
- wait()
- p.CFrame = nochar.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*spd,0)*CFrame.new(0,0,dist)
- camera.CameraSubject = target
- game.Players.LocalPlayer.Character:ClearAllChildren()
- end
- end)
- coroutine.resume(orbit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement