Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tmodel = Instance.new("Model",game.Players.LocalPlayer.Character)
- function tab(tabmsg,action)
- if action == "none" then
- else
- action()
- end
- local part = Instance.new("Part",tmodel)
- local player = game.Players.LocalPlayer
- local character = player.Character
- local head = character:WaitForChild("Torso")
- local ttest = Instance.new("Part",tmodel)
- ttest.Anchored = true
- part.Size = Vector3.new(2,2,2)
- part.BrickColor = BrickColor.Random()
- part.Transparency = 1
- part.CanCollide = true
- part.Locked = true
- part.Anchored = true
- ttest.Size = Vector3.new(2,2,2)
- ttest.BrickColor = BrickColor.Random()
- ttest.Transparency = 0.75
- ttest.CanCollide = true
- ttest.Locked = true
- local i = 0
- local angle = 0
- local this = part
- local orbiting = head
- local dist = Vector3.new(0,0,12.5)
- local spd = 0.025
- local billgui = Instance.new("BillboardGui",part)
- local txt = Instance.new("TextLabel",billgui)
- txt.BackgroundTransparency = 1
- txt.Text = tabmsg
- txt.FontSize = Enum.FontSize.Size24
- txt.TextColor3 = Color3.new(128,128,128)
- txt.Size = UDim2.new(0,100,0,100)
- billgui.Size = UDim2.new(0,100,0,100)
- billgui.StudsOffset = Vector3.new(0,2,0)
- local clickd = Instance.new("ClickDetector",part)
- function onClicked(playerWhoClicked)
- if playerWhoClicked == player then
- part:Destroy()
- ttest:Destroy()
- end
- end
- clickd.MouseClick:connect(onClicked)
- while true do
- local randompos = math.random()
- angle = angle + 360
- i=i+1
- local x = this.Position.X
- local y = this.Position.Y
- local z = this.Position.Z
- ttest.CFrame = this.CFrame
- this.CFrame = orbiting.CFrame*CFrame.fromEulerAnglesXYZ(0,i*spd,0)*CFrame.new(dist)
- wait(0.0001)
- end end
- local player = game.Players.LocalPlayer
- function findPlayer(name)
- for _, player in pairs(game.Players:GetPlayers()) do
- if player.Name:lower() == name:lower() then
- return player
- end
- end
- end
- function credits()
- local tabcoro = coroutine.create(tab("This version was made by: TheFlamingBlaster","none"))
- coroutine.resume(tabcoro)
- end
- player.Chatted:connect(function(msg)
- if msg:sub(1, 5) == "!tmsg" then
- local tabmsg = (msg:sub(7))
- local tabcoro = coroutine.create(tab(tabmsg,"none"))
- coroutine.resume(tabcoro)
- end
- if msg:sub(1, 5) == "!cred" then
- local tabmsg = (msg:sub(7))
- local tabcoro = coroutine.create(tab("credits",credits))
- coroutine.resume(tabcoro)
- end
- if msg:sub(1, 3) == "!dt" then
- tmodel:ClearAllChildren()
- end
- if msg == "!afk" then
- local tabcoro = coroutine.create(tab("AFK","none"))
- coroutine.resume(tabcoro)
- local tabcoro1 = coroutine.create(tab("Also AFK","none"))
- coroutine.resume(tabcoro1)
- local tabcoro2 = coroutine.create(tab("Still AFK","none"))
- coroutine.resume(tabcoro2)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement