Advertisement
BabyGoatz

Untitled

Oct 3rd, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. p = game.Players.LocalPlayer
  2. you = p.Character.Torso
  3. wait()
  4. local part=Instance.new("Part",workspace)
  5. part.Anchored=true
  6. part.Material = 'Neon'
  7. part.Size = Vector3.new(1,1,1)
  8. part.BrickColor = BrickColor.new("Really black")
  9. part.Material = "Neon"
  10. local bg = Instance.new("BillboardGui", part)
  11. bg.Adornee = tab
  12. bg.Size = UDim2.new(8, 0, 7.5, 0)
  13. bg.StudsOffset = Vector3.new(0, 3, 0)
  14. local img = Instance.new("ImageLabel", bg)
  15. img.Size = UDim2.new(1, 0, 1, 0)
  16. img.BackgroundTransparency = 1
  17. local text = Instance.new("TextLabel", bg)
  18. text.Size = UDim2.new(1, 0, 0.2, 0)
  19. text.FontSize = "Size28"
  20. text.BackgroundTransparency = 1
  21. text.Font = "ArialBold"
  22. text.TextColor3 = Color3.new(1,1,1)
  23. text.Text = "Hello, world!"
  24. local angle=0.01
  25. local speed=0.01
  26. local radius=10
  27. local function rot()
  28. if part then
  29. local x=math.cos(angle)*radius
  30. local y=0
  31. local z=math.sin(angle)*radius
  32. part.CFrame=CFrame.new(you.CFrame.p + Vector3.new(x,y,z)) * CFrame.Angles(math.rad(angle * 101),math.rad(angle * 101),math.rad(angle * 101))
  33. angle=angle+speed
  34. end
  35. end
  36. game:service'RunService'.Stepped:connect(function() rot() end)
  37. part.Touched:connect(function(p)
  38. p.Parent.Humanoid:takeDamage(100)
  39. end)
  40. p.Chatted:connect(function(msg)
  41. text.Text = msg
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement