Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer -- This is the person who runs the script << or the person playing the game if you are making a game
- Char = Player.Character -- This just gets your robloxian from your character
- angle = 0 --I will explain this one later
- --
- function block()
- --Block Made by EnchantedLegend
- x = Instance.new("Part",workspace)
- a = Instance.new("SelectionBox",x)
- a.Adornee = x
- x.SelectionBox.Color = BrickColor.new("Institutional white")
- x.BrickColor = BrickColor.new("Institutional white")
- x.Size = Vector3.new(1,1,1)
- x.Transparency = 0.1
- x.CanCollide = false -- so it wont push you
- x.TopSurface = "Smooth"
- x.BottomSurface = "Smooth"
- x.Material = "SmoothPlastic"
- x.Anchored = true
- b = Instance.new("BillboardGui",x)
- b.Size = UDim2.new(1.5,1,1)
- b.AlwaysOnTop = true
- b.Active = true
- t = Instance.new("TextLabel",b)
- t.Size = UDim2.new(2,2,1) -- added to the size some
- t.Text = "Hello amazing"
- b.ExtentsOffset = Vector3.new(-0.6,2,0) -- Made the y axis go up
- t.TextScaled = true -- Made the text look better
- t.TextColor3 = Color3.new(255,255,255)
- t.TextWrapped = false
- t.FontSize = Enum.FontSize.Size48
- t.BackgroundTransparency = 1
- game:GetService("RunService").RenderStepped:connect(function()
- x.CFrame = CFrame.new(Char.Head.Position) -- so the part is inside the head
- *CFrame.Angles(0,angle,0) -- this makes the block rotate around your head in a circle
- *CFrame.new(5,0,5) -- this makes the part away from your head
- angle = angle+math.rad(1) -- and this just adds to the angle so it can make a circle
- end)
- Char.Humanoid.Died:connect(function()
- x:Remove()
- end)
- end
- block()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement