Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = {}
- table.insert(p, game.Players['Derek1017'])
- p = p[(1/(100-99))] -- dont judge. mk
- print(p.Name) -- to check my mathz
- -- kawaii nametag
- redify = function( model )
- for _,v in pairs(model:children()) do
- if v:IsA('Part') then
- v.BrickColor = BrickColor.new('Bright red')
- v.Transparency = 0.8
- else
- redify(v)
- end
- end
- end
- function initialRender()
- local block = Instance.new('Part', workspace)
- block.FormFactor = 'Custom'
- block.Size = Vector3.new(2,2,2)
- block.Transparency = 0.6
- block.BrickColor = BrickColor.new('Bright red')
- block.Material = 'Ice'
- block.CanCollide = false
- block.Anchored = true -- we don't need roblox physics messing stuff up
- block.Name = 'BLOXXY'
- sp = Instance.new('Sparkles', block)
- sp.Color = Color3.new(BrickColor.new)
- block.Touched:connect(function( part )
- if part.Parent:IsA('Model') then
- redify(part.Parent)
- else
- part.BrickColor = BrickColor.new('Bright red')
- part.Transparency = 0.8
- end
- end)
- local gui = Instance.new('BillboardGui', block)
- gui.Adornee = block
- gui.Size = UDim2.new(10,0,10,0)
- gui.StudsOffset = Vector3.new(0,3,0)
- lbl = Instance.new('TextLabel', gui)
- lbl.Size = UDim2.new(1,0,1,0)
- lbl.Text = p.Name
- lbl.BackgroundTransparency = 1
- lbl.FontSize = 'Size24'
- lbl.TextStrokeTransparency = 0
- lbl.TextColor3 = Color3.new(242/255, 96/255, 92/255)
- lbl.TextStrokeColor3 = Color3.new(0,0,0)
- return block
- end
- ourBlock = initialRender''
- ourBlock.Position = Vector3.new(p.Character.Head.Position.X, p.Character.Head.Position.Y + 4, p.Character.Head.Position.Z)
- function rotate()
- ourBlock.Rotation = Vector3.new(ourBlock.Rotation.X+1, ourBlock.Rotation.X,90)
- end
- game:service('RunService').Stepped:connect(rotate)
- coroutine.wrap(function()
- while true do
- for i=1, 150 do
- ourBlock.Position = Vector3.new(p.Character.Head.Position.X, ourBlock.Position.Y + 0.01, p.Character.Head.Position.Z)
- wait()
- end
- wait()
- for i=1, 150 do
- ourBlock.Position = Vector3.new(p.Character.Head.Position.X, ourBlock.Position.Y - 0.01, p.Character.Head.Position.Z)
- wait()
- end
- ourBlock.Position = Vector3.new(p.Character.Head.Position.X, p.Character.Head.Position.Y + 4, p.Character.Head.Position.Z)
- end
- end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement