Advertisement
DrawingJhon

Ya

Jan 27th, 2022
1,011
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Creating panel's objects
  2. local base = Instance.new("Part", workspace)
  3. base.CanCollide = false
  4. base.TopSurface = "Smooth"
  5. base.BottomSurface = "Smooth"
  6. base.Material = "ForceField"
  7. base.Color = Color3.fromRGB(0, 40, 150)
  8. base.Size = Vector3.new(9, 5, 0.5)
  9. base.Position = Vector3.new(0, 10, 0)
  10. base.Massless = true
  11. local surface = Instance.new("SurfaceGui", base)
  12. surface.Face = "Front"
  13. local mainFrame = Instance.new("Frame", surface)
  14. mainFrame.Size = UDim2.new(1, 0, 1, 0)
  15. mainFrame.BorderSizePixel = 0
  16. mainFrame.BackgroundColor3 = Color3.fromRGB(0, 20, 140)
  17. local weld = Instance.new("Weld", base)
  18. weld.Part1 = owner.Character.HumanoidRootPart
  19. weld.Part0 = base
  20. weld.C1 = CFrame.new(0, 1.5, -4) * CFrame.Angles(0, math.rad(180), 0)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement