Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --script based off "wait till its your magic number simulator".--
- player = owner
- backpack = player.Backpack
- --CREATE THE CARD--
- number = Instance.new("Tool")
- number.Parent = backpack
- number.GripPos = Vector3.new(0.03, 0, 0)
- number.GripForward = Vector3.new(-0.976, 0, -0.217)
- number.GripRight = Vector3.new(0.217, 0, -0.976)
- number.GripUp = Vector3.new(0, 2, 0)
- handle = Instance.new("Part")
- handle.Parent = number
- handle.Size = Vector3.new(0.1, 0.1, 0.1)
- handle.Anchored = false
- handle.CanCollide = false
- handle.Transparency = 0
- handle.Name = "Handle"
- mhandle = Instance.new("SpecialMesh")
- mhandle.Parent = handle
- mhandle.MeshId = "rbxassetid://2112332149"
- mhandle.Scale = Vector3.new(0.15, 0.1, 0.15)
- mhandle.Offset = Vector3.new(0, 0.5, 0)
- decal = Instance.new("Decal")
- decal.Parent = handle
- decal.Texture = "rbxassetid://3240803473"
- decal.Face = "Top"
- decal.Transparency = 0
- local sur = Instance.new("BillboardGui", handle)
- sur.Name = "Billboard"
- sur.Adornee = handle
- sur.Size = UDim2.new(10, 0, 5, 0)
- sur.StudsOffset = Vector3.new(0, 5, 0)
- local text = Instance.new("TextLabel", sur)
- text.Text = math.random(0, 100)
- text.Size = UDim2.new(1, 0, 1, 0)
- text.TextScaled = true
- text.BackgroundTransparency = 1
- text.Font = Enum.Font.SourceSansLight
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextStrokeTransparency = 0
- text.TextTransparency = 0
- number.Equipped:Connect(function()
- text.Text = math.random(0, 100)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement