Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local vt = Vector3.new
- local cf = CFrame.new
- local cfA = CFrame.Angles
- local NewR = function(v1,v2)
- Ran = {
- NumberSequenceKeypoint.new(0,v1),
- NumberSequenceKeypoint.new(1,v2)
- }
- Final = NumberSequence.new(Ran)
- return Final
- end
- local NewR2 = function(v1, v1b,v2, v2b)
- Ran = {
- NumberSequenceKeypoint.new(0,v1b,v1),
- NumberSequenceKeypoint.new(1,v2b,v2)
- }
- Final = NumberSequence.new(Ran)
- return Final
- end
- local SmoothVis = function()
- Ran = {
- NumberSequenceKeypoint.new(0,1),
- NumberSequenceKeypoint.new(0.25, 0),
- NumberSequenceKeypoint.new(0.75, 0),
- NumberSequenceKeypoint.new(1,1)
- }
- Final = NumberSequence.new(Ran)
- return Final
- end
- local Tablets = {}
- local InnerCol = "Really black"
- local fol = Instance.new("Folder")
- local Servz = {
- Users = game:GetService("Players"),
- Lighting = game:GetService("Lighting"),
- Runz = game:GetService("RunService"),
- Deb = game:GetService("Debris")
- }
- local work = workspace
- fol.Parent = Servz.Users.PhoenixClockworks.Character
- local plr = Servz.Users.PhoenixClockworks
- local cha = Servz.Users.PhoenixClockworks.Character
- function tablet(Color, text, font)
- p = Instance.new("Part", fol)
- table.insert(Tablets, p)
- p.Material = "Neon"
- p.Color = InnerCol
- p.CanCollide = false
- p.Position = cha.Head.Position
- p.Shape = "Ball
- p.Size = vt(2.5,2.5,2.5)
- p2 = p:Clone
- p2.Parent = p
- p2.Size = vt(2.55,2.55,2.55)
- p2.Material = "Glass"
- p2.Color = Color
- p2.Transparency = 0.75
- p3 = p2:Clone()
- p3.Parent = p
- p.Anchored = True
- p3.Material = "ForceField"
- p3.Size = vt(2.56,2.56,2.56)
- Wel = Instance.new("Weld", p)
- Wel2 = Wel:Clone()
- Wel2.Parent = p
- Wel.Part0 = p
- Wel.Part1 = p2
- Wel.C0 = CFrame.new(0,0,0)
- Wel2.Part0 = p
- Wel2.Part1 = p3
- Wel2.C0 = CFrame.new(0,0,0)
- G = Instance.new("BillboardGui", p)
- G.StudsOffset = vt(0,2,0)
- GL = Instance.new("TextLabel", G)
- G.LightInfluence = 0
- GL.Font = Font
- GL.Size = UDim2.new(1,0,1,0)
- GL.BackgroundTransparency = 1
- GL.TextStrokeTransparency = 0
- GL.TextStrokeColor3 = Color
- GL.TextColor3 = InnerCol
- GL.TextScaled = true
- GL.Text = text
- Servz.Deb:AddItem(p, 30)
- end
- Rotation = 3
- RotationAddValue = 0.0009
- ROT=function() --OH LOL worst mistake xD Do you have tab table? Yup I just fixed it
- game['Run Service'].Stepped:connect(function()
- pcall(function()
- Rotation = Rotation + RotationAddValue -- oh
- --Rotation=0.0002
- local AllTabs = {}
- for _,tab in pairs(Tablets) do
- table.insert(AllTabs,tab)
- end
- for i = 1, #AllTabs do
- if plr.Character ~= nil then
- local Position =plr.Character.HumanoidRootPart.CFrame.p
- local Radius =(#AllTabs * 0.4) + 4
- local M = (i /#AllTabs - (0.4 / #AllTabs) * Rotation * 9) * math.pi * (4/2)
- local X =math.sin(M) * Radius
- local Y =math.sin(i + tick())
- local Z =math.cos(M) * Radius
- local A =Vector3.new(X, Y, Z) + Position
- local B =AllTabs[i].CFrame.p
- local C = A *0.1 + B * 0.9
- local Cube_Rotation = (Rotation * 90)
- local D =CFrame.Angles(Cube_Rotation, Cube_Rotation, Cube_Rotation)
- AllTabs[i].CFrame = CFrame.new(C, Position) * D
- end
- end
- end)
- end)
- end
- ROT()
- Test = function()
- for i = 1,5 do
- tablet(BrickColor.random().Color, "Testing", "Arcade")
- wait(0.5)
- end
- end
- Test()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement