Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ceat_ceat
- -- this is old lol
- if game:GetService("RunService"):IsClient() then
- warn("bro use h/ instead of hl/")
- return
- end
- local plr = owner
- function create(class, properties)
- local inst = Instance.new(class)
- for prop, value in pairs(properties) do
- inst[prop] = value
- end
- return inst
- end
- local tool = create("Tool", {
- Parent = plr:FindFirstChildWhichIsA("Backpack"),
- Name = "da chen"
- })
- local handle = create("Part", {
- Parent = tool,
- Name = "Handle",
- Size = Vector3.new(3, 3, 0.5),
- TopSurface = Enum.SurfaceType.Smooth,
- BottomSurface = Enum.SurfaceType.Smooth,
- CanCollide = false,
- Massless = true
- })
- local texture = create("Texture", {
- Parent = handle,
- Texture = "rbxassetid://6432575630",
- StudsPerTileU = 54,
- StudsPerTileV = 3,
- })
- create("TextLabel", {
- Parent = create("BillboardGui", {
- Parent = handle,
- LightInfluence = 0,
- Size = UDim2.new(5, 0,1, 0),
- StudsOffsetWorldSpace = Vector3.new(0, 4, 0)
- }),
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0,1, 0),
- Font = Enum.Font.Cartoon,
- Text = "chen on spinne da record",
- TextColor3 = Color3.new(1,1,1),
- TextScaled = true,
- TextStrokeTransparency = 0
- })
- local speed = {
- [false] = 3,
- [true] = -3
- }
- local direction = false
- local isactive = true
- local activated
- local tooldestroying
- local texdestroying
- activated = tool.Activated:Connect(function()
- direction = not direction
- end)
- tooldestroying = tool.Destroying:Connect(function()
- tooldestroying:Disconnect()
- texdestroying:Disconnect()
- isactive = true
- end)
- texdestroying = texture.Destroying:Connect(function()
- tooldestroying:Disconnect()
- texdestroying:Disconnect()
- isactive = true
- end)
- while isactive do
- wait(1/18)
- texture.OffsetStudsU = texture.OffsetStudsU + speed[direction]
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement