Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.All_HollowsEve
- local part = Instance.new("Part", workspace)
- part.Size = Vector3.new(2,2,2)
- part.Shape = "Ball"
- part.Anchored = true
- local target = game.workspace
- local player = game.workspace
- function hit(part)
- if part.Name ~= "Base" then
- part:Remove()
- end
- end
- spawn(function()
- while true do
- wait()
- if game.workspace:FindFirstChild(player) then
- part.CFrame = part.CFrame:lerp(target.CFrame,.08)
- part.Touched:connect(hit)
- else
- part.CFrame = part.CFrame:lerp(CFrame.new(30,30,30),.08)
- end
- end
- end)
- function chatted(msg)
- if msg:sub(1,5) == "targ?" then
- player = game.workspace:FindFirstChild(msg:sub(6))
- target = player.Torso
- end
- end
- Player.Chatted:connect(chatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement